✨ Get 25% OFFon any plan. Use the coupon:

What Time to First Byte (TTFB) is and how to reduce it

By Tiago CostaUpdated on July 2, 2026

Illustration of a server sending the first byte to a browser with a stopwatch measuring the time, representing TTFB.
Definition

Time to First Byte (TTFB) is the time until the browser receives the first byte from the server. As a market reference:

  • Good: up to 800 milliseconds;
  • Needs improvement: between 800 and 1800 milliseconds;
  • Poor: above 1800 milliseconds.

What Time to First Byte (TTFB) is

Time to First Byte, almost always shortened to TTFB, is the time between the browser sending a request and receiving the first byte of the server's response. It measures the very start of the load, before any image or text appears on the screen.

In practice, TTFB answers a simple question: how long does the server take to react to a request? If that time is high, the visitor stares at a blank screen while nothing happens, because not even the first piece of the page has arrived yet.

By measuring the server response, TTFB is one of the most basic technical SEO signals tied to speed. It does not tell the whole story of the load, but it defines the starting point: no page can be fast if the server is slow to give its first sign of life.

What TTFB is made of

TTFB is not a single step, but the sum of several phases that happen before the first byte arrives. Understanding each one helps you know where to cut time:

  • Redirects: if the URL goes through a redirect chain, each hop adds a round trip before the real load begins.
  • DNS resolution: the time to translate the domain into an IP address.
  • Connection and TLS: opening the connection with the server and negotiating the security certificate (HTTPS).
  • Server processing: the time the application takes to build the response, often the largest slice of TTFB.

Added together, these phases form the waiting time until the first byte. When TTFB is poor, the diagnosis starts by finding out which of these steps dominates the delay.

Infographic of TTFB showing the redirect, DNS, connection and server phases and the good, needs improvement and poor bands.
The phases that make up TTFB and the good, needs improvement and poor bands.

What a good TTFB value is

The industry works with reference bands for TTFB, useful to know whether your number is healthy:

BandTTFB timeWhat it means
GoodUp to 800 msServer responds fast
Needs improvement800 ms to 1800 msNoticeable delay
PoorAbove 1800 msBackend too slow

These numbers match the real world. According to field data analyzed by DebugBear, sites with good loading performance have a median TTFB around 600 ms, while sites with poor loading reach about 2,270 ms at the 75th percentile. The gap of more than a second and a half shows how much the server weighs on the final experience.

How to measure TTFB

Measuring TTFB is simple and does not require paid tools. The most common ways:

  • Chrome DevTools: open the Network tab, reload the page, click the first document and look at the Waiting (TTFB) field, which isolates exactly that time.
  • PageSpeed Insights: shows the server response time with real user field data, when available.
  • WebPageTest: lets you test from several locations and see TTFB in each one, useful to measure the effect of geographic distance.
  • Command line: a request with the curl tool can quickly report the time until the first byte.

One important caution: always measure more than once and, preferably, with field data. The first access may come with no cache and inflate the number, while following accesses tend to be faster.

What raises TTFB

Several factors push TTFB up, almost always on the server side. The most common:

  • Slow or overloaded hosting: a shared server crowded with sites takes longer to respond.
  • Heavy database queries: when the page depends on many queries or poorly optimized ones, processing stretches out.
  • Lack of cache: without cache, the server rebuilds the page from scratch on every visit instead of serving a ready version.
  • Too many redirects: a poorly planned 301 redirect, or several in a row, adds round trips before the response.
  • Distance to the user: the farther the server is from the visitor, the greater the network time.

In most cases, the main culprit is server processing time or the absence of cache. Identifying which one weighs more is what directs the optimization.

Illustration comparing a slow server without cache with a fast server using cache and a CDN, to reduce TTFB.

How to reduce TTFB step by step

Reducing TTFB is, almost always, making the server respond sooner. A practical roadmap:

  • Use good hosting: a server with resources suited to your traffic is the foundation of everything.
  • Enable cache: page and server cache deliver a ready response, cutting repeated processing.
  • Add a CDN: a distribution network serves content from a point close to the user, reducing network time.
  • Optimize the backend: improve database queries, reduce external calls and trim the code that runs on every request.
  • Eliminate unnecessary redirects: point links straight to the final URL and avoid chains.

It is worth the effort because TTFB is the foundation of speed. Since it precedes metrics like LCP, reducing it helps improve the Core Web Vitals as a whole. And a page that responds fast keeps the visitor, lowering the bounce rate even before the content appears.

FAQ

Frequently asked questions

What is TTFB?

TTFB, short for Time to First Byte, is the time until the browser receives the first byte of the server's response after requesting a page. It measures backend speed and is the starting point of the load, before any content appears on the screen.

How do you measure TTFB?

The fastest way is to open the Network tab in Chrome DevTools, reload the page and read the Waiting (TTFB) field of the first document. Tools like PageSpeed Insights and WebPageTest also report the server response time, with field data and from several locations.

What is a good TTFB value?

As a reference, a good TTFB is up to 800 milliseconds. Between 800 and 1800 milliseconds it needs improvement, and above 1800 milliseconds it is considered poor. The lower it is, the faster the server starts responding.

What is the difference between TTFB and server response time?

Server processing time is one of the phases of TTFB, but not the only one. TTFB also includes redirects, DNS resolution, connection and TLS negotiation. That is why the TTFB measured by the browser is usually a bit higher than server response time alone.

Does TTFB affect SEO?

Indirectly, yes. TTFB is not a standalone ranking factor, but it delays experience metrics like LCP, which are part of the Core Web Vitals used by Google. A high TTFB also worsens the user experience, which tends to hurt results.

Lightweight pages that respond fast, automatically

Automarticles creates and optimizes your blog's articles on its own, in lightweight, well served pages that help keep TTFB low and your Core Web Vitals in the green.

Start free trial
Keep learning

Related concepts

LCPLCP, short for Largest Contentful Paint, is one of Google's Core Web Vitals metrics. It measures how long the largest visible element of the page, usually a hero image or a large text block, takes to appear on screen from the start of loading. The lower the LCP, the faster the user feels the page has loaded.Core web vitalsCore Web Vitals are a set of three Google metrics that measure the real experience of someone using a page: loading speed (LCP), responsiveness to interactions (INP) and the visual stability of the layout (CLS). They are part of the page experience signals and help Google assess whether a site offers pleasant navigation.Technical SEOTechnical SEO is the set of optimizations made to a site's infrastructure so that search engines can crawl, understand, index and display its pages efficiently. While content takes care of what the page says, technical SEO takes care of the invisible foundation that supports everything: loading speed, URL structure, internal link architecture, mobile version, security, structured data, indexing and status codes. Without that foundation in order, even the best content may never appear in search.301 redirectThe 301 redirect is the type of permanent redirect that sends both the visitor and the search engine from an old URL to a new address, signaling that the change is definitive. Besides keeping people from landing on a nonexistent page, it passes most of the authority accumulated by the original URL to the new one, which makes it the correct way to change address, domain or site structure without losing positions on Google.