LCP (Largest Contentful Paint)
Largest Contentful Paint (LCP) measures how long it takes for the largest image or text block in the viewport to appear after a user starts loading a page. A good LCP is 2.5 seconds or less for at least 75% of visits.
Largest Contentful Paint is the Core Web Vital for loading speed. It marks the moment the biggest visible element in the first screen has rendered. That element is usually a hero image, a featured article image, a video poster or a large heading or paragraph. The idea is simple: once the largest piece of content is there, the user feels the page has loaded.
Thresholds. Good is 2.5 seconds or less, needs improvement is up to 4 seconds, and poor is anything above 4 seconds. Google measures this at the 75th percentile of real visits, separately for mobile and desktop.
The four parts of LCP. It helps to split the time into phases, because each one has its own fixes:
- Time to First Byte (TTFB): how long the server takes to start sending HTML.
- Resource load delay: the time between the first byte and the moment the browser starts downloading the LCP resource, such as the hero image.
- Resource load duration: how long that download takes.
- Element render delay: the time between the download finishing and the element actually appearing on screen.
When the LCP element is text, only the first and last phases apply.
Typical fixes:
- Speed up the server with caching, a CDN and lighter backend work, so TTFB drops.
- Make the LCP image discoverable in the HTML. If it is loaded via CSS backgrounds or JavaScript, the browser finds it late.
- Never lazy-load the LCP image. Lazy loading is for images below the fold.
- Add fetchpriority="high" to the LCP image so the browser downloads it early.
- Serve images in modern formats such as WebP or AVIF and at the size they are displayed, using srcset for different screens.
- Reduce render-blocking CSS and JavaScript, and avoid hiding content until a script has run, as some A/B testing and consent tools do.
- Preload important web fonts when the LCP element is text.
Finding the LCP element. PageSpeed Insights and the Performance panel in Chrome DevTools both show which element counts as LCP. It can differ between mobile and desktop, and between templates, so check the most important page types separately: homepage, category, article and product pages.
Common mistakes. A cookie banner can become the LCP element on mobile if it is the largest block on screen. Sliders and carousels on the homepage often delay LCP because the first slide is loaded by a script. Large uncompressed images uploaded straight from a camera or design tool remain one of the most frequent causes of slow LCP on content sites.
For publishers, LCP is usually driven by the featured image of an article and by ad scripts competing for bandwidth. Getting this right helps both rankings and the experience of every reader who arrives from search.
Questions about LCP (Largest Contentful Paint)
What is a good LCP score?
2.5 seconds or less at the 75th percentile of real visits. Between 2.5 and 4 seconds needs improvement, and above 4 seconds is poor.
What counts as the LCP element?
The largest image, video poster or text block visible in the viewport during loading. Tools such as PageSpeed Insights and Chrome DevTools show which element it is for a given page.
Should I lazy-load my hero image?
No. Lazy-loading the LCP image delays it. Load it normally, ideally with fetchpriority set to high, and lazy-load only images further down the page.