PageSpeedIQ
Back to All Audits
Core Web Vital #2 • Interactivity Latency

Interaction to Next Paint (INP)

Interaction to Next Paint (INP) measures responsiveness across all user interactions (clicks, taps, keyboard presses) throughout the entire lifespan of a webpage.

Good (Passing)
≤ 200ms

Buttons, inputs, and carousels respond immediately to taps.

Needs Improvement
200ms – 500ms

Visible UI lag; users often double-click thinking the action failed.

Poor (Failing)
> 500ms

Browser freezes noticeably; high bounce rate and poor SEO.

How to Fix Poor INP Scores

1. Break Up Long Tasks (> 50ms)

Yield control back to the main thread during heavy data parsing using scheduler.yield() or setTimeout(fn, 0).

2. Debounce & Throttle Input Events

Avoid running complex filter calculations on every single keystroke. Debounce search inputs by 150–250ms to keep typing fluid.

3. Minimize DOM Size & Deep Trees

Complex DOM structures force expensive style recalculation and layout reflows whenever a class or attribute changes. Keep DOM nodes below 1,400.

4. Move Non-UI Work to Web Workers

Execute encryption, heavy mathematical operations, and local indexing in background Web Workers so the UI thread remains 100% responsive.