INP replaced FID in Core Web Vitals: how to fix a poor INP score
On 12 March 2024, Interaction to Next Paint (INP) became a Core Web Vital and replaced First Input Delay (FID). The change is now well established in Google's tools, yet many site owners still look for FID in old guides and are surprised by a poor INP score in PageSpeed Insights or Search Console.
This post explains what INP measures, how it differs from FID, and what you can do to improve it.
The current Core Web Vitals
There are three Core Web Vitals, each with a "good" threshold:
| Metric | Measures | Good |
|---|---|---|
| Largest Contentful Paint (LCP) | Loading | 2.5 seconds or less |
| Interaction to Next Paint (INP) | Responsiveness | 200 milliseconds or less |
| Cumulative Layout Shift (CLS) | Visual stability | 0.1 or less |
Each one is assessed at the 75th percentile of real page loads, separately for mobile and desktop. In other words, at least three out of four visits should meet the target.
How the switch from FID happened
INP was introduced as an experimental metric in May 2022. In May 2023, Google announced it would replace FID in March 2024. On 12 March 2024, FID was removed from Search Console and INP took its place. Other tools, including PageSpeed Insights and the Chrome UX Report (CrUX), were given a six-month deprecation period, and applications using the CrUX and PageSpeed Insights APIs had to move to INP by 9 September 2024.
What INP measures, and why it is stricter than FID
FID looked only at the first interaction on a page, and only at the delay before the browser started handling it. A page could score well on FID and still feel slow when a user clicked a menu or a filter later.
INP observes the clicks, taps and key presses during the whole visit. Hovering and scrolling are not counted. For each interaction it measures the time until the browser paints the next frame, and it reports one of the slowest values. On pages with many interactions, one of the highest is ignored for every 50 interactions, so a single random spike does not decide the score.
Each interaction has three parts:
- Input delay: the wait before event handlers start, often because the main thread is busy with other work.
- Processing duration: the time the event handlers take to run.
- Presentation delay: the time from the end of the handlers until the next frame appears on screen.
INP is rated good at 200 ms or less, needs improvement above 200 ms and up to 500 ms, and poor above 500 ms.
How to find the cause of a poor score
- Start with field data. PageSpeed Insights and the Core Web Vitals report in Search Console show real-user INP from CrUX. They tell you that a problem exists, but not which interaction causes it.
- Collect your own data. The open-source
web-vitalsJavaScript library has anonINPfunction. Sending its results to your analytics shows which element and which type of interaction is slow. - Reproduce it in the lab. Open Chrome DevTools, record a performance trace and repeat the slow interaction, ideally while the page is still loading, when the main thread is busiest.
How to improve INP
INP problems usually come from too much work on the browser's main thread, most often JavaScript. These techniques address the common causes:
- Break up long tasks. A long task is any task over 50 milliseconds. While it runs, the browser cannot respond to the user. Split the work and yield to the main thread between steps, for example with
setTimeout, or withscheduler.yield()in browsers that support it. - Do the visible update first. In an event handler, run only the code needed for the next screen update, then defer the rest (saving, tracking, recalculating) to a later task.
- Reduce work during page load. Large scripts that parse and execute at startup cause input delay. Remove unused JavaScript and load non-critical scripts later.
- Avoid layout thrashing. Reading layout values right after changing styles forces the browser to calculate layout synchronously.
- Keep the DOM small. Very large pages take longer to update. CSS
content-visibilitycan skip rendering for off-screen sections. - Review third-party scripts. Chat widgets, tag managers, ads and trackers all compete for the same main thread. Remove what you do not use.
Tips for WordPress sites
On WordPress, a poor INP often comes from heavy page builders, sliders, and several plugins that each load their own scripts. Deactivating plugins one by one on a staging copy is a practical way to find the main cause. Server speed helps LCP more than INP, but a fast, well-cached site leaves more room for the browser to respond. Our guides on speeding up an Elementor site and LiteSpeed and LSCache cover both sides.
What this means for you
- Check the Core Web Vitals report in Search Console and note which page groups have poor INP on mobile.
- Run the worst pages through PageSpeed Insights to confirm the field data.
- Add the
web-vitalslibrary or a real-user monitoring tool to see which interactions are slow. - Reproduce those interactions in Chrome DevTools and look for long tasks.
- Remove or delay unneeded scripts, split long tasks, and retest. Field data in CrUX is based on a rolling 28-day window, so improvements appear in reports gradually.
If you are still using a guide that mentions FID, our older article on optimizing LCP, FID and CLS remains useful for LCP and CLS, while INP replaces the FID part. For a broader speed review, see 12 real causes of a slow website.