Skip to content

Websites

Core Web Vitals Troubleshooting: How to Fix Slow LCP, INP and CLS

Search Console says your pages need work, but not why. This guide shows how to find which Core Web Vital is failing, what usually causes it, and the fixes we try first on client sites.

7 min read
Core Web Vitals troubleshooting guide by LogDart: page speed gauge with the needle in the fast zone and three metric bars

In short

  • Check field data in Search Console first. Lab scores alone can mislead.
  • Slow LCP is usually a heavy hero image or a slow server.
  • Poor INP usually comes from too much JavaScript, often third party scripts.
Contents

You open Search Console and see a red line under Core Web Vitals. Dozens of URLs are marked Poor or Need improvement, and the report does not say what to change.

This guide is for business owners and marketers who look after a website without a full time developer. It walks through Core Web Vitals troubleshooting in the order we use on client sites.

First you learn what the three metrics measure. Then you find the one that is failing and fix its usual causes. You do not need a perfect score, only pages that load quickly, respond at once and stay still.

What Core Web Vitals measure, in plain words

Core Web Vitals are three measurements Google takes from real visits to your pages. Each one describes a different part of how a page feels to use.

  • LCP, Largest Contentful Paint. How long the largest thing on screen takes to appear, usually the main image or heading. Good is 2.5 seconds or less.
  • INP, Interaction to Next Paint. How long the page takes to react when someone taps, clicks or types. Good is 200 milliseconds or less.
  • CLS, Cumulative Layout Shift. How much the content moves about while the page loads. Good is a score of 0.1 or less.

Google does not judge a page on its best visit or its average visit. It looks at the 75th percentile, which means three out of four visits must meet the target. Phones and desktops are judged separately, and phones usually do worse.

A page passes only when all three metrics are good. The full definitions and thresholds are on Google's Web Vitals page on web.dev.

Core Web Vitals troubleshooting starts with the failing metric

Start in Search Console, not in a speed test. The Core Web Vitals report shows data from real visitors, split into mobile and desktop.

Open the Poor and Need improvement rows. Each row names the metric that fails and lists a group of similar URLs. A group usually shares one template, such as all product pages or all blog posts.

Next, test one URL from the group in PageSpeed Insights. The top of the result shows field data from real visits over the last 28 days. The lower part shows lab data, a single test run on a simulated phone.

Use the field data to decide what is wrong and the lab data to work out why. Lab data cannot measure INP, because nobody taps the page during the test. For that, record a visit in the Performance panel of Chrome DevTools and click around the page.

Write down the failing metric and the template it affects. That is your to do list.

Fixing slow LCP

Slow LCP has two common causes: the main image is too heavy, or the server is slow to answer. Check both before anything else.

Make the main image light and early

On most pages the largest element is the hero image. Save it in a modern format such as WebP or AVIF, at the size it is shown, not the size the camera made. A photo of several megabytes can usually be cut to a small fraction of that with no visible loss.

Tell the browser this image matters. Do not lazy load it, and mark it as high priority so it starts downloading at once. Lazy loading is for images further down the page.

Check how fast the server answers

If the first byte of the page arrives late, everything after it is late too. Slow hosting, no caching and heavy plugins are the usual reasons. Page caching and a content delivery network fix most of this.

Clear the path to the first screen

Large CSS files and web fonts can block the page from showing. Load only the styles the first screen needs, and preload the one or two fonts you use most.

Watch out for content that waits for JavaScript. If the heading or hero image is added by a script, the browser cannot show it until that script has run. Send the first screen in the HTML itself.

Fixing poor INP

Poor INP nearly always means the browser is busy running JavaScript when the visitor tries to do something. The tap is noticed, but the page cannot answer until the script finishes.

Find the long tasks

In the DevTools Performance panel, long tasks are marked in red. Any task over 50 milliseconds can delay a tap. Look at which script each long task belongs to.

Start with third party scripts

Chat widgets, tag managers, heat maps and ad scripts are frequent offenders. Each one seems small, but together they can keep the browser busy for seconds. Remove the ones nobody uses, and ask whether the rest must load on every page.

Load what is left later. A chat widget can wait until the visitor scrolls or clicks its button. Marketing tags can fire after the page has become usable.

Break up your own code

If your own code is the problem, split long jobs into smaller steps so the browser can answer taps in between. Do the visible change first, such as opening the menu, and the heavy work after it. A developer can do this without changing how the site looks.

Fixing layout shift (CLS)

Layout shift happens when something appears and pushes the content below it. The cure is to keep a space ready for everything before it loads.

Give images and videos their size

Add width and height to every image and video tag. The browser then keeps the right space free while the file downloads. Most modern site builders do this for you, but old templates often miss it.

Reserve room for embeds and banners

Maps, social posts, adverts and cookie banners load late and often push the page down. Give each one a box with a fixed minimum height. Place banners over the page or at its foot, not above content that is already showing.

Stop fonts swapping late

When a web font arrives late, the text changes shape and lines move. Preload your main font and choose a fallback font of a similar width. Using fewer font files helps too.

How we handle this for clients

We always start with the field data in Search Console, because that is what Google uses. Lab scores come second.

Then we look for the template behind the largest group of failing URLs. Fixing one template can clear hundreds of pages at once, so that is where the first hours go. On most sites the first fix is the hero image or a third party script.

Once the fix is live, we start validation in Search Console and watch the report. Google needs about four weeks of fresh visits to confirm it, so we check weekly and move on to the next group.

Questions about Core Web Vitals

Do Core Web Vitals affect Google rankings?

Yes, but they are one signal among many. Google uses page experience, which includes Core Web Vitals, in its ranking systems. Relevant, useful content still matters more. Good scores will not lift a weak page to the top, but slow, jumpy pages can hold a good one back and lose enquiries.

How long does Search Console take to show a fix?

Usually about four weeks. The report uses a rolling 28 day window of real visits, so the old slow visits take time to drop out. Start validation after the fix goes live. You should see the numbers begin to move within a week or two.

Do I need a PageSpeed score of 100?

No. The score out of 100 is a lab estimate from one test run. Google judges your pages on the three field metrics from real visitors. A page scoring 70 can pass Core Web Vitals, and a page scoring 95 can still fail on real phones.

Why do lab and field results disagree?

Because they measure different things. A lab test loads the page once on a simulated phone with a set connection. Field data comes from your real visitors, with their own devices, networks and habits, over 28 days. When the two disagree, trust the field data.

Which Core Web Vital should I fix first?

Start with the metric that fails on your most important pages, usually on mobile. In Search Console, open the group of failing URLs, find the template behind them and fix that template first, because one fix can clear many pages at once.

Keep reading