All articles
November 15, 2026

Interaction to Next Paint (INP): how to measure and improve it, 2026

Interaction to Next Paint is good at 200 ms or less. Learn how to measure INP in the field and lab, then fix input delay, processing and presentation delay.

Abstract flow of connected boxes and arrows with one acid step on a dotted canvas
Illustration: Kallos Labs.

What Interaction to Next Paint measures

Interaction to Next Paint (INP) measures how long your page takes to show the next frame after a click, tap or key press. A good score is 200 milliseconds or less. INP replaced First Input Delay as a Core Web Vital, and it looks at the whole visit instead of only the first interaction. Google's web.dev guide notes that about 90% of the time on a page is spent after it loads, which is why one early measurement was never enough.

Pipeline diagram with three steps: Input delay, Processing duration and Presentation delay
Pipeline: What Interaction to Next Paint measures.

Below: what the metric counts, how to measure it with real users and in the lab, and where a slow interaction loses its time.

Which interactions count

Only three kinds of input are observed: mouse clicks, touchscreen taps, and key presses on physical or onscreen keyboards. Hovering, scrolling and zooming are not observed. INP also ignores what happens after the paint, such as a network fetch that finishes later. It measures how long the next paint is blocked, because people need quick visual proof that their input registered.

So a page can show no INP value at all. According to web.dev, no value is reported when the visitor never clicked, tapped or pressed a key, when they only scrolled or hovered, or when a bot such as a search crawler visited.

Thresholds and how the value is calculated

INP is judged at the 75th percentile of page loads, separately for mobile and desktop.

RatingINP at the 75th percentile
Good200 ms or less
Needs improvementAbove 200 ms, up to 500 ms
PoorAbove 500 ms

For most pages, the reported interaction is the one with the worst latency. On pages with many interactions, one highest-latency interaction is ignored for every 50 interactions, so a single random stall does not define the page.

The three phases of an interaction

Every interaction splits into three parts, and each one adds to the total:

  1. Input delay: the time before event handlers start running, often because a long task is occupying the main thread.
  2. Processing duration: the time the event handlers take to run.
  3. Presentation delay: the time from the end of the handlers until the next frame appears on screen.

Which phase dominates tells you which fix to try first. The rest of this article follows that split.

First Input Delay covered only the input delay of the first interaction. INP covers all three phases of every interaction, which is why a page that passed FID can still fail INP. If you also tune images, the same Core Web Vitals thinking applies to LCP: see image formats and lazy loading that protect LCP.

Measure INP in the field

Field data comes from real visitors on real devices, and it is the number that counts. There are two layers.

Chrome UX Report (CrUX) and PageSpeed Insights. CrUX is the public dataset of field measurements. PageSpeed Insights shows page-level and origin-level INP from it, and the metric appears as interaction_to_next_paint in the CrUX API and BigQuery, according to the Chrome team. That post dates from 2022, so use it for the field names and check current documentation for anything else. CrUX tells you whether you have a problem. It does not tell you which interaction caused it, so you need your own data next.

Your own real user monitoring. The web-vitals JavaScript library reports INP from your visitors to whatever analytics you use. Its onINP function reports when the visitor leaves or closes the page by default. The attribution build adds the diagnostic detail that CrUX lacks, including the element that was targeted and the split between the three phases. Per the web.dev optimization guide, field data from a monitoring provider is the best way to see which interaction produced the value, whether it happened during load, and what input type triggered it.

Build selectors you can aggregate. Class names change with each build, and script file names carry hashes. The Google codelab on measuring INP suggests mapping selectors to stable component or role names and stripping build hashes from script URLs before you send the data.

Measure INP in the lab

Once field data points at a slow interaction, reproduce it where you can inspect it. Lighthouse does not report INP directly, so open the Chrome DevTools Performance panel instead.

  1. Switch to mobile device emulation. Most INP problems show up on phones.
  2. Open the Performance panel settings and turn on CPU 4x slowdown. A desktop machine is much faster than most phones, and without the slowdown a slow handler can look fine.
  3. Add the attribution build of web-vitals to the page and log the result with reportAllChanges turned on:
import { onINP } from 'web-vitals/attribution';

onINP(console.log, { reportAllChanges: true });

With reportAllChanges, the library reports each time an interaction becomes the slowest so far, so you see results while you test instead of only when you leave the page. The logged object includes the target selector, the interaction type, inputDelay, processingDuration and presentationDelay. It also lists every event handled in the same frame and the Long Animation Frame entries, which name the script, function and character position responsible. A large forcedStyleAndLayoutDuration points to layout thrashing, covered below.

Test your common user flows. Interact while the page is still loading too, since that is when the main thread is usually busiest.

Reduce input delay by breaking up long tasks

Input delay is time the browser spends busy before it can even start your handler. The usual cause is a long task on the main thread. The web.dev guidance singles out script loading, parsing and compilation during startup, because large scripts can block input while they run.

What to do:

  • Load less JavaScript up front, and defer what the first screen does not need.
  • Split large scripts so they run as several short tasks.
  • Check for other work competing with the click: timers, fetch handling and overlapping interactions.

Third-party embeds often create these tasks. For one concrete case, see fixing Core Web Vitals on embedded menus.

Reduce processing duration by yielding

Processing duration is the time your event handlers run. Keep callbacks as light as possible, then split what remains so the browser can paint between pieces.

Yielding to the main thread means ending the current task and continuing in a new one. setTimeout is the common tool, and you can wrap it in a small helper:

function yieldToMain() {
  return new Promise((resolve) => setTimeout(resolve, 0));
}

async function onSave() {
  updateButtonState();      // what the next paint needs
  await yieldToMain();
  saveDraftToStorage();     // everything else can wait
  await yieldToMain();
  sendAnalyticsEvent();
}

Order matters. Run only the logic needed for the next visual update first, then defer the rest, such as saving data or sending analytics. Web.dev also suggests queuing deferred work inside a requestAnimationFrame() callback so it does not block the next frame.

Then look for layout thrashing. It happens when JavaScript writes a style and then reads a layout value in the same task, which forces the browser to compute layout synchronously. Batch all reads together, then all writes.

Reduce presentation delay

Presentation delay is the gap between the end of your handlers and the frame appearing. Rendering work grows with page size, so most fixes here are about doing less of it:

  • Keep the DOM small. Large DOMs make rendering slower at load and during interactions. Flatten where you can, and add content in response to interactions instead of rendering everything up front.
  • Use CSS content-visibility. It lets the browser skip rendering off-screen elements until they approach the viewport.
  • Be careful with client-side HTML rendering. Building large amounts of HTML in JavaScript can stop the browser from yielding and delay the next frame. This applies to single-page apps and to any page that renders content in response to a click.

Each iframe has its own main thread, so check which frame the slow interaction happened in. INP is still reported for the page as a whole, including iframe interactions.

Make INP work a routine

Improving INP is iterative. Fixing the slowest interaction often reveals the next one, and a new feature can bring the problem back. A workable routine is to check CrUX for the trend, read your attribution data for the worst interaction, reproduce it with CPU throttling, fix the phase that dominates, and measure again.

If your team needs help turning field data into a prioritized fix list, that is part of our web development work at Kallos Labs. The method above works without us.

Frequently asked questions

What is a good Interaction to Next Paint score?

A good score is 200 milliseconds or less at the 75th percentile of page loads, measured separately for mobile and desktop. Above 200 ms and up to 500 ms needs improvement, and above 500 ms is poor.

Does scrolling count toward INP?

No. INP observes clicks, taps and key presses only. Hovering, scrolling and zooming are not observed, although a gesture around them can include a click or tap that does count.

Why does my page have no INP value?

No value is reported when the visitor never clicked, tapped or pressed a key, when they only scrolled or hovered, or when a bot visited the page. Pages without enough field data are also left out of the CrUX report.

Does Lighthouse report INP?

Not directly. Lighthouse points to Total Blocking Time as a lab stand-in. To reproduce INP, use the DevTools Performance panel with CPU throttling, or log onINP from the web-vitals library.