Guide

Interaction to next paint (INP): Fixing slow clicks and taps

Interaction to Next Paint (INP) measures how quickly a website visually responds when someone clicks, taps or presses a key.

Interaction to Next Paint (INP) measures how quickly a website visually responds when someone clicks, taps or presses a key. If your mobile menu takes a moment to open, your form appears frozen or your cookie banner responds slowly, INP can help identify the problem. Common causes include busy JavaScript, delayed event handling and expensive rendering. Improving INP means finding the affected interaction and fixing the work blocking the browser, rather than randomly disabling plugins.

This guide helps business owners and marketers investigate INP warnings in Search Console, identify the responsible interaction and give developers a practical brief. You will also learn how to confirm whether a change improves responsiveness for real visitors.

What Interaction to Next Paint measures

Interaction to Next Paint measures the time between a click, tap or key press and the browser’s next visual update. It covers interactions throughout a visit, not simply the first action.

Suppose someone taps your mobile navigation icon while JavaScript occupies the main thread. The menu may not appear immediately, making the visitor think the button is broken.

According to Google’s INP documentation, the thresholds are:

  • Good: 200 milliseconds or less.
  • Needs improvement: More than 200 milliseconds and up to 500 milliseconds.
  • Poor: More than 500 milliseconds.

These thresholds apply to the 75th percentile of real visits, assessed separately for mobile and desktop.

INP replaced First Input Delay (FID) as a Core Web Vital in March 2024. FID measured the delay before the first interaction started processing. INP includes processing and rendering delays across a visit.

Alongside Largest Contentful Paint and Cumulative Layout Shift, INP helps assess user experience. See the three Core Web Vitals for how these metrics work together.

INP generally reflects the longest qualifying interaction during a visit, with an adjustment for pages containing many interactions. This makes occasional severe delays important, even when most buttons respond normally.

A slow button is not necessarily defective. Unrelated scripts can prevent the browser from responding promptly. Identify the interaction, its timing and the blocking work before changing anything.

The interactions that matter on a business site

Visitors describe INP problems as broken menus, frozen forms or unresponsive booking tools. Start with controls that affect enquiries and conversions.

Mobile menus, accordions and tabs

Visitors often open mobile navigation immediately after loading a page, while scripts and tracking code are still executing.

Accordions and tabs may lag when JavaScript performs excessive calculations or updates too many page elements.

Test opening and closing each control. An accordion might open quickly but close slowly because its script recalculates the surrounding layout.

Form fields and submit buttons

Contact forms and checkout fields can involve validation, conditional logic and third-party integrations.

If typing freezes, investigate keyboard event handlers. If submitting appears unresponsive, examine validation and immediate visual feedback.

A slow server response is separate from INP, which measures the browser’s response to an interaction.

Cookie banners, chat launchers and booking widgets

Consent managers may trigger multiple scripts when someone accepts cookies. Chat and booking applications can introduce substantial JavaScript.

Test the mobile menu, accordions, forms, consent controls and embedded widgets shortly after loading and again once the page settles.

For each delayed action, note the control, device and whether the problem happens consistently. These observations help narrow the investigation before recording browser performance.

A slow interaction may originate from an unrelated script. Do not remove a widget simply because its button appears delayed.

The 3 phases of a slow interaction

Every measured interaction can contain three periods of delay. Knowing which phase dominates helps identify the appropriate fix.

The browser’s main thread performs much of the JavaScript and rendering work. When occupied, interactions must wait.

PhaseWhat the visitor experiencesCommon causeTypical fix
Input delayA tap appears ignored before anything happensLong JavaScript tasks occupy the main threadShorten tasks and defer non-critical work
Processing timeThe control takes too long to perform its actionExpensive event handlers or repeated calculationsSimplify handlers and reduce synchronous work
Presentation delayThe action has been processed, but the screen updates lateLarge DOM changes, layout calculations or renderingReduce rendering work and simplify page structures
Interaction to Next Paint timeline showing input delay, processing time and presentation delay before the next frame is painted

Input delay

Input delay begins when someone interacts and ends when the browser starts processing event callbacks.

If an analytics script occupies the main thread, a menu tap waits until the blocking task finishes.

Developers can reduce input delay by splitting long tasks, deferring non-essential work and removing unnecessary JavaScript.

Processing time

Processing time covers execution of the interaction’s event callbacks.

A menu toggle might trigger calculations, class changes and interface updates. Expensive handlers extend this phase.

Simplifying handlers, avoiding repeated calculations and moving non-urgent operations out of the immediate interaction can help.

Presentation delay

Presentation delay begins after callbacks finish and ends when the browser presents its next frame.

Complex layouts, large DOM updates and expensive visual effects can delay that frame.

Reducing unnecessary rendering work and limiting affected page elements improves responsiveness.

Google’s INP optimisation guidance explains these phases and their fixes.

The phases require different solutions. Delaying an analytics script may help input delay but do little for a menu whose own event handler triggers expensive layout calculations.

For problems spanning several scripts, our website performance service can help prioritise the underlying bottlenecks.

How to find the slow interaction

An INP warning identifies delayed responses but rarely names the responsible control. Diagnosis requires field measurements, repeatable testing and browser recordings.

Step 1: Review affected pages

Open Google Search Console and inspect the mobile Core Web Vitals report.

Check the affected URL group and its status. Search Console groups similar pages, so example URLs may not include every affected page.

Enter a representative URL into PageSpeed Insights and examine available real-user INP data.

Check whether the displayed data relates to that URL or the broader origin.

If several URLs share the same template, test representative pages before investigating every URL individually. They may share the same JavaScript bottleneck.

Step 2: Reproduce the interaction

Test the affected page on a mid-range Android phone where possible.

Try navigation, accordions, forms, consent buttons and embedded widgets. Repeat immediately after loading and once the page settles.

Alternatively, use Chrome DevTools with CPU throttling to expose main-thread delays. Simulation helps investigation but cannot replace physical-device testing.

Test with the cookie banner both visible and dismissed. Consent choices may change which scripts execute, making the problem harder to reproduce.

Step 3: Record the interaction

Open Chrome DevTools, select Performance and record while reproducing the slow interaction.

Inspect long tasks, event callbacks, script activity and rendering delays around the tap.

Browser main thread occupied by long JavaScript tasks while a mobile tap waits to be processed

Examine JavaScript call stacks and script URLs where available. A script running near the delay is a clue, not proof of responsibility.

If the recording contains many tasks, focus first on activity immediately before and during the delayed interaction rather than attempting to optimise every script shown.

Step 4: Confirm the cause

Identify whether the suspected script belongs to a theme, plugin, Shopify app, tracking tag or embedded service.

Compare recordings with and without that script on staging. Record the affected control, timing breakdown, suspected cause and proposed correction.

This evidence lets developers address the specific blocking work rather than changing unrelated performance settings.

Common causes on WordPress and Shopify sites

Both platforms can deliver responsive websites. Problems arise when scripts, applications and page structures demand excessive browser processing.

Third-party scripts

Analytics, heatmaps, advertising tags, chat tools and embedded widgets add JavaScript.

Some run long tasks during loading; others activate after clicks or consent changes.

Several scripts executing together may block the main thread even when individual scripts appear manageable.

Review when each script loads and whether its functionality is necessary on the affected page. A booking widget may be essential on a booking page but unnecessary throughout the entire website.

Page builders and theme JavaScript

WordPress builders can load code for sliders, animations, popups and interactive elements.

Depending on configuration, scripts required on one page may load elsewhere.

Our guide to Elementor widget and script weight explains this performance concern.

Shopify themes face similar issues from overlapping app scripts, animations and custom code.

Large page structures

The Document Object Model (DOM) represents webpage elements.

Excessive nesting, hidden duplicate sections and extensive listings can increase layout and JavaScript processing costs.

Removing unnecessary elements may reduce rendering delays.

Consent managers and tag containers

Accepting cookies can activate several marketing tags simultaneously.

Tag managers may also introduce scripts without developer review.

Assign someone responsibility for tracking which scripts are active, why they are needed and when they execute.

The priority is identifying actual main-thread cost, not blaming a platform or counting installed plugins.

Fixes to ask a developer for

The correct INP fix depends on the slow phase and the script responsible. Avoid requesting generic speed improvements without diagnostic evidence.

Break up long JavaScript tasks

Long tasks occupy the main thread while interactions wait.

Developers can divide expensive work into smaller operations and yield to the browser between tasks, allowing important input to receive attention sooner.

For example, a script processing many page elements might handle them in smaller batches rather than completing everything in one blocking operation.

Delay non-critical scripts

Heatmaps, secondary widgets and some tracking functionality may not need to execute immediately.

Deferring unnecessary work can reduce initial contention, but indiscriminate delays may break menus, forms and script dependencies.

Test every affected feature after changes.

A script required for primary navigation should not be delayed simply because a performance plugin offers that option.

Load widgets when needed

A chat application’s full interface may only need loading when someone opens its launcher.

Similar techniques can suit optional booking tools or maps.

The initial button must remain responsive, and the widget must function after loading.

Provide immediate feedback

Forms and other complex actions should acknowledge input promptly.

A button might display “Sending…” while asynchronous processing continues.

However, feedback is ineffective if blocking JavaScript prevents the browser from painting it.

Developers should also ensure feedback is accessible and clearly indicates whether the action is processing, completed or unsuccessful.

Remove unnecessary code

Unused plugins and Shopify apps can introduce avoidable scripts.

Start by auditing what each plugin loads, then remove components without a justified business purpose.

Check dependencies first. Plugin count alone does not establish an INP problem.

Send a precise development brief

Ask your developer to identify the affected interaction, capture a performance recording, attribute blocking work and propose a targeted correction.

Five-step Interaction to Next Paint troubleshooting workflow from identifying a slow interaction to verifying the fix with real visitors

Request before-and-after measurements plus checks that navigation, forms, tracking and other essential controls still work.

A useful brief also identifies the affected device, browser, page URL and steps needed to reproduce the delay. This reduces guesswork and makes the result easier to verify.

This establishes whether the change improved responsiveness without introducing functional problems.

Hypothetical example: a mobile menu that lags

Hypothetical example: An accountancy firm’s mobile menu takes a noticeable moment to open after a tap.

Initially, the navigation script appears responsible. A Chrome Performance recording instead reveals a chat widget and heatmap script executing long tasks shortly after loading.

When visitors tap the menu during those tasks, the interaction waits for the main thread.

The developer disables the scripts temporarily on staging and records the interaction again. The menu responds faster, supporting the diagnosis.

They remove the unused heatmap tag and load the chat application’s full interface only when its launcher is activated.

A further recording confirms less main-thread contention. The developer also checks navigation, forms, consent controls and chat functionality.

They repeat the test immediately after loading, when the original issue occurred, rather than testing only after all scripts have finished.

This example is illustrative, not a measured client result. The important lesson is that the delayed button may not contain the underlying problem.

Confirm the fix with real visitors

A successful desktop recording is useful, but real visitors use different devices, networks and interaction patterns.

Standard PageSpeed Insights laboratory tests do not perform the interactions needed to report representative field INP.

Total Blocking Time may indicate potential responsiveness problems, but it does not replace INP.

After deployment, repeat controlled recordings and verify essential functionality.

Then monitor real-user INP over the next 28 days.

Chrome user-experience data uses a rolling 28-day window, so historical visits remain in the measurements after a fix.

Check mobile results particularly carefully if the original warning appeared there.

An unchanged score immediately after deployment does not necessarily mean the fix failed. Equally, a better laboratory result does not guarantee improvement for real visitors.

Where available, interaction-level real-user monitoring can confirm which controls still cause delays.

Compare like-for-like pages and devices when reviewing results. Changes in traffic patterns or visitor devices can affect aggregate measurements independently of your code changes.

Recheck INP after introducing new tags, widgets or applications.

Stop slow interactions coming back

Treat INP testing as routine maintenance, not a one-off repair.

Before adding plugins, Shopify apps or tracking scripts, review their purpose, necessity and expected main-thread cost.

Assign one person responsibility for marketing tags so additions receive appropriate review.

After major theme or plugin updates, test mobile navigation, forms, consent controls and primary conversion actions on a mid-range phone.

Keep previous performance recordings for comparison when responsiveness changes.

Include these checks in your staging and release process. Where possible, confirm that new scripts have an identified owner before approving deployment.

This process helps detect regressions before another Search Console warning appears.

Common questions

What is a good INP score?

An INP score of 200 milliseconds or less is good. Above 200 and up to 500 milliseconds needs improvement, while anything over 500 milliseconds is poor. These thresholds are evaluated at the 75th percentile of real visits, separately for mobile and desktop. Lower interaction delays generally mean visitors receive visual feedback sooner.

Why does PageSpeed Insights not show INP in the lab results?

INP depends on real interactions, including clicks, taps and keyboard input. A standard PageSpeed Insights lab test does not perform those interactions, so it cannot report a representative lab INP score. Total Blocking Time is the laboratory metric that can hint at potential INP problems, although it does not replace actual interaction measurements.

Did INP replace First Input Delay?

Yes. INP replaced First Input Delay as a Core Web Vital in March 2024. FID measured only the waiting time before the browser began processing the first interaction. INP considers interactions throughout a visit and includes input delay, processing time and presentation delay. This provides a broader assessment of website responsiveness.

Can a plugin fix INP?

Some performance plugins include options to delay JavaScript, which can improve INP in certain situations. However, aggressive delays may break menus, forms, consent systems or other interactive features. The lasting solution is usually to identify and remove, reduce or change the specific script causing the delay, then verify that functionality remains intact.

Does INP affect Google rankings?

INP is one of the three Core Web Vitals used to evaluate website experience. However, a good INP score does not guarantee improved rankings. Google’s page experience guidance explains that useful, relevant content remains central to Search performance. Treat responsiveness as a quality improvement, not a ranking shortcut.

Your next step

This week, choose one mobile page flagged in Search Console and test its five most important interactions.

Record delayed controls, when problems occur and which third-party scripts are present.

If possible, capture a Chrome Performance recording and send your developer the URL, affected interaction and Search Console information.

Ask them to identify the blocking script, implement a targeted correction and provide before-and-after evidence.

Avoid removing multiple plugins or disabling essential integrations without knowing which component causes the delay. Changes without a diagnosis can create new problems while leaving INP unchanged.

If a slow menu or form is costing you enquiries, our website performance work traces the script responsible and fixes it, typically $400-$1,800. Alternatively, send your URL to hello@inspirysolutions.com for a free audit and receive a plain-language reply within two working days.

The objective is a website that responds promptly when visitors take action.

Keep reading.

All guides
  • Guide · 8 min read

    How many WordPress plugins is too many?

    There is no universal plugin limit. Use a seven-step audit to identify unnecessary work, duplicated features and maintenance risk without removing useful functionality.

  • Speed · 8 min read

    Elementor website speed

    Make an existing Elementor website faster by isolating the bottleneck, simplifying shared templates and testing optimisation settings against real customer journeys.

  • Speed · 7 min read

    Core Web Vitals, explained for business owners

    Understand loading, responsiveness and layout stability with accurate thresholds, useful measurements and a practical performance review process.

Next step

Want this looked at on your website?

Send the site and a few lines about what is going wrong. Mian replies by email within one working day with a short initial review of your issue: what he would check first and how he would approach it.

What is this about?

We only use your details to reply to you. Privacy notice

Get WordPress help