isquantumsafe Check a domain

isquantumsafe / Guides / Cloudflare

Post-quantum TLS on Cloudflare

Cloudflare serves X25519MLKEM768 hybrid post-quantum key exchange (ML-KEM) to visitors by default on all plans. Keep TLS 1.3 on and check your origin too.

Default
On by default
You need
Any proxied Cloudflare hostname with TLS 1.3 on (all plans)
Updated
4 December 2026 · 5 sources

Cloudflare has offered hybrid post-quantum key exchange to visitors on every proxied site since October 2022, and today it uses X25519MLKEM768 (code point 0x11EC). It is on by default on all plans, as long as the zone's TLS 1.3 setting is on and the visitor's client supports ML-KEM.

Requirements

  • A hostname proxied through Cloudflare (orange cloud). This covers Workers custom domains, *.workers.dev, Pages, R2 public buckets and the Cloudflare API.
  • TLS 1.3 turned on for the zone. It is available on Free, Pro, Business and Enterprise.
  • A client with ML-KEM support. Cloudflare lists Chrome 131+, Edge 131+, Firefox 132+ (desktop) and Safari 26+ as defaults.

Enable it

There is no post-quantum switch for the visitor side. Check that TLS 1.3 is on:

  1. In the dashboard, go to SSL/TLS > Edge Certificates.
  2. Set TLS 1.3 to On.

Or with the API:

curl -X PATCH "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/settings/tls_1_3" \
  -H "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
  -H "Content-Type: application/json" \
  --data '{"value":"on"}'

The setting accepts on, zrt (TLS 1.3 with 0-RTT) or off. Classical X25519 and P-256 remain available for clients without ML-KEM.

Origin side. Cloudflare also supports X25519MLKEM768 when it connects to your origin. Automatic key exchange is on by default for all zones and prefers post-quantum when your origin supports both. Your origin server must support ML-KEM too; see the guide for your server software.

Check it worked

From a machine with an OpenSSL 3.5 or newer client:

openssl s_client -connect www.example.com:443 -servername www.example.com \
  -groups X25519MLKEM768 -tls1_3 </dev/null 2>/dev/null | grep -i "group"

You should see Negotiated TLS1.3 group: X25519MLKEM768.

Run a free check at https://isquantumsafe.net/ to see the negotiated group and your grade.

Common problems

  • TLS 1.3 switched off. Cloudflare's post-quantum key agreement is supported only over TLS 1.3 (including HTTP/3). With TLS 1.3 off, visitors get classical key exchange.
  • DNS-only records. A grey-cloud record bypasses Cloudflare, so your own server handles TLS and must support ML-KEM itself.
  • "Post-quantum hybrid" compliance on origins. If you require post-quantum for origin connections and your origin does not support it, Cloudflare returns error 525. Keep Automatic key exchange unless your origin is ready.
  • Old clients. The connection is only post-quantum when the client supports it. Older browsers and libraries still connect with X25519.

Sources

  1. Post-quantum cryptography (Cloudflare SSL/TLS docs)
  2. PQC in Cloudflare products (Cloudflare docs)
  3. Post-quantum between Cloudflare and origin servers (Cloudflare docs)
  4. Post-quantum cryptography support in clients and servers (Cloudflare docs)
  5. TLS 1.3 setting (Cloudflare docs)

Other guides: CDNs and cloud