Improve LCP in WordPress - Find Your LCP Element and Fix It (2026)

Largest Contentful Paint is the Core Web Vital WordPress sites fail most often on phones. The fix depends on which part of the LCP timeline is slow, so we'll start there.

What LCP Measures and What "Good" Looks Like

Largest Contentful Paint is the moment the biggest visible element in the viewport finishes rendering. Google treats it as the point where a visitor feels the page has loaded.

A good LCP is 2.5 seconds or less for at least 75% of real visits. Between 2.5 and 4 seconds needs improvement, and anything over 4 seconds is poor.

Step 1: Find Your LCP Element

Illustration for Step 1: Find Your LCP Element on the Improve LCP in WordPress page, showing a layout diagram

You can't fix LCP until you know which element it is. On one page it's a hero photo. On another it's a heading or a block of text.

  1. Run PageSpeed Insights

    Test the page on mobile and open the LCP breakdown in the Insights section.

  2. Note the element

    The report shows the exact element that counts as LCP, including its HTML snippet.

  3. Check the phases

    The breakdown splits LCP time into phases, so you can see where the time goes.

  4. Confirm in Chrome

    The Performance panel in Chrome DevTools also marks the LCP element and its timing if you need more detail.

On WordPress, the LCP element is usually the featured image on posts, the hero image or slider on the homepage, or the product image on WooCommerce product pages. Sometimes it's the H1, especially on text-heavy posts without a featured image.

Step 2: See Which Phase Is Slow

LCP time is made of four phases, and each phase points to a different fix. This is the most useful way to think about LCP, because it stops you from compressing images when the real problem is your server.

The four phases of LCP and what slows each down
PhaseWhat HappensCommon WordPress Cause
Time to First ByteThe server starts sending the HTMLNo page caching, slow hosting, slow plugins
Resource load delayThe browser hasn't started loading the LCP image yetLazy-loaded hero, image set in CSS or by a slider script
Resource load durationThe LCP image downloadsOversized image, old format, no CDN for distant visitors
Element render delayThe image has arrived but isn't painted yetRender-blocking CSS and JavaScript, fonts, client-side rendering

If TTFB dominates, start with the server. If load delay dominates, the image is being discovered too late. If load duration dominates, the image is too big. If render delay dominates, something is blocking the paint.

The 9 Fixes, Grouped by Phase

Fixes for Time to First Byte

1. Enable page caching. Serving saved HTML cuts server time dramatically, which moves every later phase earlier. On most shared and VPS hosting, this is the biggest LCP win available.

2. Check your hosting and use a CDN where it helps. If TTFB stays high even with caching, or your visitors are far from your server, see reducing TTFB and WordPress CDN options.

Fixes for Resource Load Delay

3. Never lazy load the LCP image. Lazy loading tells the browser to wait, which is exactly the wrong instruction for your most important image. WordPress core skips lazy loading for the first content images, but themes, builders and lazy-load plugins can override that.

4. Let the browser prioritize it. A high fetch priority, or a preload hint for the LCP image, tells the browser to fetch it early. WordPress core adds a high fetch priority to the image it expects to be the LCP, though it can guess wrong on custom layouts. See preloading key requests.

5. Avoid hero images that load through CSS backgrounds or sliders. The browser can't discover a CSS background image until it has downloaded and parsed the stylesheet. Slider scripts are worse, since the image may not exist until the script runs. A regular image tag for the hero is almost always faster.

Fixes for Resource Load Duration

6. Resize the image to its display size. A 3,000-pixel photo shown at 1,200 pixels wastes bandwidth on every view. Use responsive image sizes so phones get smaller files.

7. Compress it and use WebP or AVIF. Modern formats are usually much smaller than JPEG or PNG at similar quality. See next-gen image formats and image optimization.

Fixes for Element Render Delay

8. Remove render-blocking CSS and JavaScript. If the image arrives but the browser is still processing large stylesheets or scripts, it can't paint. Removing unused CSS and deferring JavaScript clears the path. See render-blocking resources.

9. Load fonts efficiently when your LCP is text. If the LCP element is a heading, a slow web font can delay it. Self-hosting fonts and using font-display swap help. See self-hosting Google Fonts.

Common WordPress LCP Traps

Illustration for Common WordPress LCP Traps on the Improve LCP in WordPress page, showing a layout diagram

Some LCP problems are specific to the way WordPress sites are built. These are the ones that most often cause trouble.

Homepage sliders

The first slide is often loaded by JavaScript, which delays discovery. A static hero image or a slider that outputs the first slide as a normal image tag is far faster.

Builder background images

Elementor, Divi and similar builders often set hero images as CSS backgrounds. Switch to an image widget for the hero where you can.

Lazy-load plugins

A separate lazy-load plugin may ignore WordPress core's exclusions and lazy load the hero anyway. Check that the LCP image is excluded.

Huge featured images

Uploading a full-resolution photo as the featured image makes every post heavy. Resize before upload or let an optimizer do it.

Cookie banners

A large consent banner can become the LCP element itself. Keep banners compact so they don't steal the measurement.

LCP on WooCommerce Product Pages

On product pages, the LCP element is almost always the main product image. Galleries and zoom scripts often load that image through JavaScript or swap it after load, which delays discovery and paint.

Check that the first product image is output as a normal image tag with sensible dimensions, isn't lazy loaded, and isn't replaced by a different file once the gallery script runs. Keep the gallery's zoom and lightbox scripts deferred or delayed, since visitors don't need them until they interact.

Product pages are also uncached for logged-in customers and anyone with items in their cart on many setups, so server response matters more than on blog posts. See speeding up WooCommerce.

A Worked Example: A Slow Blog Post

Here's how the phase-based approach plays out on a typical case. A blog post fails LCP on mobile, and the LCP element is the featured image.

The breakdown shows a reasonable TTFB but a long resource load delay. Looking at the HTML, the featured image has a lazy loading attribute, added by a separate lazy-load plugin that ignores WordPress core's exclusions.

The image itself is a 2,400-pixel JPEG of about 600 KB, displayed at 800 pixels on mobile. So the load duration is long too.

The fix comes in three parts. Remove lazy loading from the featured image so the delay disappears. Regenerate thumbnails and serve a correctly sized WebP version to shrink the download. Then remove unused CSS from the theme so the render delay doesn't become the new bottleneck. Each change targets one phase, and together they bring LCP under the 2.5-second line.

Why Lab and Field LCP Disagree

Illustration for Why Lab and Field LCP Disagree on the Improve LCP in WordPress page, showing a layout diagram

PageSpeed Insights may show a good lab LCP while field data still fails, or the other way round. Lab tests run on one simulated device from one location. Real visitors use a mix of phones, networks and locations, and some arrive on uncached pages.

If field LCP is worse than lab, look at what real visitors experience that the test doesn't: cache misses, logged-in sessions, ads that vary per visit, and visitors far from your server. If lab is worse than field, your real audience may be on faster devices than the test assumes. Our field data vs lab data guide explains how to reconcile the two.

How WP Rocket Improves LCP

WP Rocket addresses several LCP phases at once. Page caching and preload cut TTFB. Its critical image optimization detects the LCP and above-the-fold images and excludes them from lazy loading automatically, which deals with resource load delay without manual exclusions.

For render delay, Remove Unused CSS and deferred JavaScript reduce what the browser must process before painting. Font preloading, self-hosted Google Fonts and automatic preconnect hints help when the LCP element is text.

What it can't do is shrink your image files. You'll still want an image optimizer for compression and WebP or AVIF conversion. Our best WP Rocket settings guide shows the options we'd turn on for LCP.

How to Confirm the Fix Worked

Re-run PageSpeed Insights three times and compare the median LCP in the lab data with your baseline. Check the LCP breakdown again: the phase you targeted should have shrunk.

Field data takes up to 28 days to fully reflect the change. In Search Console's Core Web Vitals report, use "Validate fix" on the LCP issue to start monitoring. If you're still failing after a month, our guide to a failed Core Web Vitals assessment walks through next steps.

Improve LCP in WordPress FAQ

What is a good LCP time?

2.5 seconds or less for at least 75% of real visits. Over 4 seconds is considered poor.

Why is my LCP fine on desktop but poor on mobile?

Mobile tests use a slower simulated phone and network, so large images, render-blocking files and slow server response all take longer to resolve.

Should I preload my LCP image?

It can help when the browser discovers the image late, for example when it's set in CSS. If the image is a normal tag high in the HTML with a high fetch priority, a preload adds little.

Can text be the LCP element?

Yes. On posts without a large image above the fold, the H1 or first paragraph is often the LCP. Fast server response and efficient font loading matter most in that case.

Does a CDN improve LCP?

It helps when visitors are far from your server, because it reduces both server response time and image download time. For a local audience, the gain is smaller.