Skip to main content
Resources/Core Web Vitals Debugging
Technical SEO

Core Web Vitals Debugging: Find and Fix LCP, INP, and CLS

A repeatable workflow for tracing a failing Core Web Vital to its cause: confirm the problem in field data, reproduce it in the lab, split each metric into its subparts, fix the slowest part, and verify over the 28-day field window.

Rank Crown Team
15 October 2026
12 min read

To debug Core Web Vitals, start from field data to learn which metric fails for real users, reproduce the problem in a lab tool, break the metric into its subparts, and fix the part that takes the most time. LCP splits into server response, resource load delay, resource load duration, and render delay. INP splits into input delay, processing duration, and presentation delay. CLS comes down to finding which element moved and why. This guide walks through each step with real test results and the official guidance from web.dev and Google.

Cropped detail of the October 9, 2026 PageSpeed Insights mobile report for edition.cnn.com, showing Core Web Vitals Assessment Passed, LCP 1.7 s, INP 154 ms and CLS 0.01
Cropped detail from the October 9, 2026 capture reproduced in full below. These are that test's historical field metrics, not a new measurement: LCP 1.7 s, INP 154 ms and CLS 0.01. No values have been changed.Screenshot: Google PageSpeed Insights, captured 2026-10-09

What is the right order for debugging Core Web Vitals?

Work from evidence to cause: confirm which metric fails in field data, find which page template is affected, reproduce the slow experience in a lab tool, break the metric into subparts, fix the largest subpart, then watch field data until the 28-day window reflects the change. Skipping the first step is the most common way to waste a sprint.

Many teams start by opening Lighthouse, sorting the opportunities by estimated savings, and fixing from the top. That feels productive but often targets the wrong problem. A lab report lists everything that could be faster on one simulated load. It does not tell you which metric is actually failing for your visitors, on which device class, or on which group of URLs.

A more reliable sequence looks like this:

  1. Confirm the failure in field data. Use the Core Web Vitals report in Search Console or the field section of PageSpeed Insights to see which metric is Poor or Needs improvement, and whether it is mobile, desktop, or both.
  2. Find the template. Search Console groups similar URLs together. If one group of product pages fails while blog posts pass, the cause is almost always in that template.
  3. Reproduce in the lab. Run a representative URL through a Lighthouse audit or record it in the Chrome DevTools Performance panel.
  4. Break the metric down. Each Core Web Vital has subparts or causes you can measure. The fix depends on which one dominates.
  5. Fix, deploy, and verify. Re-test in the lab for a quick signal, then follow field data until it catches up.

This guide assumes you already know what the three metrics are and why they matter for search. If you need that background first, read our Core Web Vitals and SEO guide and the broader Web Vitals overview. Here the focus is narrower: how to go from a red metric to a specific line of code or configuration.

What is the difference between field data and lab data?

Field data records what real Chrome users experienced over the last 28 days and is what Search Console uses. Lab data is a single controlled test on one device, one network, and one location. Field data tells you whether there is a problem; lab data helps you find out why.

The field data most SEO tools show comes from the Chrome UX Report (CrUX). According to the CrUX methodology, individual user experiences are aggregated into page-level and origin-level distributions, and an origin must be publicly discoverable and sufficiently popular to be included. You cannot submit a page manually; it enters or leaves the dataset as its eligibility changes. That is why small or new pages often show no page-level field data at all.

web.dev's article on why lab and field data can be different explains the gap. A lab test uses a single device connected to a single network from a single location, usually with a cold cache. Real visitors bring warm caches, back/forward cache restores, faster or slower phones, and their own timing for when they interact. Sites with good caching and many returning visitors can see a real-world LCP much faster than the lab suggests.

The two captures below show this on the same URL, the CNN International homepage, on the same day. First, the field section of PageSpeed Insights:

PageSpeed Insights mobile report for https://edition.cnn.com/ dated Oct 9, 2026, showing Core Web Vitals Assessment Passed for This URL with LCP 1.7 s, INP 154 ms, CLS 0.01, FCP 1.3 s and TTFB 0.4 s, based on the latest 28-day period of Chrome UX Report data
PageSpeed Insights, mobile, edition.cnn.com: Core Web Vitals Assessment Passed on 28-day field data, with LCP 1.7 s, INP 154 ms, CLS 0.01, FCP 1.3 s and TTFB 0.4 s. The lab section below it was cropped out because that run returned an error.Screenshot: Google PageSpeed Insights, captured 9 Oct 2026

Real mobile visitors to this page get a passing experience on all three metrics. Keep that result in mind when you look at the lab audit of the same URL in the LCP section below, which reports an LCP of 8.9 seconds. Neither tool is wrong. They answer different questions, and a debugging session should start by asking the question field data answers: is there a problem for real users at all?

What thresholds are you debugging against?

web.dev defines a good experience as LCP within 2.5 seconds, INP of 200 milliseconds or less, and CLS of 0.1 or less, each measured at the 75th percentile of page loads and split by mobile and desktop. Your goal is to move the 75th percentile, not your own best run.

The thresholds come from Google's Web Vitals documentation. The 75th percentile matters for debugging because it means the slowest quarter of visits decides your status. A fix that only helps fast devices on good networks may not move the number at all, while a fix aimed at slow phones often does.

MetricWhat it measuresGoodMeasurable in a lab load?
Largest Contentful Paint (LCP)Loading: when the largest text block or image in the viewport renders2.5 s or lessYes, measured directly
Interaction to Next Paint (INP)Responsiveness: delay from a tap, click, or key press to the next frame200 ms or lessNo; Total Blocking Time is the lab diagnostic
Cumulative Layout Shift (CLS)Visual stability: how much visible content moves unexpectedly0.1 or lessPartly; shifts after load and during scrolling are often missed

Search Console applies these thresholds to URL groups. The Core Web Vitals report documentation explains that a group takes the slowest status of its metrics for each device type. A mobile group with Poor CLS and Needs improvement LCP is labeled Poor. So when a group is red, check every metric, not only the one you expected.

The report also has data limits. A URL group without threshold data for both LCP and CLS is not shown, and when a group lacks enough data Search Console creates a higher-level origin group instead. If you cannot find a page in the report, that is usually the reason, and the origin-level data in PageSpeed Insights is the next best signal.

How do you debug a slow LCP?

Identify the LCP element, then split its time into four subparts: time to first byte, resource load delay, resource load duration, and element render delay. web.dev suggests that on a well-optimized page the two delay subparts stay under about 10 percent each, so a large delay points straight at the fix.

The method comes from web.dev's Optimize Largest Contentful Paint guide. It recommends looking at just two requests: the HTML document and the LCP resource, usually an image. Its guideline breakdown is roughly 40 percent of LCP for time to first byte, under 10 percent for resource load delay, roughly 40 percent for resource load duration, and under 10 percent for element render delay. The guide stresses these are guidelines, not rules, and warns against converting them into absolute numbers.

  • Time to first byte. How long the HTML takes to arrive. Slow backends, missing caching, and redirects all land here. Our CDN and SEO guide covers edge caching.
  • Resource load delay. The gap between the HTML arriving and the LCP image starting to download. web.dev lists the usual causes: the image is added by JavaScript, hidden behind a data-src lazy-loading library, or set as a CSS background, so the preload scanner cannot find it. It also warns never to lazy-load the LCP image, and suggests fetchpriority="high" on the likely LCP image. See lazy loading and SEO for where deferral helps.
  • Resource load duration. The download itself. Oversized images and slow image hosts inflate it; the image SEO guide covers formats and sizing.
  • Element render delay. The image has arrived but is not painted yet, often because render-blocking CSS or JavaScript, or long tasks, hold up the main thread. Our render-blocking resources guide explains how to remove them.

Here is a lab audit of the same CNN URL that passed in the field, run through Rank Crown's Lighthouse tool:

Rank Crown Lighthouse audit for https://edition.cnn.com/ using Lighthouse v13.4.0, with scores Performance 32, SEO 77, Accessibility 97, Best Practices 54, Core Web Vitals cards LCP 8.9 s Poor, FCP 5.6 s Poor, TBT 1436 ms Poor, CLS 0.051 Good, TTFB 0.0 s Good, an opportunity to reduce unused JavaScript with estimated savings of 2,059 KiB, and diagnostics including Reduce JavaScript execution time 3.7 s, Minimize main-thread work 9.8 s and Time to Interactive 41.7 s
edition.cnn.com in a lab run: Performance 32, LCP 8.9 s, TBT 1436 ms and FCP 5.6 s rated Poor, CLS 0.051 Good. Diagnostics list unused JavaScript (est. savings 2,059 KiB), JavaScript execution time of 3.7 s and main-thread work of 9.8 s. The recent-checks list was cropped out.Screenshot: Rank Crown Lighthouse audit, captured 9 Oct 2026

Read it the way the subpart model suggests. FCP is already 5.6 seconds in this simulated load, so the delay starts before the LCP element is even a candidate. The diagnostics point at JavaScript: unused JavaScript, 3.7 seconds of execution time, and 9.8 seconds of main-thread work. In subpart terms, that is the profile of element render delay caused by a busy main thread, not a slow server. Note the TTFB card reads 0.0 s in this run; for server timing, trust the field TTFB of 0.4 s from the PageSpeed Insights capture above.

Because real users on this URL pass, a team here would not treat this as an emergency. It is still a useful warning: visitors on slower phones sit closest to this lab profile, and if the field 75th percentile ever drifts, JavaScript cost is the place to start.

How do you debug a poor INP?

Find the slow interaction in field data first, reproduce it by hand in the lab, and split it into input delay, processing duration, and presentation delay. Long tasks usually cause input delay, heavy event handlers cause processing duration, and large rendering updates cause presentation delay.

INP is the hardest metric to debug from a lab report, because it depends on real interactions. web.dev's lab and field article notes that Total Blocking Time is the lab metric intended to help diagnose INP, since it measures how long the main thread is blocked during load. It also warns that TBT does not consider user behavior: if users wait to interact until after scripts finish, INP can be very low despite a high TBT. The CNN example shows exactly that. The lab run reports a Poor TBT of 1436 ms, while field INP is a good 154 ms.

So the first job is to find which interactions are slow in the field. The attribution build of the web-vitals library reports the element that was interacted with and the time spent in each subpart. Then reproduce that interaction in the Chrome DevTools Performance panel. web.dev's Optimize INP guide defines the three subparts:

  • Input delay runs from the user's action until the event callbacks start. It grows when other long tasks, often third-party scripts, occupy the main thread at that moment.
  • Processing duration is the time the event callbacks take to run. The guide's advice is to do as little work as possible in them and to yield to the main thread often, for example by splitting work with setTimeout.
  • Presentation delay is the time until the browser presents the next frame with the visual result. Large DOM updates and expensive layout make it longer.

The fix follows the dominant subpart. A high input delay across many controls suggests trimming or delaying scripts that run during browsing. A high processing duration on one control means that handler needs work. A long presentation delay means the update itself is too large. Framework-heavy sites tend to see all three, which is why our JavaScript SEO guide and server-side rendering guide recommend shipping less client JavaScript in the first place.

How do you find what is causing layout shifts?

Identify which element shifted and when. Most CLS comes from images or videos without dimensions, ads and embeds without reserved space, content injected late, and web fonts that reflow text. If field CLS is worse than lab CLS, the shifts probably happen after load, while scrolling or interacting.

web.dev's Optimize CLS guide lists the common causes and fixes:

  • Images without dimensions. Always include width and height attributes on images and video elements, or reserve space with CSS aspect-ratio.
  • Ads, embeds, and late-loaded content. Reserve space in the initial layout with min-height or aspect-ratio. For ad slots with variable sizes, size the container for the most likely ad or accept a small shift for larger ones.
  • Web fonts. Both swapping and invisible text can shift layout when the font arrives. font-display: optional avoids the re-layout, a sensible fallback font reduces the difference, and size-adjust and related overrides can match fallback metrics.

The same guide makes a point that saves a lot of time: disagreement between CrUX and Lighthouse CLS often means post-load CLS. A Lighthouse run only covers the initial load, so it misses content that shifts while the user scrolls, such as lazy-loaded blocks without reserved space, or content that moves on hover. web.dev recommends the live metrics view of the DevTools Performance panel, which lets you interact with the page while watching the CLS score, or a PerformanceObserver pasted into the console.

In the field, the web-vitals attribution build reports the element responsible for the largest shift. web.dev adds one caveat: CLS that happens inside iframes cannot be measured from web APIs but is visible to users and included in CrUX, so your own RUM numbers may be lower than the CrUX figure. On mobile templates, check sticky headers and banners too; our mobile SEO guide covers the layouts where this happens most.

Which tools should you use for each debugging step?

Use Search Console and PageSpeed Insights field data to confirm a problem, Lighthouse audits to reproduce load issues, the DevTools Performance panel to trace long tasks and shifts, and the web-vitals attribution build to see causes from real users. Simple header checks, such as compression, help rule out server-side causes quickly.

Each tool answers one question well. The Core Web Vitals report in Search Console tells you which URL groups fail and lets you track validation. PageSpeed Insights shows field data for a single URL and its origin on top, and a Lighthouse lab run below. A Lighthouse audit run on its own, like the Rank Crown capture above, is useful for repeatable before-and-after tests. The Chrome DevTools Performance panel is where you see individual long tasks, the LCP marker, and layout shift records.

For collecting causes from real users, the web-vitals library is the reference implementation. Its README describes an attribution build that is slightly larger than the standard build, by about 1.5K brotli'd, and adds diagnostic information to each metric. A minimal setup that sends attribution data to your own endpoint looks like this:

import {onLCP, onINP, onCLS} from 'web-vitals/attribution';

function send({name, value, rating, attribution}) {
  navigator.sendBeacon('/vitals', JSON.stringify({
    name, value, rating,
    // LCP: target element plus timeToFirstByte, resourceLoadDelay,
    // resourceLoadDuration and elementRenderDelay.
    // INP: interactionTarget plus inputDelay, processingDuration
    // and presentationDelay.
    // CLS: largestShiftTarget and largestShiftTime.
    attribution,
  }));
}

onLCP(send);
onINP(send);
onCLS(send);

Small server checks belong in the toolkit too, because they rule out causes in seconds. Time to first byte and resource load duration both depend on how many bytes the server sends. The capture below checks whether a page's HTML is compressed:

Rank Crown Compression checker for https://www.theverge.com/ showing Compression Enabled, This website uses br compression, Content-Encoding br, Compressed Size 64.9 KB, Uncompressed Size 926.3 KB, Estimated Savings 861.5 KB (93.0%), and Content-Type text/html; charset=utf-8
www.theverge.com: Brotli (br) compression is enabled, the HTML drops from 926.3 KB uncompressed to 64.9 KB compressed, an estimated saving of 861.5 KB (93.0%). The recent-checks list was cropped out.Screenshot: Rank Crown Compression checker, captured 9 Oct 2026

Here compression is working, so the document's transfer size is not a likely cause of a slow first byte or slow parsing. If the same check shows no Content-Encoding on a large HTML document, enabling gzip or Brotli on the server or CDN is one of the cheapest fixes available. The website speed optimization guide covers the rest of the server and asset checklist.

What are the most common Core Web Vitals problems and fixes?

Most failures map to a small set of causes: a slow server, an LCP image the browser discovers late, render-blocking code, long JavaScript tasks, and content without reserved space. Match the symptom you see in your data to the likely cause before you change anything.

SymptomCommon causeFix
Slow LCP and slow TTFB in field dataSlow server response, no caching, redirects before the HTMLCache HTML at the edge or CDN, remove redirect hops, speed up backend work
LCP image starts downloading late in the waterfallImage injected by JavaScript, set as a CSS background, or lazy-loadedPut the image in the HTML with src or srcset, never lazy-load it, add fetchpriority="high"
LCP image downloads quickly but renders lateRender-blocking CSS or JavaScript, or long tasks on the main threadInline critical CSS, defer non-critical scripts, break up long tasks
Long resource load duration for the LCP imageOversized file or slow origin for the imageServe responsive sizes in a modern format from a CDN
Poor INP on pages with heavy third-party tagsLong tasks keep the main thread busy, so input waits (input delay)Remove or delay non-essential scripts, split long tasks
Poor INP on one specific control, such as a filterExpensive event callback (processing duration)Do the minimum work in the handler and yield before non-visual work
Poor INP after updates that change a lot of the pageLarge rendering work after the handler (presentation delay)Reduce DOM size and the amount of layout each update triggers
Field CLS poor but Lighthouse CLS fineShifts after load: lazy content without reserved space, hover effectsReproduce while scrolling in the live metrics view, reserve space
Content jumps when an ad or embed loadsNo space reserved for late-loading slotsSet min-height or aspect-ratio on the container
Text reflows when the web font arrivesFallback font with different metricsUse font-display: optional or tune fallbacks with size-adjust

Two habits make this table more useful. First, fix one cause at a time and re-test, so you know which change moved the metric. Bundling five changes into one release leaves you guessing when field data shifts a month later. Second, fix at the template level. Because Search Console groups similar URLs, a single change to a product template can move thousands of URLs at once, while a fix on one hand-picked page may not change any group's status. Platform-specific advice helps here; our Shopify speed optimization guide shows how this works on a hosted theme.

How do you verify that a Core Web Vitals fix worked?

Re-run the same lab test right after deploying to confirm the cause is gone, then watch field data. In Search Console, click Start Tracking on the issue to begin a 28-day monitoring session; the issue is marked fixed only if no URL on the site shows it during that window.

Lab tests give an immediate signal. Run the same URL, device setting, and tool you used for diagnosis, and compare the subpart that dominated before. If LCP render delay was the problem, check that the main-thread work in the diagnostics went down, not only the headline score, because single lab runs vary.

Field data takes longer. Search Console's documentation explains that Start Tracking restarts the clock on a 4-week monitoring period of CrUX data for your site and does not trigger re-indexing or any other active behavior from Google. During validation each URL shows Pending, Passed, or Failed. If validation fails, fix the remaining issue and click Start new validation. Pages that have been removed and have no data in the last 28 days drop out of the report.

Your own real-user monitoring closes the gap while you wait. With the web-vitals attribution data from the previous section, you can see the new distribution within days instead of waiting for the full CrUX window. Use that to catch regressions early, then confirm with the Search Console validation once the 28 days pass.

Finally, keep checking after the issue closes. Performance regresses quietly when new tags, widgets, or heavier images are added. A periodic crawl with Rank Crown's site audit catches slow templates across the whole site, and the technical SEO checklist and site audit guide show where performance fits among your other technical checks.

Frequently Asked Questions

Why does PageSpeed Insights show a poor lab score but a passing Core Web Vitals assessment?

The two halves of the report measure different things. The assessment at the top uses 28 days of Chrome UX Report data from real visitors, while the score below comes from one simulated load on a throttled device with a cold cache. Real visitors often have cached resources, faster devices, or bfcache restores, so field results can be much better than the lab run.

Which data does Google use for Core Web Vitals in Search?

Search Console's Core Web Vitals report is built on real-world usage data, the same Chrome UX Report field data that PageSpeed Insights shows at the top of its report. Lab scores from Lighthouse are diagnostic. Use them to find causes and test fixes, and use field data to judge whether real visitors now get a good experience.

How do I find out what my LCP element is?

Run the page through PageSpeed Insights or a Lighthouse audit and open the Largest Contentful Paint element diagnostic, or record a page load in the Chrome DevTools Performance panel and look for the LCP marker. For real users, the attribution build of the web-vitals library reports the element and a breakdown of where the LCP time went.

Can Lighthouse measure INP?

Not on a normal page load, because INP needs real interactions such as taps, clicks, and key presses. Lab reports show Total Blocking Time instead, which web.dev describes as a lab metric meant to help diagnose INP issues. A high TBT warns that the main thread is busy during load, but your field INP can still be good if users interact later.

How long does it take for Core Web Vitals fixes to show in Search Console?

Expect weeks, not hours. Field data is aggregated over a rolling 28-day window, so a fix only fully shows once old visits age out. When you click Start Tracking in the Core Web Vitals report, Search Console begins a 28-day monitoring session and marks the issue fixed only if it does not appear on any URL in that window.

Why is my page missing from the Core Web Vitals report?

Usually because it does not have enough real-user data. A URL group needs a minimum amount of data to be shown, and when it falls short Search Console rolls the URLs into a broader origin group. A URL group also needs threshold data for both LCP and CLS to appear. Low-traffic pages may therefore only have origin-level data.

What is a good Core Web Vitals score?

According to web.dev, a good experience means Largest Contentful Paint within 2.5 seconds, Interaction to Next Paint of 200 milliseconds or less, and Cumulative Layout Shift of 0.1 or less. Each is measured at the 75th percentile of page loads, segmented by mobile and desktop, so most visits need to meet the target, not just your own test.

Does improving Core Web Vitals guarantee better rankings?

No. Core Web Vitals describe page experience, which is one of many signals Google considers, and relevance and content quality still matter far more for most queries. Fixing poor vitals removes a disadvantage and makes the page better for visitors, which is worth doing on its own, but it will not lift weak content into the top results by itself.

Find slow templates before your visitors do

Crawl your site to spot slow pages, heavy resources, and technical issues across every template, then fix them in priority order.

Explore the site audit