Improve INP in WordPress: How Your Site Responds Faster

Titelbild: INP verbessern in WordPress: So reagiert deine Seite schneller

To improve Interaction to Next Paint (INP) in WordPress, you reduce JavaScript, split up long tasks, delay third-party scripts and keep the page structure lean. An INP of at most 200 milliseconds counts as good.

Interaction to Next Paint, or INP for short, measures how quickly your page responds to clicks, taps and keyboard input. Since March 2024 it has replaced the former First Input Delay as a Core Web Vital. It is much stricter, because it looks not only at the first interaction but at all interactions during the entire visit. If you want to Improving INP you therefore need to understand what happens in the browser when someone taps a button, opens a menu or fills in a form. This article explains it in plain language and shows concrete steps for WordPress.

You will find an overview of all three metrics in Improving Core Web Vitals. For loading behavior, also read Improving LCP, and for layout shifts Fixing CLS.

Infographic: improving INP in WordPress, reduce JavaScript, split up long tasks and delay third-party scripts
Infographic: Improve INP in WordPress (click to enlarge)

What exactly INP measures

With every interaction, time passes until the user sees a visible response. INP looks at all interactions in a session and picks the slowest value—in very long sessions of 50 or more interactions, one outlier is ignored per 50 interactions (the 98th percentile). For your site's overall score, Google evaluates the 75th percentile of all real user visits. The thresholds:

  • Good: up to 200 milliseconds
  • Needs improvement: 200 to 500 milliseconds
  • Poor: over 500 milliseconds

A single interaction consists of three parts: the input delay (the browser is still busy), the processing time (your JavaScript runs) and the presentation delay (the browser draws the result). Each part can be your problem, and all three depend on the so-called main thread, the browser's main working thread.

Why the main thread is the bottleneck

The browser can only do one thing at a time per page. If a long script is running, the visitor's click has to wait. A task that takes longer than 50 milliseconds is called a “long task”. The more long tasks your page has, the more often it feels sluggish. The goal of every INP optimization is therefore: less and shorter JavaScript on the main thread.

Illustration on improving INP in WordPress

Why WordPress sites often have a poor INP

WordPress itself is not the problem. It is the extensions that accumulate over the years:

  • Many plugins, each loading its own JavaScript on every page
  • Page builders with a large DOM and heavy front-end logic
  • Tracking, chat and advertising from third parties
  • Cookie banners with complex scripts
  • Sliders, animations and effectsthat trigger heavy calculations on every interaction
  • A huge DOM with thousands of elements that is recalculated on every change

This quickly adds up, especially on sites with Elementor or similar builders. You will find tips on this in Elementor page speed. For online shops, dynamic cart scripts (cart fragments) and filter logic are added; more on this in WooCommerce too slow.

Step 1: Find problematic interactions

Without measuring you are only guessing. This is how you find out which interaction slows things down:

  1. Search Console: The “Core Web Vitals” report shows which URL groups fail on INP.
  2. PageSpeed Insights: The field data reveals the real INP value of your visitors. Lab data cannot measure INP because no real clicks take place; instead, Total Blocking Time (TBT) is shown as an approximation. How to read both is explained in Understanding PageSpeed Insights.
  3. Chrome developer tools: In the “Performance” tab you record an interaction, for example a click on the menu, and see the breakdown into input delay, processing and presentation.
  4. Test with real users: Click your way through the menu, search, filters, forms and cart, ideally with an older phone.

Test on a weaker device. On a fast laptop problems often do not show at all, but on a cheap Android phone they show immediately.

Step 2: Remove unneeded JavaScript

The fastest script is the one that does not run at all. Go through your plugins and ask honest questions: Do you really need this plugin? Is there a lighter solution? Does it load its scripts on every page even though it is only needed on one?

Load scripts per page

With script managers such as Perfmatters, Asset CleanUp or custom wp_dequeue_script rules, you can, for example, load the contact form script (such as Contact Form 7) only on the contact page. This reduces the work on all other pages. After each switch-off, test whether everything still works, because some scripts depend on each other.

Replace plugins

A plugin for a single small effect, such as a slider or an animation, can often be replaced with a simple CSS solution. Less code means less work for the browser.

Step 3: Split up long tasks

If a script runs for more than 50 milliseconds in one go, it blocks clicks. Developers can split the work into small pieces and give the browser room in between so that input gets processed. Techniques include splitting with setTimeout or the modern scheduler.yield. For most site owners this is handiwork that a developer takes over. But you can have someone check which scripts create the longest tasks and tackle those specifically.

It is also important to show visible feedback first on interactions and do the heavy work afterwards. If a click on “Add to cart” immediately shows a loading indicator, the browser completes the next paint right away and the measured INP stays low, even if calculations are still running in the background.

Step 4: Get third-party scripts under control

Scripts from third parties are the most common reason for poor INP values. These include analytics tools, ad networks, chat widgets, social media embeds and review portals.

  • Delay: Load chat, maps and videos only after the first user interaction or when scrolling, for example via plugins like WP Rocket, Perfmatters or FlyingPress.
  • Preview images instead of embeds: For YouTube videos, first show an image and load the player only after a click.
  • Clean up: Remove tracking that nobody evaluates any more.
  • Consolidate: A tag manager can bundle scripts but should itself be kept lean.
  • Respect consent: Scripts that may only run after consent should also only be loaded then. This helps privacy and speed.

Step 5: Keep the DOM small

The more HTML elements a page has, the longer the browser needs for every change. As a rough guideline, under 1,500 elements are uncritical, and from about 3,000 it becomes noticeably sluggish. Typical causes are nested containers in page builders, huge menus, long product lists without pagination and mega footers.

  • Simplify nested layouts
  • Use pagination or “Load more” instead of endless lists
  • Reduce hidden elements such as invisible popups and tabs that are still in the code
  • On long pages, use techniques such as content-visibility so that areas outside the screen are rendered later

Step 6: Keep event handlers lean

Every script that reacts to clicks, scrolling or keyboard input consumes time. Watch out for these patterns:

  • Scroll and resize handlers without throttling (throttling or requestAnimationFrame)
  • Animations that calculate layout on every frame: Use CSS properties such as transform and opacity
  • Forms with live validationthat start heavy scripts on every single input
  • Search fields with instant suggestions (Ajax live search) that send requests on every keystroke. A short delay of 250 to 300 milliseconds (debounce) helps.

Step 7: Do not forget hosting, caching and page structure

INP looks like a pure front-end topic but indirectly also depends on the rest. If the page finishes loading late, the scripts run bundled together and then block interactions exactly at the moment visitors are already clicking. A good cache, a fast server and lean resources therefore help here too. See WordPress caching and Setting up a WordPress CDN.

Practical example: A menu that takes 600 milliseconds

A common real-world case: on a phone it takes 0.6 seconds until the mobile menu opens after tapping. The recording in Chrome DevTools shows three concrete causes. First, a tracking script is still running when you tap and blocks for 180 milliseconds (input delay). Second, the menu script recalculates the position of all elements when opening, which takes 250 milliseconds (processing). Third, the browser has to recalculate a DOM of about 4,000 elements, which costs another 170 milliseconds (presentation).

  1. The tracking script was delayed until after the first interaction.
  2. The menu was replaced with a lean CSS variant (with minimal toggle code) that works without a heavy JavaScript library.
  3. The DOM was reduced to about 2,200 elements by removing an unused mega footer and duplicate containers.

Result: an INP of about 140 milliseconds instead of 600. Here too: the numbers are an example, but the approach is transferable. Measure first, then tackle the biggest share.

The three phases of an interaction in detail

Input delay

The visitor taps, but the main thread is busy. Typical at page start, when many scripts run in parallel. Remedies: fewer scripts at startup, delaying non-essentials, leaner themes.

Processing time

Your own code responds to the input. The more work an event handler does, the longer it takes. Remedies: keep handlers short, postpone heavy calculations, cache data.

Presentation delay

After the code, the browser has to recalculate layout and pixels. A large DOM and complex CSS rules make this expensive. Remedies: smaller DOM, simpler selectors, content-visibility for long pages.

Which measure delivers how much?

  • Delay third-party scripts: high impact, low effort
  • Remove unnecessary plugins: high impact, low to medium effort
  • Shrink the DOM: medium to high impact, medium effort
  • Split long tasks: high impact, high effort (developer)
  • Simplify animations: medium impact, low effort
  • Choose a lighter theme: high impact, high effort

INP with typical WordPress elements

Menus and mobile navigation

Menus are among the most frequently used elements. They should get by without heavy libraries. Check whether opening uses a JavaScript animation, and replace it with CSS transitions.

Forms

Contact forms with live checking, captcha and multi-step logic often cause long tasks. Load captcha scripts only when the form gets focus and do without unnecessary validation on every keystroke.

Filters, search and shop functions

Product filters that rebuild the entire list in the DOM on every click are a classic INP killer. Load results page by page via Ajax and show a loading hint immediately. For shops, check out WooCommerce too slow: Causes and solutions.

Accordions, tabs and pop-ups

If all content is already in the code on load and is only hidden, this bloats the DOM. Lean components that provide content only when needed are better.

Checklist for fast responsiveness

  • Checked Search Console for INP problems?
  • Recorded the three most frequent interactions in the Performance tab?
  • Reviewed the plugin list for duplicates and legacy items?
  • Loaded chat, maps and videos only when needed?
  • DOM of the most important pages under 1,500 to 2,000 elements?
  • Animations limited to transform and opacity?
  • Tested on a simple phone?
  • Measured again after updates?

Typical mistakes that worsen INP

  • Optimization plugins without testing: Aggressively combining and delaying scripts can break functions or create new long tasks.
  • Too many effects: Parallax, scroll animations and hover effects cost computing time.
  • Unchecked updates: A plugin update can make behavior worse overnight. Check the values regularly.
  • Looking only at lab values: INP is a field value. Without real user data you are missing the picture.

Myths about INP

  • “A good PageSpeed score means a good INP.” False. The score comes from the lab and does not know real interactions. A value of 95 can go along with a poor field INP.
  • “More caching solves everything.” Caching speeds up delivery, not processing in the browser.
  • “Only large sites have problems.” Small sites suffer too if a single heavy script runs on every page.
  • “Delaying everything is the solution.” If too much is delayed, all scripts run bundled later and block exactly when visitors click. Spread the work instead of just postponing it.

Staying good in the long run

INP is not a value you set once and forget. Every new plugin, every update and every new tracking tool can make it worse. So plan fixed dates: a quick look at Search Console each month, a test of the most important interactions after larger updates and a yearly plugin inventory. Document which scripts you deliberately delayed so that you know where to look at the next update. If you have no time for this, outsource it with Maintenance out.

A practical work plan

  1. Check Search Console and note the weakest URL groups
  2. Record the most important interactions with the developer tools
  3. Remove unnecessary plugins and scripts
  4. Delay or replace third-party scripts
  5. Reduce the DOM of the heaviest pages
  6. Test after every change and check the field data after about four weeks

When support is worth it

Improving INP requires more technical understanding than LCP or CLS, because the causes often sit deep in the code of plugins and themes. If you are stuck, our Pagespeed Boost at $149 helps: we analyze the heaviest scripts, remove ballast and set up caching and optimization cleanly. To keep the value good after updates, it is worth getting Maintenance for $99 per month. You can get a first impression with the free check.

Keep an eye on INP after updates

A good INP value is not a permanent state. Every update of a theme, page builder or plugin can bring new JavaScript and make the response time worse again. So plan a short test after major updates before you leave the changes on the live site.

Open the most important pages and click through typical actions: open the menu, fill in a form, use a filter, expand an accordion. If an action feels sluggish, that is a warning sign. Then measure it and use the developer tools to find out which script causes the delay.

A simple routine for everyday use

  • Document a test before the update
  • Apply updates to a staging site first
  • Check the same actions again after the update
  • If things get worse, replace or roll back the plugin causing it

With this routine a decline is noticed immediately and can usually be fixed with a single step. Without it, you often notice it only when the field data gets worse weeks later.

Conclusion: Less code, more responsiveness

A good INP comes about when the browser is not overloaded with unnecessary JavaScript. Clean up plugins and third-party scripts, keep the DOM small, split up long tasks and test on a simple phone. That way your WordPress site feels fast, and that is exactly what matters to visitors and Google. You will find more on how it all works together in WordPress slow? The most common causes.

Frequently asked questions about INP

What is a good INP value?

Up to 200 milliseconds INP counts as good. Between 200 and 500 milliseconds there is room for improvement, above that it is poor—the decisive benchmark is the 75th percentile of all page visits.

What is the difference between INP and First Input Delay?

First Input Delay only measured the delay of the very first interaction. INP takes into account all interactions during the visit and the complete time until the visible response. That makes it more meaningful and harder to meet.

Why does PageSpeed Insights show no INP in the lab?

INP needs real interactions. Automated lab tests like Lighthouse do not simulate clicks, so substitute metrics such as Total Blocking Time are shown there. You only see real multi-user INP in the field data (CrUX)—or live during manual testing in Chrome DevTools and the Web Vitals browser extension.

Does a caching plugin help with INP?

Only indirectly. Pure page caching speeds up loading, but INP depends mainly on the JavaScript that runs after loading. Only additional features in modern caching plugins that delay JavaScript bring real INP improvements.

Can I improve INP without programming skills?

Partly yes: removing plugins, delaying third-party scripts and simplifying the layout are possible without code. Deeper interventions in long tasks are better handled by a developer.

How quickly do changes affect the value?

The field data is based on the last 28 days. Your success therefore shows with a delay. In the lab you can check improvements immediately with the developer tools.

How many plugins are too many?

The number alone says little. A lean plugin hardly hurts, a poorly programmed one can slow everything down. What matters is how much JavaScript runs on the pages, not how many entries are in the list.

Does faster hosting help with INP?

Only to a limited extent, because INP arises in the visitor's browser. Strong hosting speeds up loading but not the processing of JavaScript on a weak phone.

Are page builders fundamentally bad for INP?

No, but they often create more markup and scripts. With a clean structure, current containers and no unnecessary widgets, good values can be achieved with page builders too.

How much does professional INP optimization cost?

Our Pagespeed Boost costs $149 and covers script analysis, clean-up and optimization. We clarify more elaborate interventions in theme code with you beforehand.

What role does the phone play for INP?

A very large one. Mobile devices have weaker processors, so the same scripts take longer. Since Google evaluates your site via mobile-first indexing and reports mobile Core Web Vitals separately, you should always test on a basic smartphone first.

How often should I check INP?

Once a month in Search Console is enough for most sites. After larger changes, such as a theme change or new plugins, you should measure immediately.

Can a cookie banner worsen INP?

Yes, if it loads heavy scripts or starts many tracking tags at once on click. Choose a light banner and make sure scripts start one after another after consent, not all at once.

Amine Boudounite

About the author

Amine Boudounite

Amin is the founder of Boudmedia and builds WordPress websites, online shops and business sites. In his guides he explains technology, loading speed and visibility so that you can apply them without any prior knowledge.

Contents
Help with your WordPress site?

We take a free look and tell you honestly what is needed and what it costs.

Share post

You might also be interested in

WordPress Backend Slow? How to Speed Up the Dashboard

Wenn das WordPress-Dashboard träge ist: Ursachen und Maßnahmen im Überblick.

Finding and Fixing a WordPress Plugin Conflict

So findest du den Plugin-Konflikt in WordPress und löst ihn ohne Datenverlust.

Google Shopping with WooCommerce: How to Make Your Feed Error-Free

Wie ein sauberer Produktfeed für Google Shopping aussieht und welche Fehler du in WooCommerce vermeiden kannst.

Problems with your WordPress site? We fix them at a fixed price.

  • Free check of your site
  • Honest assessment of what is needed
  • Fixed price before we start
  • Reply within 24 hours on business days
Scroll to Top