Skip to the content
Start free

Total Blocking Time (TBT)

Total Blocking Time (TBT) is a lab speed metric that adds up how long the browser’s main thread was too busy to respond to a tap, click or key press while a page loaded. Each long task counts only the part over 50 milliseconds. Google’s web.dev team says sites should aim for under 200 ms on average mobile hardware.

What is Total Blocking Time? #

A browser does most of its work on one main thread: it reads HTML, runs JavaScript, works out styles and paints the screen. While a big chunk of script runs, the page cannot react to the visitor. web.dev’s TBT guide calls any task over 50 ms a long task. The blocking time of that task is the part above 50 ms. TBT is the sum of those parts from First Contentful Paint to the end of the measured window. In Lighthouse that window normally ends at Time to Interactive.

So TBT is not how long the page takes to load. It is how long the page felt frozen while it looked ready.

How is it worked out? #

web.dev gives an example with five tasks on the main thread:

Task Length Counts as blocking
1 250 ms 200 ms
2 90 ms 40 ms
3 35 ms 0 ms
4 30 ms 0 ms
5 155 ms 105 ms
Total 560 ms busy 345 ms TBT

Short tasks under 50 ms add nothing. That is the point: a page made of many small tasks lets the browser slip a click in between them, so it feels responsive even when it is busy.

What is a good score? #

Google’s Lighthouse TBT audit uses these bands for mobile:

  • 0 to 200 ms: green, fast.
  • 200 to 600 ms: orange, moderate.
  • Over 600 ms: red, slow.

The same test on a fast laptop will often score far better than on a mid-range phone, so always read the mobile figure first.

TBT is not one of the Core Web Vitals. web.dev’s Web Vitals page lists those as Largest Contentful Paint, Interaction to Next Paint (INP) and Cumulative Layout Shift. It says TBT can be measured in the lab and is a proxy for INP. INP became a stable Core Web Vital in 2024, replacing First Input Delay.

Google’s Core Web Vitals guide says good scores fit what its core ranking systems aim to reward, along with other parts of page experience. Google ranks on what real visitors feel (field INP), not on a lab TBT number. TBT matters because it is the quickest way to find the script that is hurting INP before real visitors feel it.

TBT also carries the biggest weight in the Lighthouse performance score. Google’s scoring guide gives it 30% in Lighthouse 10, ahead of LCP and CLS at 25% each. A poor TBT can drag the whole Lighthouse and PageSpeed Insights score down.

Why does it matter for AI answers? #

AI crawlers do not click buttons, so TBT does not slow them down in the same way. The link is indirect. Heavy scripts that block the main thread often also hold content that only appears after JavaScript runs. Google’s JavaScript SEO basics note that not all bots can run JavaScript. Trimming scripts for TBT often leaves more of the page in plain HTML, which helps an AI crawler read it. And when a visitor arrives from an AI answer, a page that responds fast keeps them. See AI referral traffic.

What causes a high TBT? #

  • Too much JavaScript. The Lighthouse audit says unnecessary loading, parsing or running of script is usually the biggest opportunity on most sites.
  • Third-party tags. Chat widgets, ad scripts, heatmaps and several analytics tags each add work. Our Tracking Checker lists what a page loads.
  • Big theme and plugin bundles. A page builder may ship script for every feature to every page.
  • Slow code. The audit gives the case of a broad query that returns 2,000 elements where a narrow one would return 10.
  • Hydration in a single-page application. The page looks ready, then freezes while the framework wires it up.

How do I lower it? #

  1. Remove what you do not need. Every tag you drop is blocking time saved. Check which plugins add script to every page.
  2. Load script later. Use async and defer so script does not hold up the first paint, and load widgets only when a visitor scrolls to them.
  3. Split the code. Ship only the script a page needs. Minification makes files smaller but does not cut the work they do.
  4. Break up long tasks. web.dev’s guide to long tasks says to split a long task into several smaller ones and yield to the main thread, for example with setTimeout or scheduler.yield().
  5. Render on the server. Server-side rendering puts the content in the HTML so less script has to run first.

web.dev adds one warning: in general, aim to improve INP rather than TBT. TBT is the lab clue; INP is the real result.

Common mistakes #

  • Chasing the desktop score. Most visitors are on phones. Read the mobile run.
  • Treating one run as truth. Lab runs vary. Run 3 times and look at the middle figure.
  • Measuring TBT in the field. web.dev advises against it, because user actions change the result. Use INP for real visitors.
  • Fixing file size only. A small file that runs a slow loop still blocks.
  • Adding a speed plugin that adds script. Some tools fix one thing and add another long task.

A worked example #

A small online shop runs Lighthouse on a product page on mobile. TBT is 780 ms, red. The trace shows 3 long tasks: a chat widget (320 ms), a reviews carousel (260 ms) and the theme bundle (200 ms). Blocking parts: 270 + 210 + 150 = 630 ms, plus smaller tasks.

The shop loads the chat widget only after a click on “Chat”, and loads the carousel when it scrolls into view. TBT falls to about 210 ms on the next 3 runs. A month later, the field INP in Search Console moves from “needs improvement” towards “good”. The page did not get faster to load. It got faster to answer.

How to check it #

  1. Run the page in PageSpeed Insights or Lighthouse in Chrome DevTools and read TBT on mobile.
  2. Open the Performance panel in DevTools to see each long task and the script behind it.
  3. Two URSY checkers will soon explain each long task in plain words: the Page Speed Checker and the Core Web Vitals Checker, both coming soon. The Core Web Vitals calculator works today.
  4. Check what scripts a page carries with our Tech Stack Checker, and whether content needs script to appear with our JavaScript SEO Checker.
  5. Check caching and compression headers with our Cache Checker; a faster download does not cut TBT, but it helps the whole load.
  6. In URSY Pro: the Page speed monitor and Real-user speed (Pro) will track lab and field figures over time.

For the wider picture read why your website is slow and page speed.

Questions #

Is TBT a ranking factor? #

Not directly. Google uses field Core Web Vitals, and INP is the one TBT predicts.

Why is my TBT 0 on desktop and 900 ms on mobile? #

A mobile test is meant to stand for a mid-range phone, and phones have slower chips than laptops. The same script takes far longer to run on a slower chip.

Does a CDN fix TBT? #

No. A CDN brings files to the visitor faster. TBT is about the work the browser does once the files arrive.

What is the difference between TBT and Time to First Byte? #

TTFB measures how fast the server starts to answer. TBT measures how busy the browser is afterwards.

Sources #

Updated 24 November 2026 by URSY.

Cite this page: Total Blocking Time (TBT). URSY. Updated 24 November 2026. https://ursy.com/wiki/total-blocking-time/ · Section links

Tools for this

All 871 wiki entries, A to Z →