Skip to main content
Development

INP Is Now a Core Web Vital: How to Find and Fix Slow Interactions

Interaction to Next Paint replaced FID as a Core Web Vital on 12 March 2024. What INP measures, how to find slow interactions and the fixes that work.

  • Stake Binary Team
  • 3 min read

On 12 March 2024, Interaction to Next Paint (INP) officially replaced First Input Delay (FID) as one of Google's Core Web Vitals — the three metrics Google uses to measure real-world page experience, alongside Largest Contentful Paint (LCP) and Cumulative Layout Shift (CLS).

The change matters because INP is much harder to pass. Many sites that looked fine under FID now show "needs improvement" or "poor" in Search Console.

What INP measures

INP looks at how responsive a page is throughout a visit. Every time someone clicks, taps or presses a key, it measures the time until the browser shows the result on screen. A page's INP is, roughly, the slowest of those interactions.

FID only measured the delay before the first interaction began to be processed. INP measures the full time for every interaction — including the work your code does and the time to paint the update.

INP at the 75th percentileRating
200 milliseconds or lessGood
More than 200 and up to 500 millisecondsNeeds improvement
More than 500 millisecondsPoor

How to find slow interactions

  1. Search Console → Core Web Vitals shows which groups of pages fail INP for real users.
  2. PageSpeed Insights shows field data for a URL or the whole site, collected from real Chrome users.
  3. Chrome DevTools → Performance panel lets you record yourself using the page and see exactly which scripts run when you click.
  4. Real-user monitoring with Google's open-source web-vitals library tells you which element was used and what was slow, on your actual visitors' devices.

Test on a mid-range Android phone, not a developer's laptop. That is where most INP problems show up.

The usual causes — and fixes

Long tasks on the main thread

The browser can't respond while JavaScript is running. Break long work into smaller pieces and give control back to the browser between them — for example with setTimeout, or the newer scheduler.yield() API where browsers support it.

Too much third-party JavaScript

Chat widgets, tag managers, heatmaps and social embeds often run code on every interaction. Remove what you don't use, load the rest later, and keep them off key pages such as checkout.

Doing everything before showing anything

When a user taps "Add to cart", show the visual feedback immediately, then do the slower work — analytics calls, recalculations, network requests — afterwards.

Expensive re-renders in React and similar frameworks

Re-rendering a large part of the page on every keystroke or click is a common cause of poor INP. Keep state close to where it's used, memoise expensive components, virtualise long lists and mark non-urgent updates as transitions.

Very large pages

Thousands of elements on a page make every update slower. Paginate, render below-the-fold content later and simplify heavy layouts.

Hydration cost

On sites built with JavaScript frameworks, the browser has to "hydrate" the page before it can respond. Shipping less JavaScript — for example with server components — reduces that work.

Does INP affect rankings?

Core Web Vitals are part of Google's page experience signals. Relevance and content quality still matter far more, but when pages are otherwise comparable, a fast, responsive page has the edge — and it converts better too.

How we can help

We build fast web applications and online stores, and we audit existing sites to find and fix INP, LCP and CLS issues. Get in touch for a performance review.

Have a project in mind? Let’s build it together.

Tell us about your idea and get a free consultation plus a detailed, no-obligation quote.

Prefer to talk? Call +91-9462562043 or email info@stakebinary.com