Skip to content

This guide answers: interaction to next paint: what replaced fid and how to fix a poor score

Interaction to Next Paint: what replaced FID and how to fix a poor score

Interaction to Next Paint replaced First Input Delay as a Core Web Vital on March 12, 2024. Learn how INP is scored and how to fix a poor result.

By Hannah Wells, Technical SEO, site performance and online stores
· 6 min read

updated 

Interaction to Next Paint: what replaced FID and how to fix a poor score
FIG. 01 Photo geralt / Pixabay

Short answer

Interaction to Next Paint, or INP, replaced First Input Delay (FID) as a Core Web Vital on March 12, 2024. It measures how long a page takes to show a visual response after a click, tap or key press. A good score is 200 milliseconds or less at the 75th percentile, and a poor score is anything above 500 milliseconds.

Key points

  1. INP times one thing: the gap between a user action (a click, a tap, a keyboard input) and the moment the browser paints the next visual update.
  2. Google sorts INP results into three bands. The bar below shows them side by side.
  3. The causes are usually found in the three phases described earlier.
  4. There is no single fix that works everywhere. What helps depends on where the time goes on your pages.

What Is Interaction to Next Paint and Why It Replaced FID

INP times one thing: the gap between a user action (a click, a tap, a keyboard input) and the moment the browser paints the next visual update. If you press a button and nothing changes on screen for a noticeable moment, that wait is what INP captures.

FID looked at a much narrower slice. It measured only the input delay, the time before the browser even starts processing the interaction. INP covers the full cycle, and that cycle has three measurable phases:

Phase 1: Input delay
The time before the browser can start processing the interaction.
Phase 2: Event handler
The time spent running the code attached to the interaction.
Phase 3: Presentation delay
The time until the next frame is painted on screen.

FID only ever saw the first box. That is why Google moved on: the explanation given for the change is that FID missed 90 % of interaction time. A page could post a fine FID and still feel sluggish, because the slow part happened in the handler or in the painting that followed.

INP is permanent. Google confirmed this in March 2024, so it is not a trial metric that will quietly vanish.

One point deserves care. INP is not a ranking factor, according to Google’s official stance. Fixing it makes pages better to use. Do not expect a ranking boost, and be wary of anyone who promises one.

How INP Is Measured and Scored

Google sorts INP results into three bands. The bar below shows them side by side.

Good
Needs improvement
Poor
0 ms200 ms500 msand above

Good is 200 milliseconds or less. Needs improvement runs from 200 to 500 milliseconds. Poor is above 500 milliseconds. The segment widths are only a visual aid.

The score is read at the 75th percentile. In practice, three quarters of the interactions recorded on a page must be at or under the threshold for the page to pass. This way the figure reflects what users experience at scale, not the best case on a fast laptop.

Lab data and field data

Two kinds of data feed the picture, and they answer different questions.

  • Field data comes from real visitors. The Chrome User Experience Report (CrUX) collects it, and it surfaces in Google Search Console’s Core Web Vitals report and in PageSpeed Insights.
  • Lab data comes from a controlled test, for example the Performance tab in Chrome DevTools. It is repeatable and lets you see exactly what the main thread was doing, but it only reflects the interactions you perform yourself.

Use field data to learn whether you have a problem, and lab data to find out why.

What Causes Poor INP Scores

The causes are usually found in the three phases described earlier. The common ones are:

  • Long JavaScript tasks that block the main thread, so the browser cannot respond to the interaction.
  • Event handlers that do too much work before the screen is allowed to update.
  • Third-party scripts, such as analytics, chat widgets and ad networks, that run at critical moments.
  • A complex DOM, where each change triggers expensive style recalculation.

A simple example, with no code: imagine a button click that triggers a database call before showing any visual feedback. The user taps, nothing moves, and the page looks frozen until the call returns. The handler is the slow part, and INP records the whole wait.

Third-party scripts deserve special mention because they are easy to forget. They can start running just as a visitor interacts, and they compete for the same main thread as your own code.

How to Fix Poor INP (Step by Step)

There is no single fix that works everywhere. What helps depends on where the time goes on your pages. The steps below are the ones to try, roughly in the order they pay off.

Break long tasks

Insert yield points so the browser can paint feedback between chunks of work. Google’s specifications describe a scheduler.yield() pattern for this. Browser support for it varies, so check a current compatibility table before relying on it.

Show feedback first

Update the interface immediately: disable the button, show a spinner, confirm the click. Then do the heavy work. The user sees a response at once, and the next paint is no longer waiting on your logic.

Defer what is not urgent

Use requestIdleCallback for work that can wait, and consider Web Workers for analytics and telemetry so they stay off the main thread. Support differs between browsers here too, so test before you ship.

Trim the event handlers

Strip each handler down to what the visitor needs to see. Move side effects, such as logging or syncing, somewhere they cannot hold up the paint.

Lazy-load third-party scripts

Delay them until the main thread is idle. If a script has no clear purpose, consider removing it.

Reduce DOM size

Virtualize long lists so only visible rows exist in the page, and simplify selectors to cut style recalculation cost.

Verify the fix

Confirm that the 75th percentile is at or under 200 milliseconds in the next CrUX cycle. Field data updates over time, so a fix will not show up in it immediately.

Tools to Diagnose INP

Several tools cover the job, and none is required over another. The free and official ones come first.

  • Chrome DevTools: the Performance tab and its long task profiler show what blocked the main thread. Free.
  • Google Search Console: the Core Web Vitals section groups your URLs by status. Free and official.
  • PageSpeed Insights: combines field data with a lab run. Free and official.
  • CrUX: the real user dataset behind those reports.
  • WebPageTest: a lab testing tool for deeper inspection.

Start with Search Console to find the affected URL groups, check them in PageSpeed Insights, then reproduce the slow interaction in DevTools.

Quick Checklist for Developers

These are steps to check, not promises of a result. Google’s Search Central and web.dev documentation cover each of them.

  • Check the Core Web Vitals report in Search Console for URLs marked poor or needing improvement.
  • Reproduce a slow interaction in the Performance tab and find the long task.
  • Make sure visual feedback appears before heavy work starts.
  • Split long tasks and add yield points.
  • Slim down handlers and push side effects away from the paint.
  • Delay third-party scripts until the main thread is idle.
  • Reduce DOM size and selector complexity.
  • Re-check the 75th percentile after the next CrUX cycle.

What This Article Cannot Tell You

Some questions have no honest answer here, and it is better to say so.

  • Ranking impact: Google says INP is not a ranking factor, so no ranking effect is claimed.
  • Your own numbers: no live CrUX data was available for your site, so no test results are given. Measure your own pages.
  • Future Core Web Vitals changes: Google does not publish a roadmap, so none is guessed at.
  • A universal fix: the right remedy depends on your site, your scripts and your pages. There is no magic bullet.

Read next in Technical SEO

seo-service-journal technical-seo

How Google crawls a website: crawl budget, crawl rate and what slows it down

· 8 min read

seo-service-journal technical-seo

Indexing explained: why a page is crawled but not indexed

· 8 min read

seo-service-journal technical-seo

Robots.txt: syntax, common mistakes and how to test it

· 6 min read

Free newsletter · every Monday

The Monday Crawl

One email each Monday: what changed in the official search documentation, and what to check on your own site.

Free. One click to unsubscribe. We use your email only to send the newsletter. Privacy policy.