# Interaction to Next Paint (INP)

What is Interaction to Next Paint (INP)?

Interaction to Next Paint (INP) measures how quickly a page responds when a visitor clicks, taps or presses a key. It times each interaction from the input until the browser paints the next frame, the first moment the visitor sees a response, and reports one value for the whole visit. It is the responsiveness metric among the [Core Web Vitals](/glossary/core-web-vitals).

## How it works

An interaction's latency has three parts: the input delay before the first event handler can start, the time the handlers take to run, and the presentation delay until the next frame is on screen. Hovering, scrolling and zooming are not counted.

INP is the slowest interaction of the visit, with one outlier ignored for every 50 interactions, and it is calculated when the visitor leaves the page. web.dev counts 200 milliseconds or less as good and more than 500 milliseconds as poor, at the 75th percentile of page loads recorded in the field, segmented across mobile and desktop devices.

In March 2024, INP replaced First Input Delay (FID) as a Core Web Vital. FID measured only the first interaction's input delay.

INP needs real interactions. A lab tool that only loads the page, such as [Lighthouse](/glossary/lighthouse) in its default navigation mode, cannot report it and shows Total Blocking Time (TBT) instead: the time long tasks blocked the main thread after the first content appeared. web.dev calls TBT a reasonable proxy for INP in the lab, but not a substitute. Lighthouse's timespan mode in Chrome DevTools lets you interact with the page while it records, and then reports INP for those interactions.

## Why it matters

Chrome usage data shows that 90% of a user's time on a page is spent after it loads. A page that freezes after a click feels broken.

## What can go wrong

- Long tasks on the main thread, including those from third-party scripts, make the input wait before any handler can run.
- An event handler does too much work before the browser gets to paint.
- A very large DOM makes each rendering update expensive.
- A lab test that never interacts with the page during load, when the main thread is often busiest, misses the slow interactions visitors meet.

## Check it

INP comes from field data. PageSpeed Insights shows it from the Chrome User Experience Report when your site is in that dataset, and the web-vitals JavaScript library measures it in your visitors' browsers. To reproduce a slow interaction, the Performance panel in Chrome DevTools shows your local INP as you interact.

Read this definition in a browser: https://ranetrace.com/glossary/interaction-to-next-paint
