Performance glossaryLargest Contentful Paint (LCP) is the Core Web Vital for loading: how long the largest image or text block in view takes to appear. Good is 2.5 seconds or less.
Largest Contentful Paint (LCP) marks the moment the biggest piece of content in the visible part of the page finishes rendering. That is usually the hero image, a featured image, or the main headline or opening paragraph. It is the Core Web Vital for loading, chosen because the largest element appearing is a good sign that the page's main content has arrived.
What counts as the LCP element
<img>elements, and<image>elements inside an SVG;<video>elements, timed by the poster image or the first frame, whichever appears first;- elements with a CSS background image loaded through
url(); - block-level elements containing text, such as headings and paragraphs.
Only the part inside the viewport counts, so the LCP element is often different on mobile and desktop. The browser updates its candidate as larger elements render, and stops once the visitor interacts with the page.
Thresholds
Good LCP is 2.5 seconds or less, and over 4 seconds is poor, measured at the 75th percentile of real page loads, separately for mobile and desktop.
Where the time goes
Google breaks LCP into four parts, which makes it easier to see what to fix:
- Time to First Byte: until the HTML starts arriving.
- Resource load delay: from then until the browser starts downloading the LCP image.
- Resource load duration: how long the image takes to download.
- Element render delay: from the end of the download until the element actually appears.
When the LCP element is text, only the first and last parts apply.
How to improve LCP on a WordPress site
- Speed up the HTML. Use page caching and solid hosting, since a slow server delays everything after it. A CDN that caches HTML helps visitors far from the server.
- Make the LCP image discoverable early. An image in the HTML is found immediately; one set as a CSS background, or inserted by a slider script, is found late. If it has to be a background, preload it.
- Do not lazy-load it.
loading="lazy"on the hero image delays it. Recent WordPress versions skip lazy-loading for the image most likely to be the LCP element and addfetchpriority="high"to it, but themes and page builders can override this. - Make the image smaller. Serve it at its displayed size using the
srcsetsizes WordPress generates, in WebP or AVIF, and compress it. - Remove render-blocking resources. Large CSS files and synchronous scripts in the head delay rendering even after the image has arrived.
- Load fonts efficiently when the LCP element is text, so the headline is not held back waiting for a web font.
For a detailed walkthrough, see how to reduce Largest Contentful Paint.
How to measure it
PageSpeed Insights shows field LCP from the Chrome UX Report and lab LCP from Lighthouse, and identifies the LCP element. In Chrome DevTools, the Performance panel shows LCP live and highlights the element.
Source: web.dev: Largest Contentful Paint.