Largest Contentful Paint: What Slows It Down and How to Fix It

SEO tools and guides8 min read

Largest Contentful Paint (LCP) is the time it takes for the biggest image or block of text in the visible part of the page to appear. Google counts it as good at 2.5 seconds or less and poor above 4 seconds, measured at the 75th percentile of real visits. It's one of the three Core Web Vitals, alongside Interaction to Next Paint and Cumulative Layout Shift.

A slow LCP almost always comes from one of four delays: a slow server, an image that's found too late, an image that's too heavy, or something that stops the browser from drawing it. Find out which one applies to your page and the fix is usually clear.

What counts as the LCP element

The LCP element is whatever is largest on screen when the page first loads. It can be:

  • An
    <img>
    element, such as a hero photo or product image
  • A background image loaded through CSS
  • The poster image of a video
  • A block of text, such as a heading or the first paragraph

On many small business sites it's the hero banner on desktop and a heading or paragraph on mobile, because the image is smaller or hidden on narrow screens. That's why your mobile and desktop LCP can have completely different causes.

How to find your LCP element

In PageSpeed Insights: run the page through PageSpeed Insights, open the Mobile tab and look in the diagnostics for the item about the Largest Contentful Paint element. It shows a snippet of the element and a breakdown of where the time went. If you're new to the report, our guide on how to read PageSpeed Insights explains each section.

In Chrome: open developer tools (F12), go to the Performance panel and reload. Chrome shows your local LCP time and highlights the element on the page.

Check the field data at the top of PageSpeed Insights too. If real visitors have a good LCP and only the lab test is slow, this is less urgent than it looks.

The four parts of Largest Contentful Paint

Google's web.dev team splits LCP into four parts. Their guide to optimising LCP suggests most of the time should go on the server response and the image download, with very little on the two delays in between.

PartWhat happensCommon causes of a slow result
Time to First ByteThe server starts sending the HTMLSlow hosting, no caching, heavy CMS plugins
Resource load delayGap before the browser starts downloading the LCP imageLazy loading, CSS backgrounds, images inserted by JavaScript
Resource load durationTime to download the imageHuge files, old formats, no CDN
Element render delayGap between the image arriving and appearingRender-blocking CSS and scripts, web fonts, hidden content

PageSpeed Insights shows this breakdown for the lab test. Look at which part is biggest and start there.

Fix 1: Speed up the server response

If Time to First Byte is over roughly 0.8 seconds, nothing else can be fast. Common fixes:

  • Turn on page caching. On WordPress, a caching plugin or your host's built-in cache serves ready-made pages instead of building each one from the database.
  • Use a CDN (content delivery network), which serves files from a location near the visitor. If most of your customers are in Malaysia, a server in the US or Europe adds noticeable delay.
  • Reduce redirects. Each redirect before the final page, such as
    http
    to
    https
    to
    www
    , adds a round trip.
  • Upgrade cheap shared hosting if the above doesn't help.

Fix 2: Let the browser find the image early

The browser can only download the LCP image once it knows about it. Anything that hides the image from the initial HTML adds delay.

Don't lazy-load it. Lazy loading tells the browser to wait until an image is near the screen. That's right for images further down, and wrong for the first one people see:

<!-- Slow: the browser waits before loading the hero -->
<img src="/images/hero.webp" loading="lazy" alt="Renovated kitchen in Shah Alam">

<!-- Better: load it straight away, with high priority -->
<img src="/images/hero.webp" fetchpriority="high" width="1200" height="675"
     alt="Renovated kitchen in Shah Alam">

fetchpriority="high"
tells the browser this image matters more than others. The
width
and
height
attributes also prevent layout shift.

Preload CSS background images. If the hero is a CSS background, the browser only discovers it after downloading and reading the stylesheet. Either switch to an

<img>
element or add a preload in the
<head>
:

<link rel="preload" as="image" href="/images/hero.webp" fetchpriority="high">

Avoid sliders built in JavaScript for the first image. Carousels often load their images only after a script runs. A single static hero image is almost always faster.

Fix 3: Make the image smaller

A 3 MB photo straight off a phone takes seconds to download on mobile data. For a full-width hero image, aim for under about 200 KB.

  • Resize to the largest size it's displayed at. A 4000 px wide photo shown at 1200 px wastes most of its bytes.
  • Use WebP or AVIF, which are typically much smaller than JPEG at the same quality.
  • Serve different sizes to different screens with
    srcset
    , so phones don't download desktop images:
<img src="/images/hero-1200.webp"
     srcset="/images/hero-600.webp 600w, /images/hero-1200.webp 1200w"
     sizes="100vw" fetchpriority="high" width="1200" height="675"
     alt="Renovated kitchen in Shah Alam">

Compression helps search in other ways too. Our image SEO guide covers file names, alt text and formats alongside file size.

Fix 4: Remove what blocks rendering

Even when the image has arrived, the browser won't draw it until the CSS and any blocking scripts are ready.

  • Defer scripts that aren't needed immediately with
    defer
    or
    async
    , especially chat widgets, analytics extras and social embeds.
  • Inline the small amount of CSS needed for the top of the page and load the rest without blocking. Many caching plugins offer this as "critical CSS".
  • Fix web fonts for text LCP. If your LCP element is a heading, a slow custom font can hold it back. Use
    font-display: swap
    so text appears in a fallback font first.
  • Watch out for A/B testing and personalisation scripts that hide the whole page until they've run.
@font-face {
  font-family: "Brand Sans";
  src: url("/fonts/brand-sans.woff2") format("woff2");
  font-display: swap;
}

One more surprise: on mobile, a large cookie banner or pop-up can itself become the LCP element. If it appears late, it drags your LCP down with it.

Platform notes

  • WordPress: recent versions try to skip lazy loading on the first image and add
    fetchpriority="high"
    to it, but page builders and themes often override this. Check the final HTML.
  • Shopify: most themes use Shopify's image tags, which create responsive sizes. Check that the first section's image isn't set to lazy load.
  • Wix and Squarespace: you can't edit the HTML, so focus on uploading smaller images, avoiding video backgrounds and slideshows above the fold, and removing unused apps.
  • Next.js: for the hero image in the
    Image
    component, set
    fetchPriority="high"
    (or
    loading="eager"
    ). The older
    priority
    prop is deprecated from Next.js 16.

Checking that the fix worked

Re-run PageSpeed Insights straight after a change to see the lab result. The field data at the top uses the last 28 days of real visits, so it takes up to four weeks to fully reflect the improvement. Search Console's Core Web Vitals report also lets you click Validate fix once you've made changes, and it reports back as the data comes in.

Speed is only one part of how a page appears in search. A fast page with broken structured data can still miss out on rich results, which the Rich Results Test will show you, and a general website health check catches indexing and HTTPS problems that speed tools ignore.

Doing this faster

The SapuSEO Copilot can check Core Web Vitals and PageSpeed for your main page, using Google's lab scores and real-visitor data where Google has it, then explain the cause in plain English with exact fix steps for WordPress, Webflow, Wix, Shopify, Squarespace and Next.js. If you build sites for clients, our guide to SEO for web designers shows how to bake LCP checks into every launch.

Start with a free look at your homepage: run the SapuSEO site check.

See what's holding your site back

Run a free site check. No account needed.

Check my site

More in SEO tools and guides