Cloudflare protects traffic with post-quantum encryption today. On proxied websites and APIs, Cloudflare automatically negotiates hybrid key exchange with compatible clients when TLS 1.3 is enabled. For origins, workforce connections, and network tunnels, the protection in use depends on how you connect and what the other endpoint can negotiate.
Use this guide to verify where your traffic already uses post-quantum encryption and configure the connections that still need it. For the underlying technology, refer to Post-quantum cryptography. For current coverage, refer to PQC in Cloudflare products.
When Cloudflare serves your website or API, the visitor connection and the connection to your origin are protected separately. Start with the traffic reaching Cloudflare, then check how Cloudflare connects to your origin. This lets you see where post-quantum encryption is already in use and where a configuration change would help.
-
Select your zone and go to Analytics > HTTP Traffic.
Go to HTTP Traffic ↗ -
Find the TLS Key Exchange card. Traffic labeled
X25519MLKEM768negotiated hybrid key exchange.X25519alone is classical. -
If no traffic uses
Go to Edge Certificates ↗X25519MLKEM768, go to SSL/TLS > Edge Certificates. Turn TLS 1.3 on if it is off. If it is already on, check browser or API client support. Retry with a compatible client and check HTTP Traffic again.
If your origin cannot yet negotiate post-quantum key exchange, you can use Cloudflare Tunnel to protect the connection between Cloudflare and cloudflared without upgrading the origin server.
For an origin behind Cloudflare Tunnel, use the connector settings. For a direct HTTPS origin:
-
Go to SSL/TLS > Overview and select Automatic SSL/TLS. Cloudflare selects the most secure encryption mode your origin supports.
Go to Overview ↗ -
Under Origin connection & post-quantum encryption, turn on Automatic key exchange. Cloudflare prefers post-quantum hybrid key exchange when the origin supports it and retains compatibility when it does not.
-
If you use HTTP Requests Logpush, include
Go to Logpush ↗OriginTLSKeyExchangeGroupandClientTLSKeyExchangeGroupin the job. In your log destination, find a request that reached the origin. Look forX25519MLKEM768in the origin field; the client field describes the visitor connection. Refer to the visibility walkthrough ↗︎ for examples.
Key exchange protects traffic confidentiality. It does not verify the certificate signature. Open SSL/TLS > Origin Server, then choose the setting for the identity you want to verify:
Go to Origin Server ↗- Cloudflare verifies the origin: With Full (strict), configure Custom Origin Trust Store with an ML-DSA certificate authority. A custom trust store replaces the zone’s default public certificate authorities. Confirm that Cloudflare can validate all affected origins before switching.
- The origin verifies Cloudflare: Configure Authenticated Origin Pulls with an ML-DSA client certificate and configure the origin to verify it.
Follow the origin authentication setup for the direction you need, including how to reject classical certificates to prevent fallback.
Employees use Cloudflare to reach private applications and administer servers. Check how employees connect to Cloudflare, then configure the Tunnel connector or SSH access they use to reach the resource.
-
In Zero Trust, open Team & Resources > Devices > Device profiles. Under General profiles, edit the profile that applies to your devices.
Go to Device Profiles ↗ -
If Device tunnel protocol is set to WireGuard, change it to MASQUE. If MASQUE is already selected, leave it on. Refer to device profile settings.
-
On a connected device, run
warp-cli settingsand confirm the active protocol is MASQUE.
Check visitor traffic for the proxied application hostname. Use TLS 1.3 and a compatible browser. No device profile change is needed for browser-only access.
These settings apply to the connection between cloudflared and Cloudflare.
-
Check the transport used by the connector. Use QUIC for post-quantum key exchange. HTTP/2 does not support it.
-
By default,
cloudflaredtries post-quantum key exchange first. If it cannot establish a post-quantum connection, it can fall back to classical key exchange. To require post-quantum key exchange without fallback, set the transport toquicand enable--post-quantum. Refer to the Tunnel run parameters for your installation.
When Gateway inspects HTTPS traffic, it terminates the client’s TLS connection and uses a separate TLS connection to the destination website. Gateway automatically negotiates hybrid post-quantum key exchange with compatible destinations over TLS 1.3. Post-quantum protection on this connection is independent of how traffic reaches Gateway.
-
Check the connection to Gateway. For devices using the Cloudflare One Client, set Device tunnel protocol to MASQUE in the applicable device profile. Run
warp-cli settingson the device to confirm that MASQUE is active. For sites connected through IPsec, follow the hybrid key exchange guidance in the Magic Transit and Cloudflare WAN section. -
Verify the connection from Gateway. From a device whose HTTPS traffic Gateway inspects, open the Cloudflare post-quantum test site ↗︎. Confirm that Gateway inspected the test request. The result shows the key exchange between Gateway and that site. It does not verify the connection from the device or site to Gateway. Other websites negotiate independently.
Refer to Post-quantum cryptography in Cloudflare One: Secure Web Gateway for the connection example.
The SSH proxy defaults to hybrid key exchange (mlkem768x25519-sha256) between the client and the proxy and between the proxy and the server. This protects session traffic. Host keys and short-lived user certificates are separate. Refer to SSH protection by type.
Magic Transit and Cloudflare WAN can carry traffic between your network and Cloudflare over a tunnel. Start with the type of tunnel you use to determine whether post-quantum encryption applies. For an encrypted tunnel, the device on your side determines what to configure or verify.
-
In Networking > Connectors, select your IPsec tunnel. Check the validated device list for the peer router model, software release, and supported ML-KEM variant.
Go to Connectors ↗ -
In the router’s IKEv2 Phase 1 proposal, configure DH Group 20 with ML-KEM as an additional exchange and enable IKEv2 fragmentation. Group 20 alone is classical. Cloudflare recommends ML-KEM-768 where supported. Refer to the supported tunnel settings.
-
For handshake diagnostics, use the IPsec logs dataset in Logpush. In your log destination, inspect the
Go to Logpush ↗Messagefield. A healthy tunnel confirms connectivity. If the handshake details do not identify ML-KEM, they do not confirm a hybrid exchange.
Check the appliance software version instead of editing an IKEv2 proposal. Starting with version 2026.2.0, the appliance establishes its IPsec traffic keys over a TLS 1.3 control connection using hybrid ML-KEM. The version confirms documented support, not the result of a specific live handshake. Refer to how the appliance establishes keys.
An application can receive visitors, call an API, and use storage or private services. Each connection is protected separately. Use the sections that match how your application runs to see which settings you control and which connections Cloudflare manages for you.
Workers custom domains, workers.dev, Pages, and public R2 endpoints use Cloudflare’s visitor-facing TLS. For a platform hostname such as workers.dev, inspect that hostname’s negotiated group in a compatible browser. For a custom domain in your zone:
-
Open SSL/TLS > Edge Certificates and check that TLS 1.3 is on.
Go to Edge Certificates ↗ -
Open Analytics > HTTP Traffic. Look for
Go to HTTP Traffic ↗X25519MLKEM768in the TLS Key Exchange card. If it is absent, follow the visitor checks.
Outbound HTTPS fetch() calls from Workers running under your zone use the zone’s origin connection settings.
-
Open SSL/TLS > Overview > Origin connection & post-quantum encryption.
Go to Overview ↗ -
Keep Automatic key exchange on for compatibility. Before selecting Post-quantum hybrid, check all affected destinations, not just the API called by one Worker. Cloudflare can return HTTP
525for an incompatible destination.
Cloudflare manages the connection and its migration when a Worker uses a binding to access D1, KV, Durable Objects, or R2. No configuration change is needed for the binding. For rollout information, refer to post-quantum protection on Cloudflare’s internal network.
For Workers VPC over Cloudflare Tunnel, use the Tunnel connector settings for transport and fallback rather than the zone’s origin setting.
- PQC in Cloudflare products — Key agreement and authentication support by product.
- Post-quantum visibility ↗︎ — Dashboard and log examples for visitor and origin traffic.
- Project Quantum Leap ↗︎ — Cloudflare’s migration timeline.