Home / Fix guides / Speed and Core Web Vitals

How to fix slow LCP (Largest Contentful Paint)

LCP measures how long the biggest visible thing on your page (usually a hero image or main heading) takes to appear. Aim for 2.5 seconds or less; the fix is usually a lighter, faster-loading main image and a quicker server response.

Largest Contentful Paint, or LCP, is the time from when someone starts loading your page to when the largest image or block of text in the first screen is drawn. It is one of Google's three Core Web Vitals. Visitors do not know the term, but they feel it: they tap a link, see a blank or half-built page, and wait.

Google treats 2.5 seconds or less as good, 2.5 to 4 seconds as needing improvement, and over 4 seconds as poor. These are measured for the slower end of your real visitors (the 75th percentile), so your own fast laptop on office wifi can look fine while customers on phones do not.

What slow LCP looks like

  • The top of the page stays blank or shows only a menu for a few seconds.
  • A big banner or hero photo pops in late, often after the text.
  • A product photo or headline is the last thing to appear on mobile.
  • PageSpeed Insights shows an LCP in orange or red.

Why it matters

LCP is part of Google's page experience signals, so a poor score can hold back your search results, although content relevance still matters more. The bigger effect is on people. Visitors who wait for the main content are more likely to leave before they read your offer, see your product or fill in a form. For a small business that means fewer calls, bookings and sales from the same traffic.

How to check if your site has it

All of these are free:

  • PageSpeed Insights (pagespeed.web.dev): enter a page address. Look first at the field data at the top (real visitors over the last 28 days, if your site has enough traffic), then at the lab test below it. Test mobile, not just desktop.
  • Google Search Console: the Core Web Vitals report groups your pages into good, needs improvement and poor, so you can see whether the problem is one page or the whole site.
  • Chrome DevTools: open the page, press F12, and run a Lighthouse report. The Performance panel can also show which element was the LCP element.
  • WebPageTest: a free tool that shows a frame by frame filmstrip of how your page loads.

Test your home page, your most visited landing page and one product or service page. LCP differs from page to page.

Find your LCP element first

The report names the element that counts as the LCP, such as a hero image, a slider picture or a large heading. Everything you do should be about getting that one thing to show sooner. Fixing a footer image will not help.

LCP time is made of four parts: how long the server takes to respond, how long before the browser starts fetching the element, how long the download takes, and how long before it is drawn. Knowing which part is biggest tells you where to work. PageSpeed Insights and Chrome DevTools both show this breakdown.

How to fix it

  1. Make the main image smaller. Photos straight from a camera or stock site are often several megabytes. Resize to the largest size actually shown (a banner rarely needs to be wider than about 2000 pixels), then compress it and save it as WebP or AVIF where your platform allows. Use responsive images (srcset) so phones get a smaller file.
  2. Do not lazy load the LCP image. Lazy loading is good for pictures further down the page, but if the hero image has loading="lazy", the browser deliberately waits. Remove it from the first image on the page. See images that are not lazy loaded for the other side of this: lazy load what is below the fold.
  3. Tell the browser it is important. Add fetchpriority="high" to the LCP image tag. If the image is set in CSS as a background, the browser finds it late, so consider using a normal img tag or preloading it with <link rel="preload" as="image" href="...">.
  4. Speed up the server response. If the first byte takes a long time to arrive, nothing else can start. Turn on page caching, use decent hosting, and keep heavy plugins and database queries in check. Enabling compression for text files also helps.
  5. Use a CDN. A content delivery network serves images and files from a location near each visitor. This helps most when your customers are far from your hosting server. See no CDN.
  6. Clear the way for the first paint. Large CSS and JavaScript files in the page head delay everything. Defer scripts that are not needed at the start, and see render blocking resources.
  7. Check fonts if your LCP is text. If the biggest element is a headline, a slow web font can hold it back. Use font-display: swap, use fewer font files, and host them on your own domain or CDN.
  8. Remove what the first screen does not need. Auto-playing video, sliders with many large images, chat widgets and popups loading at the top all compete for bandwidth. A single static hero image is usually the fastest.

Notes for common platforms

Menu names change between versions and themes, so look for the idea rather than the exact label.

  • WordPress: use an image optimization plugin or your host's built-in tool for compression and WebP, and a caching plugin for page caching. Check your theme or page builder for a hero or slider setting, and look for an option to exclude the first image from lazy loading. Recent WordPress versions usually avoid lazy loading the main image automatically, but themes and builders can override that.
  • Shopify: the theme matters most. Upload correctly sized images, avoid many apps that add scripts to the top of every page, and review your theme's featured image settings. Many themes have a setting for banner height or image size.
  • Wix and Squarespace: these platforms handle much of the delivery for you, so your main levers are image size, fewer or lighter banner sections and removing auto-play video from the top of the page.
  • Webflow: set the hero image to eager loading instead of lazy, use compressed images, and keep heavy interactions off the first screen.
  • Next.js: use the Image component with the priority property (newer versions use preload instead, so check your version's docs) on the LCP image, and check server response time.
  • Cloudflare: turning on caching and image optimization options can help, but only if the real cause is delivery. A huge hero image should still be made smaller at the source.

How to confirm the fix worked

Run PageSpeed Insights again on the same page and device type, and compare the LCP value and the breakdown. Lab results update immediately, so you can see whether the LCP element loads earlier. The real visitor data in PageSpeed Insights and Search Console is a rolling window of about four weeks, so it will move slowly. Do not panic if the field numbers still look red a few days later.

Run the test two or three times, as results vary a little between runs. A change of a few hundred milliseconds can be noise, but a drop of a second or more after resizing the hero image is real.

How to stop it coming back

Slow LCP usually returns when someone uploads a new banner, installs a plugin or adds a video to the home page. A few habits prevent most of it:

  • Give everyone who edits the site a simple image rule: resize and compress before uploading, and keep the top banner small.
  • Re-test the home page after any theme change, new plugin or redesign.
  • Check the Core Web Vitals report in Search Console now and then for new poor pages.
  • Review speed on a schedule rather than only when something feels slow. SiteMonday does this in week 4, where speed and Core Web Vitals are checked and any LCP problems come with a ranked fix list. The fixes themselves are for you or your developer to make.

Step by step for your platform

Questions

What is a good LCP score?

Google considers 2.5 seconds or less good, 2.5 to 4 seconds as needing improvement, and anything over 4 seconds poor. This is measured for the slower end of your real visitors, so aim to be comfortably under 2.5 seconds on mobile.

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

Phones usually have slower processors and connections, and they often download a larger image than needed. Resize and compress your main image and use responsive images so mobile visitors receive a smaller file.

Does fixing LCP improve my Google ranking?

LCP is one of several page experience signals, and relevant content still matters more. A faster LCP can help search results a little and usually helps visitors stay and buy.

Why does PageSpeed Insights show a different LCP each time?

Lab tests depend on network conditions and server load at that moment, so results vary between runs. Run the test a few times and look for clear trends rather than small differences.

How long until Search Console shows my improvement?

Real visitor data is collected over a rolling period of about 28 days, so improvements appear gradually. Use a PageSpeed Insights lab test to check the fix right away.

Can I fix LCP without a developer?

Often yes, if the cause is an oversized hero image, a lazy loaded banner or missing caching, which most platforms let you change in settings or plugins. Server response problems and theme code issues may need a developer.

Related problems