Home › Blog › How to Fix a Slow Largest Contentful Paint (LCP)
How to Fix a Slow Largest Contentful Paint (LCP)
Largest Contentful Paint, or LCP, measures how long it takes for the biggest visible item, usually the main image or heading, to appear. Google considers 2.5 seconds or less a good result.
Find your LCP element
Run a speed test and look for the LCP element in the report. On many pages it is the large image at the top. Knowing the element tells you what to fix.
Fix 1: optimise the main image
Resize it, compress it and use WebP. Do not lazy load this image, because it must load first. You can also tell the browser to load it early with a preload hint.
Fix 2: speed up the server
Use a fast host with a CDN so files come from a server near the visitor. Static hosting such as Cloudflare Pages is usually quick.
Fix 3: remove render-blocking files
Large CSS files and scripts in the head can delay the first paint. Inline the small important CSS, and load other scripts with defer or after the page appears.
Fix 4: simplify fonts
Use fewer fonts and set font display to swap so text shows immediately in a fallback font.
Test again
Change one thing at a time and test on mobile. Real user data in Search Console's Core Web Vitals report can take weeks to update.
Frequently asked questions
What is a good LCP score?
2.5 seconds or less is good. Between 2.5 and 4 seconds needs improvement, and above 4 seconds is poor.
Does LCP affect SEO?
It is part of the page experience signals, but relevant content matters more. A fast page also keeps visitors from leaving.
Related articles
- Core Web Vitals Explained in Simple Words
- How to Compress Images for Your Website Without Losing Quality
- How to Fix Cumulative Layout Shift (CLS) on Your Website
- HTTPS and SSL: Why Your Website Needs the Padlock
- How to Host a Website for Free on Cloudflare Pages
- Mobile-Friendly Website Checklist: 10 Things to Check Today
Free tools: Free website checker in Urdu · Free website speed test · Free SEO checker in Roman Urdu
Check my website free