In March 2024, Interaction to Next Paint (INP) replaced First Input Delay (FID) as the Core Web Vital for responsiveness. Many sites that comfortably passed FID found themselves failing INP. The reason is that INP measures much more of what users actually experience.

What FID measured

FID measured only the delay before the browser could start handling the first interaction on a page: the time the main thread was busy when the user first clicked or tapped. It ignored how long the handler took to run, how long until the screen updated, and every interaction after the first.

What INP measures

INP looks at all interactions (clicks, taps and key presses) during the visit, and for each one measures the full time from input to the next paint:

PartMeaning
Input delayWaiting for the main thread to be free
Processing timeRunning your event handlers
Presentation delayRendering and painting the result

The page's INP is roughly the worst interaction latency, ignoring a few outliers on pages with many interactions.

RatingINP at p75
Good≤ 200 ms
Needs improvement200 – 500 ms
Poor> 500 ms

Why sites fail INP

  • Heavy event handlers (filtering a large list on each keystroke, re-rendering big component trees).
  • Long tasks from third-party scripts that happen to run when users interact; see third-party scripts and performance.
  • Large DOMs that are slow to update and render.
  • Hydration and startup work still running when users start interacting.

Finding slow interactions

In the field, real-user monitoring that records INP with the interaction target (which element was clicked) tells you which interactions are slow on which pages. In the lab, the Performance panel shows long tasks during an interaction. The Long Animation Frames API gives more detail on what scripts ran during slow frames.

Fixing slow interactions

  1. Do less in the handler: update the visible state first, defer the rest.
  2. Yield to the main thread between chunks of work so the browser can paint:
async function onFilterChange(value) {
  showSpinner();                         // immediate visual feedback
  await scheduler.yield?.() ?? new Promise((r) => setTimeout(r));
  applyFilter(value);                    // heavy work after the next paint
}
  1. Debounce input handlers that run expensive work on every keystroke.
  2. Reduce rendering cost: smaller DOM, virtualized lists, avoiding layout thrashing.
  3. Move heavy work off the main thread with Web Workers.
  4. Load third-party scripts later.

More detail in how to improve INP and Total Blocking Time.

Worked example

An e-commerce listing page passed FID (p75 30 ms) but had INP p75 of 480 ms on mobile. Field data showed the slow interaction was the price filter: each change re-rendered 200 product cards synchronously. The team showed the filter state immediately, rendered results after yielding, virtualized the grid and removed a heatmap script that ran on every click. INP p75 fell to 170 ms.

Monitoring INP

Track p75 INP per page template and device from real users; INP needs real interactions, so lab tools can only approximate it. VitalRix real user monitoring records INP, LCP and CLS per page from real visitors, and the free INP check measures how a page responds to input in a real browser. See also Core Web Vitals explained.

Common mistakes

  • Optimising only page load while interactions stay slow.
  • Testing on a fast laptop, where interactions feel instant.
  • Looking only at the first click, the FID habit.

Prioritising INP work

Start with the pages that matter most and have the most traffic, on mobile. Within a page, fix the interaction that is slowest and most common first; field data that records the interaction target makes this easy. Re-measure after each change for a few days, since INP at p75 needs enough real interactions to move. For frameworks, see React performance monitoring and Vue performance monitoring.

When did INP replace FID?

INP became a Core Web Vital in March 2024, replacing FID.

Why is my INP bad when FID was good?

FID only measured input delay on the first interaction. INP includes handler and rendering time for every interaction, which reveals slow handlers and heavy updates.

Can I measure INP in Lighthouse?

Not directly; it needs real interactions. Total Blocking Time is a lab proxy, and real-user data gives true INP.

Try VitalRix free

Uptime monitoring, APM, logs, real user monitoring and status pages in one place. No credit card needed.