ARTICLE
How to Fix Slow Largest Contentful Paint (LCP)
Where slow LCP comes from, how to identify the offending element, and the five fixes that resolve LCP problems on real sites — in priority order.
May 7, 20267 min readPERFORMANCE & TECHNICAL SEO
LCP is one image away from passing or failing
Largest Contentful Paint measures how long the biggest visible element above the fold takes to render. The threshold:
- Pass: ≤ 2.5s
- Needs improvement: 2.5–4.0s
- Fail: > 4.0s
For most sites, the LCP element is one of three things — a hero image, a hero text block, or a hero video — and one specific fix moves the score across the threshold. This post is the priority order for diagnosing and fixing LCP.
Step 1: Identify the LCP candidate
The Page Speed Grader reports the actual element flagged as the LCP candidate. The report names it directly: <img class="hero-image">, <h1>, or <div class="hero-video-container">.
Three categories of LCP element, each with a different fix:
| Element type | Common cause | Fix priority |
|---|---|---|
| Hero image | Slow image load | Image optimization |
| Hero text (H1/large p) | Render-blocking font or slow TTFB | Font loading or server response |
| Hero video | Video poster image too large | Use a small poster image |
If the LCP is over 2.5s and the candidate is something else (a footer image, a deeply-nested div), something is genuinely wrong with the page render order. That's a deeper investigation — start by checking that the hero element is in the initial HTML, not injected by JavaScript.
Step 2: The five fixes in priority order
Fix 1: Image format and size
If the LCP candidate is an image, the fastest fix is image optimization.
Convert to WebP or AVIF. WebP is roughly 60-80% smaller than equivalent-quality JPEG. AVIF is even smaller (roughly 80% smaller than JPEG) but has slightly worse browser support — use the <picture> element with both:
<picture>
<source srcset
Keep reading
How to Fix Cumulative Layout Shift (CLS > 0.1)
What causes CLS, how to find the offending element, and the four fixes that resolve 95% of layout-shift problems on real sites.
Core Web Vitals for Non-Technical Clients
How to explain Core Web Vitals to clients who don't speak tech. Plain-English translations of LCP, FID, CLS, and why they matter for business.
How to Read a Page Speed Score (Without Being a Developer)
What every field in a Page Speed Grader report actually means, where the thresholds come from, and which numbers to fix first when you can only fix one.