Site AI Auditby Internet Solutions

Interaction to Next Paint (INP): How to Fix Slow Interactions

5 สิงหาคม 2026อ่าน 7 นาทีความเร็วเว็บไซต์
Interaction to Next Paint (INP): How to Fix Slow Interactions

Short answer: Interaction to Next Paint (INP) measures how long a page takes to visually respond after a click, tap or key press, and reports one of the slowest interactions of the visit. It is good at 200 milliseconds or less. Poor INP is almost always caused by JavaScript keeping the browser’s main thread busy, so the fixes are to remove or delay unnecessary scripts, break long tasks into smaller pieces and make event handlers do less before updating the screen.

Visitors notice slow interactions immediately. They tap the menu button and nothing happens, so they tap again and the menu opens and closes. They choose a product filter and the page freezes for a second. None of this shows up in a simple load-time test, which is why Google added Interaction to Next Paint to the Core Web Vitals. For many sites that pass LCP and CLS easily, INP is the metric that remains in the red.

What INP measures

INP observes clicks, taps and keyboard presses throughout the whole visit, not only during loading. For each interaction, it measures the time from the user’s input until the browser paints the next frame showing a response. At the end of the visit, it reports the slowest interaction, or close to the slowest on pages with very many interactions, so a single outlier does not dominate.

INP became a Core Web Vital in March 2024, replacing First Input Delay (FID). FID only measured the delay before the first interaction started being processed, which most sites passed easily. INP is stricter because it includes the processing time and the time to paint, for every interaction.

Scrolling and hovering are not counted. Only discrete interactions are: pointer clicks, taps and key presses.

The three parts of an interaction

Every interaction can be split into three phases, and knowing which one is slow tells you what to fix:

PhaseWhat happensTypical cause when slow
Input delayThe input waits until the main thread is freeOther scripts running long tasks at that moment
Processing timeEvent handlers for the interaction runHeavy code in click, input or change handlers
Presentation delayThe browser recalculates styles, layout and paintsLarge DOM, complex CSS, big content updates

The browser’s main thread does almost everything: runs JavaScript, calculates layout and paints. While it is busy with one task, it cannot respond to the user. Any task that runs longer than 50 milliseconds is called a long task, and long tasks are the root of most INP problems.

How to find your slow interactions

Because INP depends on what users actually do, you need to find which interactions are slow and on which pages.

  1. Start with field data. PageSpeed Insights and the Core Web Vitals report in Search Console show whether INP is a problem and on which groups of URLs. Lab tests cannot measure INP directly.
  2. Look at Total Blocking Time in lab tests. TBT adds up the blocking part of long tasks during loading. A high TBT usually goes together with poor INP, especially for interactions shortly after load.
  3. Reproduce in Chrome DevTools. Open the Performance panel, enable CPU throttling to imitate a mid-range phone, and click through the typical actions: open the menu, use filters, add to cart, submit a form. The panel shows INP live and marks long tasks.
  4. Record and inspect. A performance recording shows exactly which script function ran during a slow interaction, and whether it belongs to your site or a third party.
  5. Consider real-user monitoring. For larger sites, a small script using Google’s open-source web-vitals library can report which element was interacted with when INP was slow.

Fix 1: Reduce and delay third-party scripts

On small-business and marketing sites, a large share of main-thread work often comes from scripts that the site owner did not write: tag managers, analytics, advertising pixels, heatmaps, chat widgets, review widgets, consent tools and social embeds.

Fix 2: Break up long tasks

If your own code runs long tasks, split them so the browser can respond to input in between. The general approach is to yield to the main thread regularly:

Fix 3: Make event handlers do less

When a user clicks, the handler should update the screen first and do the rest afterwards.

Fix 4: Reduce presentation delay

Even after the code finishes, the browser must update styles and layout and paint the result. On pages with a very large DOM, this step itself can be slow.

INP on WordPress and shop sites

WordPress sites commonly struggle with INP because of page builders, sliders, heavy themes and plugin scripts loaded on every page. Shops add product filters, variation selectors, cart fragments and many marketing tags. Practical steps that often help:

Be careful with “delay JavaScript” features in optimisation plugins. They can improve loading metrics by postponing scripts until the first interaction, but then the first tap has to wait while all those scripts load and run at once, which can make INP worse. If you use such a feature, exclude the scripts that power menus, buttons and forms, and measure the first interaction on a throttled phone profile. The goal is not to hide JavaScript cost from a test tool but to reduce the amount of work the visitor’s device has to do.

How Site AI Audit helps

Site AI Audit includes Google PageSpeed for mobile in every check and reports INP alongside LCP and CLS, plus server response time and page weight. When INP needs attention, the report explains the likely cause and how to approach the fix in plain words, ranked by impact against your SEO, security and e-mail findings. Run a free check to see where your site stands.

Related reading

The bottom line

INP is about the main thread being free when the user needs it. Remove scripts you do not need, load third-party tools later and only where they are used, split long tasks, and make every interaction update the screen before doing anything else. Test on a slow phone profile, because that is where INP problems live.

FAQ

What is a good INP score?

INP is good at 200 milliseconds or less, needs improvement between 200 and 500 milliseconds and is poor above 500 milliseconds. Google assesses it at the 75th percentile of real visits. Mobile and desktop are evaluated separately.

Why can’t Lighthouse measure INP?

INP needs real user interactions, and a standard lab test only loads the page without clicking anything. Lighthouse reports Total Blocking Time instead, which correlates with INP. To measure INP in the lab, interact with the page yourself in Chrome DevTools.

What is the difference between INP and FID?

First Input Delay only measured the waiting time before the first interaction was processed. INP covers all interactions during the visit and includes processing and painting time. INP replaced FID as a Core Web Vital in March 2024.

Do chat widgets affect INP?

They can, because many chat widgets load a significant amount of JavaScript that runs on the main thread. Loading the widget a few seconds after the page or on the first interaction usually reduces its impact. Measure before and after to confirm.

Does better hosting improve INP?

Rarely. INP depends on what happens in the visitor’s browser, mainly JavaScript execution on their device. Faster hosting helps loading metrics like LCP, but reducing and optimising scripts is what improves INP.

#Core Web Vitals#JavaScript performance#Mobile performance#Page speed
ตรวจเว็บไซต์ของคุณเอง — ฟรีเว็บไซต์ของคุณต้องแก้อะไร — และควรเริ่มตรงไหน
เริ่มใช้ฟรี

เพิ่มเติมจากบล็อก

บทความทั้งหมด →
Internet Solutions

ผลงานอื่นจากทีมเรา

สร้างโดย Internet Solutions ลองผลิตภัณฑ์อื่น ๆ ของเรา — แต่ละตัวช่วยประหยัดเวลาให้คุณในแบบที่ต่างกัน

internet-solutions.net ↗
01โพสต์โซเชียลมีเดียอัตโนมัติ
PostRSS

โพสต์ใหม่จากฟีด RSS ของคุณจะถูกส่งไปยัง Facebook, X, LinkedIn, Telegram และอีก 60+ เครือข่ายโดยอัตโนมัติ

แพ็กเกจฟรี · ตั้งแต่ 2014เยี่ยมชม →
02แชทสด AI สำหรับเว็บไซต์
Talkmio

เว็บไซต์ของคุณตอบผู้เยี่ยมชมตลอด 24/7 จากเนื้อหาของคุณเอง ในภาษาของพวกเขา

แพ็กเกจฟรี · ไม่ต้องใช้บัตรเยี่ยมชม →
03ผู้ช่วย AI
Ask Mio

แชท เขียนโค้ด ออกแบบ เขียนงาน และค้นคว้า Mio เลือกโมเดลที่ดีที่สุดให้แต่ละงาน

แพ็กเกจฟรีเยี่ยมชม →
04ออโต้ไพลอต AI สำหรับบล็อกและโซเชียล
AI Blog Autopilot

AI เขียนบทความ SEO ยาว 2,000–3,000 คำ และแชร์แต่ละบทความไปยังโซเชียลเน็ตเวิร์ก 58+ แห่ง

3 บทความแรกฟรีเยี่ยมชม →
05ครอว์ล SEO เชิงลึก
Site SEO AI Audit

ครอว์ล SEO เต็มรูปแบบใน 7 ด้าน รวมถึงการมองเห็นในการค้นหาด้วย AI พร้อมวิธีแก้ที่เรียงตามผลกระทบ

ตรวจครั้งแรกฟรีเยี่ยมชม →
06ฟีด RSS และฟีดสินค้า
RSS Feed Creator

สร้าง RSS จากหน้าเว็บใดก็ได้ พร้อมฟีดสินค้าสำหรับ Google และ Meta ที่อัปเดตตัวเองได้

แพ็กเกจฟรีเยี่ยมชม →
07พัฒนาเว็บไซต์และ SEO
Internet Solutions

เว็บไซต์ ร้านค้าออนไลน์ และระบบเฉพาะทาง ออกแบบ สร้าง และดูแลโดยทีมของเรา

ตั้งแต่ 2011เยี่ยมชม →
Site AI Audit
ภาพรวมความเป็นส่วนตัว

เว็บไซต์นี้ใช้คุกกี้เพื่อมอบประสบการณ์การใช้งานที่ดีที่สุด ข้อมูลคุกกี้จะถูกเก็บในเบราว์เซอร์ของคุณ และทำหน้าที่ต่างๆ เช่น จดจำคุณเมื่อกลับมาที่เว็บไซต์ และช่วยให้ทีมของเราเข้าใจว่าส่วนใดของเว็บไซต์ที่คุณสนใจและเป็นประโยชน์มากที่สุด