How to improve Interaction to Next Paint
Interaction to Next Paint (INP) measures how long a page takes to react visibly after a click, tap or key press. To improve it, record the slow interaction in Chrome DevTools and find where the time goes: waiting to start, running code, or drawing the update. Fix one cause, then check the same interaction again and watch real-visitor data.
Does cutting JavaScript make clicks respond faster?
Yes, when scripts are holding up the browser. Cutting unneeded JavaScript work can make clicks and taps respond faster. redBus saw 72% better Interaction to Next Paint on its search page after one such fix.
High confidence. Strong evidence, or the platform says so in its own docs. Based on 2 sources: 1 case study, 1 official doc.
What to do
Record a slow click or tap in Chrome DevTools. Find the script holding up that interaction, then remove the unneeded work or delay it until after the page responds.
On this page
Find and repeat a slow interaction
Start with pages whose real-visitor INPINPInteraction to Next Paint: how quickly a page responds after someone clicks, taps, or types. Google calls under 200 milliseconds good. needs work. Search ConsoleSearch ConsoleGoogle’s free dashboard for site owners. It shows which searches bring people to your site and flags problems Google finds.’s Core Web VitalsCore Web VitalsThree measures Google uses for page experience: loading speed (LCP), responsiveness (INP), and visual stability (CLS). report groups them for you. You can also use your own performance monitoring to find specific slow clicks.
Then make it happen yourself. On a store page, tap the color filter on a phone while the product list is still loading. Does the selection show up late? Write down the URL, device, network and exact action so someone else can repeat it.
Bottom line
Write the slow interaction down so anyone can repeat it. You’ll rerun the exact same steps after every fix.
Find which part of the interaction is slow
In Chrome DevTools, open the Performance panel, click record, and do the action. Find the interaction in the timeline and look at the main thread around it. The main thread is where the browser runs your page’s code, one task at a time.
An interaction has three parts. Input delay is time spent waiting for another task to finish. Processing time is your click handler running. Presentation delay is the browser drawing the change. The trace shows which one is longest.
Say a color filter rebuilds the whole product list and runs a tracking script before the checkmark appears. First remove duplicate work. If some work can wait, show the checkmark and a loading state first, then do the rest. If the trace shows a costly layout, reduce how much of the page changes.
Bottom line
Fix the longest of the three parts first, then record the same action again to see whether it worked.
Check the fix with real-visitor data
Repeat the same tap on similar hardware and settings. Check how fast the feedback appears and that the right products still show. In a made-up example, a trace that drops from 350 ms to 170 ms shows that action got faster in testing. It doesn’t tell you what every visitor experiences.
That’s what field datafield dataSpeed measurements from real visitors using Chrome, collected over the last 28 days. is for: measurements from real visitors. Watch field INP after enough people have used the updated page, split by mobile and desktop. Google’s target is 200 ms or less for at least 75% of visits.
The redBus team reported a large improvement after cutting unnecessary re-rendering on one input. Use your own trace to find what matters on your page.
Bottom line
Don’t call it fixed after one good lab test. Wait until real-visitor INP reflects the change.
The evidence
Chrome’s guide explains how scripts can block the browser’s main thread. The redBus team found a concrete example and improved it by changing when the interface updated.
- Optimize Interaction to Next Paint
Long script tasks can occupy the main thread and delay interaction handling. Reducing work and yielding to the browser can make it possible to respond sooner.
- How redBus improved their website's Interaction to Next Paint (INP) and increased sales by 7%
The redBus team reported a 72% improvement in the page’s INP after this change.
Every source above was checked against the original by a second reviewer. How we rate the evidence