GuidesSEO & Blogging

How to Diagnose and Improve Largest Contentful Paint (LCP)

Find the element responsible for LCP, identify whether the delay is on the server or in the browser, and work through fixes in order.

4 min read · Published 2026-03-31
Verified by ImageTight Engine

What LCP measures

Largest Contentful Paint measures when the largest visible image, video poster, or text block in the viewport has rendered. It is a user-experience metric, not simply an image-compression score. Google's current Core Web Vitals guidance considers an LCP of 2.5 seconds or less good, measured at the 75th percentile of page visits. A lab test can help diagnose a page, but field data is needed to understand what real visitors experience across devices and networks.

Identify the LCP element before changing code

Run a page through a browser performance trace or a performance testing tool and note the element reported as LCP. It may be a hero image, a video poster, or a large heading. Test a representative page template, not only the homepage. Product pages, articles, and category pages can have different LCP elements.

Then divide the delay into stages: time waiting for the server, time before the browser discovers the resource, time downloading it, and time needed to render it. This matters because compressing an image will not fix a slow server response or an image that the browser discovers too late.

Work through the common causes

1. Reduce server response delay

If the document itself arrives slowly, investigate hosting response time, backend work, redirects, and caching. Image changes cannot compensate for a page that takes a long time to begin loading. Compare repeated tests and review your hosting metrics before adding a new plugin or service.

2. Make the main resource easy to discover

If the LCP element is an image, make sure it is present in the initial HTML rather than added only after client-side JavaScript runs. Do not lazy-load the image that is immediately visible at the top of the page. Where appropriate, give the browser a high fetch priority or preload the image, but avoid preloading several competing assets.

3. Send an appropriately sized image

Use responsive image sources so a small screen does not need to download a desktop-sized asset. Choose dimensions that match the largest display size you support, then compare formats and quality using the actual image. WebP or AVIF may reduce transfer size, but the browser still needs a valid source and the result must retain important details.

4. Check CSS backgrounds and rendering dependencies

A large hero image declared only in a stylesheet can be discovered later than an image referenced in the document markup. If the design uses a CSS background, inspect its request timing and consider whether an image element would provide better responsive and accessibility behavior. Also look for render-blocking styles or scripts that delay painting the content.

Retest without confusing lab and field data

After each meaningful change, run the same lab test under comparable conditions and inspect the request waterfall. Change one major factor at a time so you can tell what helped. For field performance, monitor real-user data over time; it can vary with device, connection, cache state, geography, and the pages people visit.

Do not promise a specific score improvement from a single change. A smaller hero image may help when its download is the bottleneck, while a server delay or an expensive rendering path needs a different fix. Keep a before-and-after note that names the page, test conditions, LCP element, and change.

A short diagnostic checklist

  • Identify the actual LCP element for the page template.
  • Check whether the document response is delayed before asset loading begins.
  • Ensure the main image is discoverable early and is not lazy-loaded above the fold.
  • Serve responsive dimensions and avoid downloading unnecessarily large files.
  • Inspect CSS, JavaScript, and fonts that may delay rendering.
  • Retest with the same setup and compare field data over time.

ImageTight can help resize and convert image files when image transfer is part of the problem. Start with the measurement, though; the right fix depends on which stage is actually taking the time.

Frequently Asked Questions

Should I lazy-load the hero image?

Usually not when it is the main image visible as the page opens. Lazy loading can delay discovery of an above-the-fold LCP image. It is more appropriate for images farther down the page.

Does converting an image to AVIF guarantee a good LCP score?

No. It may reduce transfer size, but LCP can also be delayed by server response, late resource discovery, rendering work, or other page resources. Measure the actual bottleneck.

Why does my lab score differ from field data?

Lab tests use a particular device and network setup, while field data aggregates real visits with varied devices, connections, cache states, and page experiences.

    How to Diagnose and Improve Largest Contentful Paint (LCP)