How to Fix a Slow Largest Contentful Paint
Get the biggest visible element rendering within 2.5 seconds.
Largest Contentful Paint measures how long the biggest visible element takes to render — usually a hero image or headline. A good score is 2.5 seconds or less at the 75th percentile of real visits. The two usual causes are a slow server response and a hero image that is oversized, lazy-loaded, or discovered late.
Why It Matters
LCP is a Core Web Vital, graded on field data from real Chrome users rather than a lab run. It is also the metric that corresponds most directly to "the page felt slow".
How to Fix
Identify the LCP element
Never lazy-load it
Preload it
Reduce its size and fix TTFB
Code Fix
html<img src="/hero.jpg" loading="lazy" alt="…"><link rel="preload" as="image" href="/hero.avif" fetchpriority="high">
<img src="/hero.avif" fetchpriority="high" width="1200" height="630" alt="…">Platform-Specific Instructions
Some optimisation plugins lazy-load every image including the hero. Exclude above-the-fold images explicitly.
Set priority on the next/image that is the LCP element; it adds both the preload and fetchpriority.
Fixed that one.
Now find the rest.
A free audit ranks every issue on your site by the score points it costs — and links each one straight to its guide.
Run a free audit