Java (OpenJDK) · OpenJDK community / Oracle

Does Java support post-quantum TLS?

Key exchange (JDK 27)

For key exchange, yes, from JDK 27: its TLS 1.3 implementation prefers the hybrid X25519MLKEM768 by default, with no code change. ML-KEM and ML-DSA have been available as APIs since JDK 24. ML-DSA is not yet used in Java's TLS or JAR signing.

Last change 15 Sep 2026Checked 3 sources

Where it stands

JDK 24 (18 March 2025) added ML-KEM (JEP 496) and ML-DSA (JEP 497) as APIs for developers. JDK 27 (15 September 2026) delivered JEP 527: X25519MLKEM768 is enabled by default and is the most preferred TLS 1.3 key exchange group. The release note lists 25.0.5 and Oracle's 21.0.14 and 17.0.22 as further fix versions.

What comes next

ML-DSA support in TLS and JAR-file signing is to be added once the standards exist. The JDK may add pure ML-KEM key exchange in future work. The other two hybrid groups exist but are not enabled by default.

What is at risk today

Java versions without the change negotiate classical key exchange such as x25519 or secp256r1, and the JDK's motivation text names RSA and elliptic-curve Diffie-Hellman as the algorithms at risk. Authentication in TLS and JAR-file signing still use classical signatures.

Timeline

  1. JDK 24 reached general availability with ML-KEM (JEP 496) and ML-DSA (JEP 497) implementations. openjdk.org
  2. JEP 527, post-quantum hybrid key exchange for TLS 1.3, was created. openjdk.org
  3. JDK 27 reached general availability with JEP 527: X25519MLKEM768 is the preferred TLS 1.3 key exchange by default. openjdk.org

Sources