Largest Contentful Paint (LCP): What It Is and How to Fix It

Make the biggest visible element on your page load in under 2.5 seconds.

What it means

Largest Contentful Paint (LCP) measures how long the largest element in the first screen of a page, usually a hero image, a video poster or the main headline, takes to appear. It is one of Google's three Core Web Vitals, alongside Interaction to Next Paint (INP) and Cumulative Layout Shift (CLS).

Why it matters

LCP is the moment a visitor sees that the page has really loaded. Until then they are looking at a blank or half-built screen, and many leave before your offer appears. Google also uses Core Web Vitals as a ranking signal, so a slow LCP can cost you both the visit and the position.

How to fix it

  1. Find the exact element. Run the page through PageSpeed Insights and open the Largest Contentful Paint element audit, which names it. On most sites it is the hero image or the main heading, and it is often a different element on mobile than on desktop.
  2. Find which part of LCP is slow. The LCP breakdown in PageSpeed Insights, or the Performance panel in Chrome DevTools, splits the time into server response, load delay, load time and render delay (explained below). Fix the part that is actually slow instead of guessing.
  3. If the server is slow (Time to First Byte above about 0.8 seconds), turn on full-page caching at your host or a CDN, and remove the plugins, redirects or database queries that run before the HTML is sent.
  4. Make the LCP image easy to find. Use a normal <img> tag in the HTML rather than a CSS background or an image added by JavaScript, remove loading="lazy" from it, and add fetchpriority="high" so the browser downloads it first.
  5. If the image can only be found late, for example in a CSS file or on another domain, add <link rel="preload" as="image"> for it in the page head so the download starts straight away.
  6. Make the image smaller: resize it to the largest size actually displayed, serve WebP or AVIF, compress it with Squoosh or TinyPNG, and use srcset so phones get a smaller file than desktops.
  7. Remove what blocks the first paint: defer scripts that are not needed for the first screen, load non-critical CSS later, and drop third-party tags you do not use (see the render-blocking guide).
  8. If the LCP element is text, make sure it is not waiting for a web font. Preload the font file and use font-display: swap so the heading shows in a fallback font immediately.
  9. Re-run the audit after each change. Improvements add up, and checking each one shows which change actually helped.

Common mistakes

How to check it worked

Re-run PageSpeed Insights on mobile and desktop. The lab result from Lighthouse changes straight away. The field data at the top of the report comes from real Chrome users over the last 28 days, so it takes up to four weeks to fully reflect a fix. Once the fix is live, open the Core Web Vitals report in Google Search Console and start validation for the affected pages.

What counts as a good LCP score

Google judges the 75th percentile of real visits, measured separately for mobile and desktop. Three out of four visits need to reach the target, so slow phones and slow connections count in full and a fast average is not enough.

Which element is the LCP element

While the page loads, the browser keeps track of the largest image or text block visible in the first screen and updates its choice as bigger elements appear. It stops once the visitor scrolls, taps or types.

The four parts of LCP

Every LCP time is made of four parts in a row. Knowing which one is long tells you which fix to use.

Common questions

Is LCP a Google ranking factor?

Yes. LCP is one of the Core Web Vitals, which are part of Google's page experience signals. It works more like a tie-breaker than a main factor: a fast page will not outrank a much more relevant one, but between two similar pages the faster one has an edge.

What is the difference between LCP and First Contentful Paint (FCP)?

FCP is the moment anything first appears, even a logo or a background colour. LCP is the moment the main content appears. A page can have a fast FCP and still a slow LCP if the hero image arrives late.

Why is my LCP different in PageSpeed Insights and Search Console?

Lighthouse in PageSpeed Insights loads the page once in a lab, on a simulated device and network. Search Console reports real visits over 28 days and groups similar pages together. The real-visit numbers are the ones Google uses for ranking.

Why is LCP so much worse on mobile?

The mobile test simulates a mid-range phone on a slow 4G connection, so large images and heavy scripts cost far more time. Real phone visitors are often in the same position, which is why the mobile score usually matters most.

Helpful tools

Not sure if this affects your site? Analyze your website for free or compare it with a competitor.

Related guides

Browse all 38 fix guides