TechnologyNetworking

How HTTP/3 and QUIC work, and why the web is quietly leaving TCP behind

How QUIC replaces TCP with a UDP-based, encrypted, multiplexed transport, why it fixes head-of-line blocking, and what that means for real-world page load speed.

MAMichael Adeyemi — Senior Technology Writer, MSc, Distributed SystemsPublished 6 November 2025Last reviewed 18 February 202610 min readIntermediate1,978 words

Fact-checked by Dr. Rina Halvorsen, Editor-in-Chief (PhD, Cognitive Science) · 5 primary sources cited · how we review

Engraved illustration of data packets flowing through parallel independent lanes

In short

HTTP/3 is the first version of HTTP that does not run on top of TCP, replacing it with QUIC, a transport protocol built on UDP that folds in encryption and stream multiplexing from the ground up. This solves TCP head-of-line blocking, where a single lost packet stalls every stream sharing the connection, and lets connections survive a change of network without renegotiating. The result is most noticeable on lossy or switching networks such as mobile data, where HTTP/2 pages visibly stall and HTTP/3 ones do not.

For three decades almost every web request travelled over TCP: a reliable, ordered, connection-oriented protocol built in the 1970s for a network that looked nothing like today's mobile-heavy, loss-prone, globally distributed internet. HTTP/3 is the first HTTP version to abandon that foundation. It runs on QUIC, a new transport built on top of UDP that reimplements reliability and ordering itself, with encryption mandatory rather than layered on afterwards.

The change is deeper than swapping one acronym for another. QUIC alters what a lost packet costs, how quickly a connection can start, and what happens when a phone switches from Wi-Fi to cellular mid-download. Each of those problems has a specific, well-understood cause in TCP that QUIC was explicitly designed to remove.

The problem QUIC was built to solve

Head-of-line blocking at the transport layer

HTTP/2 introduced multiplexing: many logical streams — for example a stylesheet, a script and an image — share one TCP connection so they do not need separate handshakes. But TCP delivers bytes to the application in strict order. If a single packet carrying part of the image is lost, TCP will not hand any later bytes to the browser, even bytes belonging to the completely unrelated stylesheet stream, until the missing packet is retransmitted and arrives. One lost packet stalls every stream on the connection, an effect known as transport-level head-of-line blocking.

This was HTTP/2's central unsolved problem. Application-layer multiplexing could not fix a limitation baked into the transport underneath it, because TCP has no concept of independent streams — it sees one ordered byte pipe.

Why UDP was the escape route

UDP is a minimal, unordered, unreliable datagram protocol with none of TCP's guarantees, which is precisely why QUIC uses it as a base: UDP imposes no ordering across the whole connection, leaving QUIC free to define per-stream ordering itself. Building a new transport directly on IP was impractical, since routers, firewalls and middleboxes across the internet are tuned to recognise and forward only TCP and UDP; running over UDP let QUIC deploy without waiting for internet infrastructure to be upgraded.

What QUIC actually changes

  • Independent streams: each QUIC stream has its own delivery order, so a lost packet only blocks the stream it belongs to, not the whole connection.
  • Integrated encryption: QUIC mandates TLS 1.3 as part of the transport handshake itself, rather than layering TLS on top of an already-established connection.
  • Combined handshake: the QUIC transport handshake and the TLS 1.3 key exchange happen together, so a new connection typically needs only one round trip before data flows.
  • Connection IDs instead of IP:port tuples: a QUIC connection is identified by a connection ID chosen by the endpoints, not by the network 4-tuple.
  • Built-in loss recovery and congestion control that operate per stream, informed by more granular acknowledgment data than TCP provides.

Connection migration

Because a QUIC connection is bound to a connection ID rather than to a source IP address and port, a device can change networks — for instance moving from a home Wi-Fi network to cellular data — and keep the same QUIC connection alive. TCP has no equivalent: a change of IP address breaks the connection outright and every stream on it must be re-established, along with a fresh TLS handshake. This particular property matters most for long-lived connections such as video calls and large downloads on mobile devices, rather than for a typical short page load.

TCP+TLS+HTTP/2 versus QUIC+HTTP/3
PropertyTCP + TLS 1.3 + HTTP/2QUIC + HTTP/3
TransportTCP (ordered, reliable byte stream)QUIC over UDP (independent streams)
Handshake round trips (cold)2 (TCP, then TLS)1 (combined transport + crypto)
Head-of-line blocking on packet lossBlocks all streams on the connectionBlocks only the affected stream
EncryptionOptional, layered on topMandatory, integrated into the handshake
Survives network changeNo — connection breaksYes — via connection ID
Middlebox interference riskLow, well understood by routersHigher; some networks throttle or block UDP

How the handshake compares in practice

A cold HTTPS connection over TCP needs one round trip to establish TCP itself, then a further round trip for the TLS 1.3 handshake, before the first HTTP request can be sent. QUIC integrates both jobs into the same exchange, so a new connection typically needs a single round trip, and a QUIC connection resuming a previously seen server can send request data in its very first flight, similar in spirit to TLS 1.3's 0-RTT but scoped to the whole transport rather than just the crypto layer.

Illustrative time to first request byte sent, cold connection

Milliseconds at 60 ms round-trip time, typical figures

Figures are illustrative round counts converted at a fixed RTT to show the shape of the saving; actual timings vary with server configuration, congestion window and network conditions.

Costs and trade-offs

0-RTT and the replay risk

When a client has connected to a server before, QUIC allows it to send application data in its very first flight of packets, before the handshake completes, using keys derived from the previous session. This is genuinely faster, but it comes with a specific weakness: an attacker who captures that first flight can replay it to the server, and the server has no way to distinguish the replay from the original at the transport layer. For this reason, 0-RTT data is restricted in practice to requests that are safe to receive twice, such as idempotent GET requests, and servers are expected to reject or treat cautiously any 0-RTT request with side effects.

QUIC and HTTP/3 in practice

Pros

  • Removes transport-level head-of-line blocking, which is most valuable on lossy mobile and Wi-Fi links
  • Faster cold-start handshake by combining transport and TLS negotiation into one round trip
  • Connections survive IP address changes, useful for mobile devices and long-lived streams
  • Mandatory encryption closes off a class of downgrade and interception attacks possible with plain TCP

Cons

  • Runs in user space rather than the kernel, so it is more CPU-intensive per byte than a mature, hardware-accelerated TCP stack
  • Some corporate and mobile-carrier networks throttle or block UDP traffic, forcing a fallback to HTTP/2
  • Newer implementations have had less real-world hardening time than decades-old TCP stacks
  • Debugging tools and middlebox visibility are less mature than for TCP, since QUIC encrypts most of its own headers

How a browser actually decides to use it

A browser cannot assume a server supports HTTP/3 in advance, since the very first request has to go somewhere. The usual pattern is that a server advertises HTTP/3 support via the Alt-Svc HTTP header on a response served over HTTP/2, telling the browser that the same origin also answers on QUIC. The browser then opens a QUIC connection for subsequent requests to that origin, and falls back to HTTP/2 automatically if the QUIC attempt fails, for example because a network is blocking UDP.

  1. Browser makes an initial request over HTTPS, typically negotiating HTTP/2 if the server supports it.
  2. Server response includes an Alt-Svc header advertising an HTTP/3 endpoint on the same or a different port.
  3. Browser attempts a QUIC connection to that endpoint, racing it against continued use of the existing HTTP/2 connection in some implementations.
  4. If QUIC succeeds, subsequent requests for that origin use HTTP/3; if it fails or times out, HTTP/2 continues unaffected.

Key points

  • HTTP/3 runs on QUIC, a transport built on UDP rather than TCP.
  • QUIC gives each stream independent ordering, so one lost packet no longer stalls every stream on the connection.
  • Transport and TLS 1.3 negotiation are combined, typically cutting a cold handshake to one round trip.
  • Connection IDs let a QUIC connection survive a change of network address, unlike TCP.
  • Servers advertise HTTP/3 via the Alt-Svc header, and browsers fall back to HTTP/2 automatically if UDP is blocked.

Sponsored video

Advertisement

Checking for a video ad…

Frequently asked questions

Sources

About the author

Michael Adeyemi — Senior Technology Writer

Michael writes Inquro's computing and web-infrastructure coverage. He worked for eight years as a platform engineer on high-traffic content systems before moving into full-time technical explanation, and he still prototypes every measurement described in his articles before publishing the numbers.

Qualifications
  • MSc, Distributed Systems — University of Manchester
  • BEng, Computer Engineering — University of Lagos
Experience
  • Eight years as a platform engineer on high-traffic content delivery systems
  • Four years writing standards-based technical documentation
Subject areas:
Web performance, Networking, Systems architecture

Reviewed for factual accuracy by Dr. Rina Halvorsen, Editor-in-Chief (PhD, Cognitive Science), on 18 February 2026.

Structure, claim strength and whether an explanation actually answers the question a reader arrived with.

Inquro articles are commissioned, sourced, reviewed and re-checked under a published editorial policy. Corrections are made in place and dated — write to editorial@inquro.example if you find an error.

Related explainers

More from Technology and connected clusters across the full library.

TechnologyNetworking

How the TLS handshake works, from ClientHello to encrypted data

A step-by-step explanation of the TLS 1.3 handshake: key exchange, certificate verification, cipher suites, session resumption and why the number of round trips decides how fast a secure connection feels.

Michael AdeyemiUpdated 28 July 202610 min
TechnologyNetworking

How DNS resolution works, step by step

A complete walkthrough of DNS resolution: the recursive resolver, root, TLD and authoritative servers, caching layers, TTL behaviour, and why DNS is so often the hidden cause of slow first loads.

Michael AdeyemiUpdated 15 July 202611 min
TechnologyNetworking

What actually happens between pressing Enter and seeing a page

A complete walk-through of the pipeline behind a single web request: DNS resolution, TCP and TLS setup, the HTTP exchange, and browser parsing and rendering, with the latency each stage typically adds.

Michael AdeyemiUpdated 14 February 20269 min
TechnologyNetworking

How public key infrastructure turns a key pair into verifiable identity

How public key infrastructure links cryptographic keys to real-world identity through certificates, certificate authorities and trust chains, and how revocation, transparency logs and automation keep the system trustworthy at internet scale.

Michael AdeyemiUpdated 11 April 20269 min
TechnologyNetworking

How TCP congestion control decides how fast data can safely flow

An explanation of TCP congestion control: slow start, additive-increase multiplicative-decrease, fast retransmit and modern algorithms such as CUBIC and BBR, and why they shape the throughput of every internet connection.

Michael AdeyemiUpdated 18 March 20268 min

Keep reading

Definitions used here

Go deeper