Encrypted Client Hello (ECH)
termKept in this browser · My desk
A TLS extension, standardized in RFC 9849 in March 2026, that encrypts the client's first handshake message, so that the name of the site being visited no longer travels in the clear.
In TLS 1.3 almost all of the handshake is encrypted, but the Server Name Indication (SNI), the field in which a browser names the site it wants on a shared server, still went out in the clear. ECH closes that gap: the client fetches the server's public key from the DNS, sends an outer ClientHello with innocuous values and puts the real ClientHello, with the real server name, inside it, encrypted. An observer still sees which provider the client connects to, the addresses and, unless the DNS is encrypted too, the name queried. ECH is on by default in Chrome and Firefox, and in early 2025 Cloudflare was the only major provider serving it.
What it is. The Internet Engineering Task Force (IETF) published Request for Comments (RFC) 9849, TLS Encrypted Client Hello, by Eric Rescorla, Kazuho Oku, Nick Sullivan and Christopher A. Wood, on the Standards Track in March 2026. Encrypted Client Hello (ECH) is an extension of Transport Layer Security (TLS) 1.3 that encrypts the client's first handshake message under a public key of the server. The RFC calls the plaintext Server Name Indication (SNI) perhaps the most sensitive information left unencrypted in TLS 1.3, and ECH also protects other fields, such as the list of application protocols.
Two ClientHellos. The client builds a private ClientHelloInner, carrying the real server name, and a public ClientHelloOuter with innocuous values, and sends the inner one encrypted inside the encrypted_client_hello extension (code point 0xfe0d) of the outer one. That extension carries the cipher suite, a one-byte config_id naming the server key, the encapsulated key and the ciphertext; the inner hello also carries the extension, empty, because a server may not answer with an extension the client did not offer. The encoded inner hello is padded up to a multiple of 32 bytes so that its length does not betray the name, and an ech_outer_extensions extension lets it reuse extensions already present in the outer hello. The RFC names two roles: the client-facing server, which holds the ECH key and decrypts, and the backend server, which completes the handshake for the real name. In shared mode one provider plays both; in split mode they are physically separate, which lets a content delivery network front for many origins.
The key and the DNS. ECH uses Hybrid Public Key Encryption (HPKE). A server's ECHConfig (version 0xfe0d) holds the config_id, the identifier of the key encapsulation mechanism, the public key, the pairs of key derivation function and authenticated encryption algorithms it accepts, maximum_name_length (the longest backend name, used for padding, zero if unknown), public_name (the name of the client-facing server, which goes into the outer SNI) and extensions. Configurations are advertised in the Domain Name System (DNS) in SVCB (Service Binding) and HTTPS (Hypertext Transfer Protocol Secure) records: RFC 9460, by Ben Schwartz, Mike Bishop and Erik Nygren, created these resource record types 64 and 65 in November 2023 and reserved parameter key 5, ech, for ECH keys. Cloudflare uses cloudflare-ech.com as the shared public name of every ECH site it serves and has ECH enabled by default on its Free zones.
Acceptance and retry. If the client-facing server decrypts the inner hello, it signals acceptance through a confirmation value in the last 8 bytes of ServerHello.random. If it cannot, because the key is stale or the extension was a decoy, it completes the handshake with the outer hello, authenticated for the public name, and may return fresh retry_configs; the client then aborts with an ech_required alert and retries on a new connection. A failed handshake must never be treated as a secure signal to disable ECH.
From ESNI to ECH. When work on TLS 1.3 began in 2014, after the Snowden disclosures, one of its aims was to encrypt as much of the handshake as possible; RFC 8446 of August 2018 encrypts every handshake message after the ServerHello and removed static RSA (Rivest-Shamir-Adleman) and Diffie-Hellman cipher suites, but still left the server name in the clear. Cloudflare and Firefox deployed a first version, Encrypted Server Name Indication (ESNI), on an opt-in basis in 2018, with the key published in the DNS and fetched over DNS over HTTPS (DoH). Mozilla's Kevin Jacobs explained on 7 January 2021 why Firefox 85 replaced it with ECH: ESNI encrypted only the SNI, so a pre-shared key extension at session resumption could still carry the name in cleartext, it published keys in TXT records, and it could fail after receiving stale keys from the DNS, which ECH's retry mechanism cures. Cloudflare had described ECH as encrypting the whole ClientHello on 8 December 2020. Chrome enabled ECH by default in version 117 on desktop and Android, with an enterprise policy, EncryptedClientHelloEnabled, to turn it off.
Deployment measured. Niklas Niere, Felix Lange, Nico Heitmann and Juraj Somorovsky of Paderborn University, at Free and Open Communications on the Internet (FOCI) 2025, found ECH and its decoy form, GREASE (Generate Random Extensions And Sustain Extensibility) ECH, enabled by default in Chrome and Firefox: because both browsers send an ECH extension in every ClientHello, a censor cannot block every connection that carries one without blocking all their traffic. On the server side Cloudflare was the only major provider: among the top million sites of the Tranco list of 16 February 2025, 278,040 servers, 43% of the TLS 1.3 servers, completed a handshake with Cloudflare's ECH configuration.
What it does not hide. Observers can still tell that a client is talking to a particular provider, though not which of its sites; the target domain may leak through plaintext DNS queries or visible server addresses; and whatever the client places in the outer ClientHello is visible, so it should carry nothing sensitive.
Censors. On 30 July 2020 iYouPort reported that China's Great Firewall was blocking connections with the ESNI extension; each block then extended to all traffic between the same addresses and port for 120 or 180 seconds. In November 2024 Russia's regulator, Roskomnadzor, began blocking sites that used ECH, stating that its use violates Russian legislation; the Paderborn study found Russia's TSPU devices (technical means of countering threats) blocking ECH to Cloudflare's address ranges, and indirect blocking in China and Iran through the blocking of encrypted DNS.
Managed networks. RFC 9849 notes that an organization may disable ECH entirely by group policy, or intercept and decrypt its clients' connections, without endorsing either; a TLS-terminating proxy that does not know ECH answers as the outer server name, and one that is not authoritative for the public name cannot forge a signal to disable ECH. Fortinet documents that FortiGate certificate inspection, which filters web categories on the SNI, can be broken by ECH, that deep inspection always strips the ECH extension, and that an administrator can block ECH hellos (the encrypted-client-hello setting, with a list of outer SNIs) or remove the ECH parameter from DNS answers (strip-ech). Palo Alto Networks recommends blocking the SVCB, HTTPS and ANY record types used to carry ECH keys. Cloudflare adds that a resolver can drop ECH configurations or answer the use-application-dns.net canary to stop Firefox using ECH, at the risk of breaking validation by DNS Security Extensions (DNSSEC).
Neighbours. SNI, TLS, DNS over HTTPS, SSL (Secure Sockets Layer) inspection, JA4 fingerprints (the outer hello can still be fingerprinted) and encrypted traffic analysis.
Also known as: ech, tls ech, encrypted clienthello, esni, encrypted server name indication, encrypted sni, clienthello cifrado
Sources
- IETF, RFC 9849, TLS Encrypted Client Hello, E. Rescorla, K. Oku, N. Sullivan and C. A. Wood, March 2026, Standards Track (read 2026-11-23): the ClientHello encrypted under a server public key; the plaintext SNI perhaps the most sensitive information left unencrypted in TLS 1.3; an outer ClientHello with innocuous values carries the inner one; observers still see the client-facing provider, and the target domain may be visible through plaintext DNS or server IP addresses; managed networks may disable ECH by group policy or intercept and decrypt
- IETF, RFC 8446, The Transport Layer Security (TLS) Protocol Version 1.3, E. Rescorla, August 2018 (read 2026-11-23): all handshake messages after the ServerHello are encrypted; static RSA and Diffie-Hellman cipher suites removed
- Cloudflare, Encrypted Client Hello: the last puzzle piece to privacy, 8 December 2020 (read 2026-11-23): after the Snowden revelations TLS 1.3 aimed to encrypt as much of the handshake as possible but left SNI in the clear; ESNI deployed by Cloudflare and enabled by Firefox on an opt-in basis in 2018, with keys in DNS fetched over DNS over HTTPS; ECH encrypts the whole ClientHello
- Niklas Niere, Felix Lange, Nico Heitmann and Juraj Somorovsky, Encrypted Client Hello (ECH) in Censorship Circumvention, FOCI 2025, Paderborn University (read 2026-11-23): ECH and GREASE ECH enabled by default in Chrome and Firefox; Cloudflare the only major provider supporting ECH; 278,040 servers, 43% of TLS 1.3 servers in the Tranco top million of 16 February 2025, handshaked with Cloudflare's ECH configuration; Russian TSPU devices blocked ECH to Cloudflare from November 2024; indirect blocking through encrypted DNS in China and Iran
- Kevin Bock, iYouPort and others, Exposing and Circumventing China's Censorship of ESNI, GFW Report, 2020 (read 2026-11-23): on 30 July 2020 iYouPort reported the blocking of TLS connections with the ESNI extension in China; once a connection is blocked, traffic between the same addresses and port is blocked for 120 or 180 seconds
- Meduza, Russia's Internet censor demands a break from Cloudflare, 8 November 2024 (read 2026-11-23): Roskomnadzor began blocking sites using ECH and stated that the use of TLS ECH violates Russian legislation and is restricted by technical threat countermeasures, after Cloudflare enabled it by default
- IETF, RFC 9460, Service Binding and Parameter Specification via the DNS (SVCB and HTTPS Resource Records), B. Schwartz, M. Bishop and E. Nygren, November 2023, Standards Track (read 2026-11-23): SVCB is resource record type 64 and HTTPS type 65; SvcPriority 0 is AliasMode, higher values ServiceMode; SvcParamKey 5, ech, reserved for Encrypted ClientHello keys
- Cloudflare Docs, Encrypted Client Hello (ECH), modified 17 April 2026 (read 2026-11-23): ECH masks the SNI so intermediaries see a Cloudflare-hosted site but not which one; cloudflare-ech.com is the shared outer SNI; enabled by default on Free zones; networks can disable it by dropping ECH configurations from HTTPS records or answering the use-application-dns.net canary, at the risk of breaking DNSSEC-validating clients
- Chrome Platform Status, TLS Encrypted Client Hello (ECH), feature 6196703843581952, read through the chromestatus API (read 2026-11-23): enabled by default in Chrome 117 on desktop and Android; keys from an HTTPS resource record; organizations that inspect SNI should test; the EncryptedClientHelloEnabled enterprise policy disables it; earlier iterations called ESNI
- Kevin Jacobs, Encrypted Client Hello: the Future of ESNI in Firefox, Mozilla Security Blog, 7 January 2021 (read 2026-11-23): Firefox 85 replaces ESNI with ECH draft-08; ESNI encrypted only the SNI and could fail after receiving stale keys from DNS; ECH uses HPKE, an HTTPSSVC record instead of TXT, and a retry mechanism
- Fortinet, FortiOS 7.6.2 Administration Guide, Block or allow ECH TLS connections (read 2026-11-23): ECH can break certificate inspection based on the SNI; deep inspection always strips the ECH extension; encrypted-client-hello block or allow and an ech-outer-sni list in the SSL/SSH inspection profile; strip-ech in the DNS filter profile removes the ECH service parameter from DNS records; proxy inspection mode only
- Palo Alto Networks, PAN-OS 11.0 New Features, DNS Security Support for DNS Over HTTPS (DoH) (read 2026-11-23): option to block ECH, which can prevent firewall services that use the client hello from operating as intended; recommends blocking the SVCB (64), HTTPS (65) and ANY (255) record types that carry ECH keying information