Largest Contentful Paint (LCP): why your page feels slow and how to fix it

Last updated

The short answer

Largest Contentful Paint (LCP) is the time from when a visitor opens your page until its biggest image or block of text appears. Google counts 2.5 seconds or less as good and over 4 seconds as poor. On most small-business sites the culprit is the main image at the top: too large, in an old format, loaded late, or waiting behind other files. Fix that image first, then the server's response time, then anything that blocks the page from drawing.

What LCP measures

It times the moment the largest thing in the visible part of the page finishes drawing: usually the main photo, a banner, or the first big heading. It is one of Google's three Core Web Vitals, and it matches what visitors feel: the point when the page looks loaded (web.dev).

The other two have their own guides: Interaction to Next Paint (INP) for taps that feel slow, and Cumulative Layout Shift (CLS) for a page that jumps while it loads. All three are explained together in Core Web Vitals explained.

What counts as good

LCPRating
2.5 seconds or lessGood
2.5 to 4 secondsNeeds improvement
Over 4 secondsPoor

Google judges real visitors' experience at the 75th percentile: three in four visits should be under the line, on phones and computers separately.

The four parts of a slow LCP

web.dev breaks LCP into four parts (Optimize LCP). Knowing which is large tells you what to fix:

  1. Server response (time to first byte): how long before the server starts sending the page. Slow hosting, no page caching.
  2. Load delay: how long before the browser even starts fetching the main image. Images added late by JavaScript or CSS, or marked to load lazily.
  3. Load time: how long the image takes to download. Too many pixels, an old format, no CDN.
  4. Render delay: the image has arrived but the page can't draw it yet. Stylesheets, fonts or scripts blocking the page.

The fixes, in the order that usually pays off

First find your actual LCP element in the test, and which of the four parts above is largest. It may be a heading or a block of text, not an image. Fix that cause: the server response, how late the browser finds the file, the download, or the drawing. The order below suits the common case, a large photo at the top.

  1. Make the main image small and modern. Save it as WebP or AVIF, no wider than it is shown, with a smaller version for phones (Chrome).
  2. Let the browser find it early, and tell it it matters. Put it in the page as an ordinary <img>, not one added by a script, with fetchpriority="high". A CSS background image can stay a background if the browser finds it early, for example through a preload link in the page head; don't rebuild a design just to match this template:
<img src="/images/hero-1200.webp"
     srcset="/images/hero-800.webp 800w, /images/hero-1200.webp 1200w"
     sizes="100vw" width="1200" height="600"
     fetchpriority="high" alt="Our team fitting a new kitchen in Austin">
  1. Speed up the server response with page caching and, if visitors are far away, a CDN. See caching and CDNs.
  2. Clear what blocks drawing. Remove unused stylesheets and scripts, load non-essential scripts with defer, and use font-display: swap for web fonts.
  3. Cut third-party extras above the fold, such as sliders, chat widgets and pop-ups that load before the main content.

For the wider picture of a slow site, see why your site is slow.

Common own goals

Checklist

Questions people ask

What is a good Largest Contentful Paint?
Google's guidance is 2.5 seconds or less for most visits. Over 4 seconds counts as poor. Phones on slower connections are usually the hardest case, so check the phone result first.
Why is my LCP slow when my site feels fast to me?
Your own computer and connection are usually faster than your customers', and your browser has already stored many of your files. Tests use a slower phone and connection on purpose.
Does LCP affect my Google ranking?
It is one of Google's Core Web Vitals, which are part of how it assesses page experience. More directly, a slow main image makes visitors leave before they see what you offer.
Should I lazy-load images to improve LCP?
Lazy-load images further down the page, but never the main image at the top. Lazy-loading the LCP image delays it and makes LCP worse.

What the free scan checks for this

These are the FocalScore checks that cover this guide's subject. Each one in your report says what it found, shows the evidence and gives the fix.

Sources

Last checked . Documentation, settings and rules change; if one of these pages now says something different, it is right and this guide is out of date. Tell us at info@focalscore.com.

  1. web.dev: Largest Contentful Paint
  2. web.dev: Optimize Largest Contentful Paint
  3. Chrome for Developers: Improve image delivery