Short answer: a good INP is 200 ms or less, measured at the 75th percentile of real visits. To improve it, find the slowest interactions with field data, split each one into input delay, processing time and presentation delay, and fix the biggest of the three. In practice that usually means breaking up long JavaScript tasks, doing less work inside event handlers, and keeping third-party scripts off the main thread while people are trying to use the page.

What INP measures

INP replaced First Input Delay as a Core Web Vital in March 2024. FID only looked at the first interaction, and only at how long it waited to start. INP looks at every click, tap and key press during a visit and reports one of the slowest, from the moment of input to the moment the browser paints the next frame. Scrolling and hovering don’t count.

On pages with lots of interactions, the browser ignores one of the highest values for every 50 interactions, so a single freak result doesn’t define the page. What’s left is close to the worst experience a typical visitor has.

INP at the 75th percentileRating
200 ms or lessGood
200–500 msNeeds improvement
Over 500 msPoor
Google’s thresholds, assessed separately for mobile and desktop.

Every interaction breaks down into three parts, and each has different causes:

  1. Input delay: the time before your event handler starts, because the main thread is busy with something else.
  2. Processing duration: the time your handlers take to run.
  3. Presentation delay: the time from the end of your handlers until the browser has calculated styles, laid out and painted the result.

This split is the most useful thing to know about INP. “Reduce JavaScript” is true but vague; knowing that 80% of a slow tap is input delay tells you to look at what else is running, not at the click handler.

Find the slow interaction first

Lab tools can’t give you INP from a normal page load, because nobody is clicking anything. Lighthouse (and so PageSpeed Insights’ lab section, and the lab half of our own report) shows Total Blocking Time instead: the total time, during load, that long tasks kept the main thread busy beyond 50 ms each. TBT is a good early warning. A page with 800 ms of TBT almost always has input delay problems for anyone who taps early. But TBT won’t tell you that your filter dropdown takes 600 ms to respond after the page has finished loading.

For that you need data from real visits. There are three places to get it, from least to most detailed:

  • Search Console’s Core Web Vitals report groups URLs with poor INP. It tells you which templates have a problem, not which interaction.
  • PageSpeed Insights shows field INP from the Chrome UX Report if the URL (or the whole origin) gets enough Chrome traffic. If you see “no data”, your page is below that threshold, which is common for smaller sites.
  • Your own measurement with Google’s web-vitals library. This is the only option that tells you which element was clicked and which phase was slow.

The attribution build of web-vitals gives you all three phases per interaction. Send them somewhere you can query:

rum.js
import { onINP } from 'web-vitals/attribution';

onINP(({ value, rating, attribution }) => {
  navigator.sendBeacon('/rum', JSON.stringify({
    inp: Math.round(value),
    rating,                                  // good, needs-improvement or poor
    target: attribution.interactionTarget,   // selector of the element
    type: attribution.interactionType,       // pointer or keyboard
    inputDelay: Math.round(attribution.inputDelay),
    processing: Math.round(attribution.processingDuration),
    presentation: Math.round(attribution.presentationDelay),
    page: location.pathname,
  }));
});

After a few days, group the results by target and look at the 75th percentile for each. You’ll usually find that two or three elements account for most of the poor values: a menu toggle, a search box, an “add to cart” button. Those are your work list.

To reproduce one locally, open Chrome DevTools, go to the Performance panel and interact with the page. The live metrics view records INP for each interaction as you go. Turn on CPU throttling (4× or 6×) first; your laptop is several times faster than the median phone, and an interaction that takes 90 ms for you can easily take 400 ms for a visitor.

Fixing input delay

High input delay means the user tapped while the main thread was busy. The handler itself might be quick; it just had to wait. The usual causes:

  • Hydration and start-up JavaScript. On single-page apps, the page can look ready long before it is. A tap during hydration waits for it to finish. Ship less JavaScript on first load, split bundles by route, and lazy-load components below the fold.
  • Third-party scripts. Tag managers, A/B testing tools, chat widgets and consent banners often run long tasks a few seconds after load, right when people start interacting. Audit them in the Performance panel’s “Bottom-up” view grouped by domain. Load chat widgets on first interaction or when the browser is idle rather than on page load. (We’re doing this on our own site, which loads a chat widget on every page today.)
  • Timers and polling. A setInterval that re-renders a carousel or checks for updates every second can be the task that’s running when the tap lands.

The general fix is the same in each case: break long tasks into smaller ones, so the browser has regular gaps to handle input. scheduler.yield() was designed for this. It pauses your code, lets the browser handle pending input and rendering, and then resumes your task ahead of other queued work. It isn’t available in every browser yet, so feature-detect it:

yield.js
// Give the browser a chance to paint and handle input, then carry on.
export function yieldToMain() {
  if (globalThis.scheduler?.yield) {
    return scheduler.yield();
  }
  // Fallback for browsers without scheduler.yield()
  return new Promise((resolve) => setTimeout(resolve, 0));
}

Then yield inside any loop that can run long. Yielding after every item adds overhead, so check the time instead:

process-rows.js
async function processRows(rows) {
  let lastYield = performance.now();
  for (const row of rows) {
    processRow(row);
    // Yield roughly every 50 ms rather than after every item.
    if (performance.now() - lastYield > 50) {
      await yieldToMain();
      lastYield = performance.now();
    }
  }
}

Fixing processing duration

If the handler itself is slow, the question to ask is: what does the user need to see straight away, and what can happen a moment later? Most click handlers mix the two. Here’s a typical one:

before.js
button.addEventListener('click', () => {
  addToCart(item);          // what the user is waiting for
  renderCartBadge();
  sendAnalytics('add_to_cart', item);
  updateRecommendations(item); // 180 ms of work nobody is waiting for
  saveCartToLocalStorage();
});

The user is waiting for the cart badge to change. The analytics call, recommendations and storage write can all happen after the next frame. Update the UI, yield, then do the rest:

after.js
button.addEventListener('click', async () => {
  addToCart(item);
  renderCartBadge();        // the visible response

  await yieldToMain();      // the frame can paint here

  sendAnalytics('add_to_cart', item);
  updateRecommendations(item);
  saveCartToLocalStorage();
});

Nothing got faster here. The same work runs, but the interaction is measured up to the first paint, and the user sees the response first. This one change is often enough to move an interaction from “poor” to “good”.

Other things worth checking inside slow handlers:

  • Layout thrashing. Reading a layout property like offsetWidth right after changing styles forces the browser to calculate layout immediately. Do it in a loop and you calculate it dozens of times.
  • Work on every keystroke. Search-as-you-type that filters a large list on each key press. Debounce the expensive part, or move it to a Web Worker if it doesn’t touch the DOM.
  • Several listeners on one event. Your handler, a tracking script’s handler and a framework’s handler can all run for one click. They all count.
layout.js
// Slow: every iteration forces a fresh layout
cards.forEach((card) => {
  card.style.height = card.offsetWidth * 0.75 + 'px';
});

// Faster: read everything, then write everything
const widths = cards.map((card) => card.offsetWidth);
cards.forEach((card, i) => {
  card.style.height = widths[i] * 0.75 + 'px';
});

Fixing presentation delay

If processing is quick but the next frame still arrives late, the browser is spending its time on style, layout and paint. This grows with the size of the DOM and how much of it changes.

  • Large DOMs. Pages with many thousands of elements (long product grids, mega menus rendered in full, comment threads) are slow to restyle. Render less up front, virtualise long lists, or let the browser skip off-screen sections with content-visibility.
  • Changes high in the tree. Toggling a class on <body> to open a menu can force the browser to restyle the whole page. Scope the change to the element that needs it.
  • Rendering HTML strings. Replacing a large block with innerHTML on interaction means parsing and laying out all of it before the next frame.
styles.css
/* Let the browser skip layout and paint for off-screen sections */
.product-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}

contain-intrinsic-size gives the browser a placeholder height so the scrollbar doesn’t jump. Use a rough real height for the section, otherwise you can introduce layout shift while fixing INP.

React-specific fixes

React apps tend to have two INP problems: long hydration (input delay) and expensive re-renders after a state change (processing and presentation). For the second, React 18 and later let you mark an update as non-urgent so it can be interrupted by the next input:

ProductFilters.jsx
import { useState, useTransition } from 'react';

function ProductFilters({ products }) {
  const [filter, setFilter] = useState('all');
  const [visible, setVisible] = useState(products);
  const [isPending, startTransition] = useTransition();

  function onChange(next) {
    setFilter(next);                    // urgent: the selected chip updates now
    startTransition(() => {
      setVisible(applyFilter(products, next)); // can be interrupted
    });
  }

  return (
    <>
      <FilterChips value={filter} onChange={onChange} />
      <ProductGrid items={visible} dimmed={isPending} />
    </>
  );
}

The selected filter chip updates in the same frame as the click. The grid re-render happens in a transition, which React splits into small chunks and abandons if the user clicks another filter in the meantime. For inputs where the value itself must update on every keystroke, useDeferredValue does the same job for the expensive part that depends on it.

Two more that come up a lot: context providers high in the tree that change on every interaction (every consumer re-renders), and unmemoised list items in long lists. The React DevTools profiler’s “Highlight updates” option shows both quickly.

A short checklist

  1. Collect field INP with attribution for a week, grouped by page template and interaction target.
  2. Pick the two or three worst targets and reproduce each with 4× CPU throttling.
  3. Check which phase dominates: input delay, processing or presentation.
  4. Input delay: cut start-up JavaScript, delay third-party scripts, break long tasks with scheduler.yield().
  5. Processing: update the UI first, yield, then do the non-visual work.
  6. Presentation: shrink the DOM that changes; use content-visibility for long pages.
  7. Deploy, then wait 28 days for the Chrome UX Report (and Search Console) to fully reflect the change. Your own monitoring will show it within days.

Common questions

Why does PageSpeed Insights show no INP for my page?

Field data comes from the Chrome UX Report, which only includes pages and origins with enough eligible Chrome traffic over the previous 28 days. If your page is below that, you’ll see origin-level data or nothing at all. Measuring INP yourself with web-vitals is the way round it.

My Lighthouse score is fine. Why is INP poor?

Lighthouse measures a page load without any interaction. TBT only covers the loading period. If your slow interaction happens later (opening a menu, filtering results, submitting a form), Lighthouse never sees it.

Does INP affect Google rankings?

INP is one of the Core Web Vitals Google uses in its page experience signals. Google has been clear that relevance matters far more; a fast page won’t outrank a better answer. Treat good INP as something that helps at the margins and, more importantly, stops people giving up on your page.

Is TBT the same as INP?

No. TBT is a lab metric covering the load period; INP is a field metric covering the whole visit. They tend to move together because both are driven by long tasks, which is why TBT is a reasonable proxy when you have no field data.