Skip to content

Total Blocking Time (TBT)

How long JavaScript blocked the page from responding during load.

Good
200 ms or less
Needs improvement
200 ms to 600 ms
Poor
over 600 ms

What it measures

TBT adds up the blocking part of every long task during load. A task that runs longer than 50 ms blocks the page for everything past 50 ms: while it runs, the page can’t react to a tap. Lighthouse counts the tasks between First Contentful Paint and the point the page becomes reliably interactive.

How TBT is measured

Real visitors (field data)
TBT is a lab metric, so there is no field version. For real visitors, look at INP instead.
Lighthouse (lab data)
Lighthouse measures TBT on every run. It is worth 30% of the Lighthouse performance score, more than any other metric.

An example

During load, the page runs three tasks of 250 ms, 90 ms and 40 ms. Only the part over 50 ms counts: 200 ms from the first, 40 ms from the second and nothing from the third, so TBT is 240 ms. Splitting the 250 ms task into five 50 ms pieces would bring TBT down to 40 ms.

Common causes of a poor TBT

  • Large JavaScript bundles that parse and run on load.
  • Hydrating the whole app at once.
  • Many third-party tags starting up together.

How to improve it

  1. Split bundles by route. Load only the code a page needs, and the rest when it’s used.
  2. Hydrate lazily. Hydrate components below the fold when they scroll into view.
  3. Delay non-essential tags. Load chat, analytics and A/B testing after the page is interactive.
  4. Break up long tasks. Yield to the main thread between chunks of work.

TBT questions

What is a good TBT?

200 milliseconds or less on mobile. Between 200 and 600 ms needs improvement, and over 600 ms is poor.

How is TBT different from INP?

TBT is measured in the lab during load, without any clicks. INP is measured on real visits, for every interaction. A high TBT is a strong hint that INP will be poor too.

Why is TBT so much higher on mobile?

Lighthouse slows the CPU down on mobile to match a mid-range phone, so the same JavaScript takes several times longer to run.