This is a great technical question about TLS 1.3. Let me break down the TLS 1.3 one-RTT handshake compared to TLS 1.2's two-RTT handshake.
TLS 1.2 Two-RTT Handshake
Let me first explain TLS 1.2 to provide context:
-
Round Trip 1 (RTT 1):
- Client sends ClientHello with cipher suites it supports, random value, etc.
- Server responds with ServerHello, selecting a cipher suite, plus Certificate, ServerKeyExchange (containing server's ephemeral public key), and CertificateRequest/ServerHelloDone
-
Round Trip 2 (RTT 2):
- Client sends ClientKeyExchange (containing the client's ephemeral public key or encrypted premaster secret), Certificate (optional), CertificateVerify (optional), and ChangeCipherSpec followed by Finished
- Both sides now have the shared secret and can encrypt
- Server responds with ChangeCipherSpec and Finished
-
The actual encrypted application data can only start after this second RTT is complete
So in TLS 1.2, you need 2 full round trips before you can send encrypted application data. The timeline looks like:
- Client → Server: ClientHello
- Server → Client: ServerHello, Certificate, ServerKeyExchange, etc.
- Client → Server: ClientKeyExchange, Finished
- Server → Client: Finished
- Client → Server: ApplicationData (encrypted)
TLS 1.3 One-RTT Handshake
In TLS 1.3:
-
Key Agreement in ClientHello:
- The client sends ClientHello with key_share extension
- This extension contains the client's public key for the key exchange (typically for one or more groups like X25519 or P-256)
- The client anticipates which key exchange group the server will select, typically including the most modern and efficient option since that's what most servers prefer
-
Server Response:
- Server receives the ClientHello with key_share and immediately selects its preferred cipher suite and key share from the client's options
- Server sends ServerHello with its own public key share, allowing both sides to derive the shared secret right away
- Server then sends EncryptedExtensions, Certificate, and CertificateVerify—all encrypted with the newly derived keys
- Server sends Finished (encrypted)
-
Client's Response:
- Client receives ServerHello and derives the same shared secret
- Client verifies the server's signature in CertificateVerify
- Client sends Finished (encrypted) and can immediately begin sending ApplicationData (encrypted)
The exchange happens in a single round trip: ClientHello goes out, then ServerHello with all encrypted messages comes back, and the client responds with Finished and application data. The critical difference from earlier TLS versions is that the server can start sending encrypted data without waiting for the client's Finished, and the client doesn't need to wait for the server's final acknowledgment before transmitting application data. The core distinction is that TLS 1.3 lets the client include its public key in the initial ClientHello, enabling the server to compute the shared secret right away. In TLS 1.2, the client must wait for the ServerKeyExchange message before it can derive the shared secret and begin encrypting, which adds a full round trip. So "1-RTT" really captures that the client only needs to wait once for the server's response before it can send its encrypted Finished message and application data. The client needs to wait for the server's initial response before proceeding, then sends its own message without requiring further server confirmation before encrypted communication begins.
In TLS 1.2, the client waits for the server's handshake messages, derives keys from the exchange, sends its response, then must wait again for the server's Finished message. This creates a 2-RTT requirement for the client to start sending encrypted data. TLS 1.3 eliminates the second wait—after receiving the server's response and sending its own key material, the client can immediately begin encrypted transmission without pausing for additional server messages. The server can send encrypted data to the client after roughly 1.5 RTTs, while the client needs about the same to send encrypted data back to the server. TLS 1.3 achieves this efficiency through several key changes: the server can encrypt data immediately after receiving the ClientHello with key material, without waiting for the client's final authentication message. Session resumption with pre-shared keys enables even faster "0-RTT" connections where encrypted application data flows in the initial message. Additionally, the protocol removes ordering constraints that previously forced the server to wait for client responses before transmitting its own encrypted content.
In TLS 1.2, the handshake requires sequential waiting: the client sends ClientHello, waits for ServerHello and key material, then sends its KeyExchange, and only then can the server compute shared secrets and send encrypted data. TLS 1.3 eliminates this by having the client include key material in the initial ClientHello, allowing the server to compute encryption keys and begin sending encrypted content immediately—reducing the round trips needed before encrypted communication can begin. the client can verify the server and send encrypted data, there's only one round trip needed—a significant improvement over TLS 1.2, which requires two full round trips before encrypted communication is possible.
In TLS 1.2, the client waits for ServerHello, sends ClientKeyExchange, then waits again for the server's Finished message. TLS 1.3 streamlines this to just one wait for ServerHello before the client can transmit its Finished message. Even more remarkably, TLS 1.3 supports a 0-RTT mode when resuming a previous session—the client can send encrypted application data immediately within the ClientHello itself, eliminating any latency penalty for repeat connections.
This works because both sides already possess pre-shared keys from their prior session, allowing the server to decrypt and process data without waiting for handshake completion. For fresh connections, TLS 1.3's single round trip still outperforms TLS 1.2's two because the server can begin sending encrypted data to the client right after receiving the ClientHello, and the overall cryptographic flow is more parallel rather than strictly sequential.
Looking at the actual timeline more carefully, TLS 1.2 requires three round trips before the handshake completes and the client can transmit encrypted data, whereas TLS 1.3 accomplishes this in two. The key distinction is that the server can already send encrypted data back at one RTT in TLS 1.3, compared to needing three RTTs in TLS 1.2. The "1-RTT" designation appears to reference the server's ability to transmit encrypted data after just one round trip.
The main efficiency gains come from the client providing its ephemeral key upfront in the ClientHello, eliminating the need for an extra server response to exchange keys. This also allows the server to begin encryption work immediately upon receiving the initial message. Fewer sequential waiting periods throughout the handshake result in substantially lower latency overall.
TLS 1.3 One-RTT Handshake vs. TLS 1.2
The Core Difference: When Keys Are Available
TLS 1.2 (Two-RTT)
Client Server
| ClientHello (no keys) ---------> |
| | (waiting for client key material)
| <-- ServerHello + ServerKeyExchange-- | [RTT 1 complete]
| (derives shared secret) |
| |
| ClientKeyExchange + Finished ----> | [RTT 2 complete]
| <----- Finished ------ | (derives shared secret)
| NOW encrypted app data flows
Problem: The server sends its ephemeral public key in ServerKeyExchange. The client must receive this before it can derive the shared secret. This enforces sequential coupling.
TLS 1.3 (One-RTT)
Client Server
| ClientHello + key_share --------> | (client's ephemeral key included)
| | (derives shared secret immediately)
| <-- ServerHello + key_share ------| [RTT 1 complete]
| + EncryptedExtensions | (both sides can now encrypt)
| + Certificate (encrypted) |
| + Finished (encrypted) |
| (derives shared secret, verifies) |
| |
| Finished (encrypted) + AppData --> |
Improvement: The client includes its public key in the initial ClientHello. The server needs zero additional information to compute the shared secret.
Why This Reduces Latency
1. Elimination of Sequential Dependency
| Stage | TLS 1.2 | TLS 1.3 |
|---|
| Client sends hello | ✓ | ✓ |
| Server must receive before responding | ✓ | ✓ |
| Server can derive keys before responding | ✗ | ✓ |
| Server waits for client's key material | ✓ | ✗ |
In TLS 1.2, the server cannot encrypt a response until the client sends ClientKeyExchange. In TLS 1.3, the server has everything needed after ClientHello.
2. Server Can Send Encrypted Data at 1-RTT
TLS 1.2: Client sends → (RTT) → receives server hello → sends key →
(RTT) → receives encrypted server data [2 RTTs]
TLS 1.3: Client sends → (RTT) → receives encrypted server data [1 RTT]
The server begins encryption immediately upon receiving ClientHello.
3. Fewer Handshake Messages
- TLS 1.2: ClientHello → ServerHello/Cert/KeyExchange/Done → ClientKeyExchange → Finished (4 logical phases)
- TLS 1.3: ClientHello → ServerHello/EncryptedExtensions/Cert/Finished → Finished (2 phases)
No ServerKeyExchange needed; no ChangeCipherSpec needed.
But Wait: "One-RTT" Still Needs 1.5 RTTs for Bidirectional Data
The client still waits ~1.5 RTTs before sending encrypted application data:
0 ms: Client sends ClientHello + key_share
RTT ms: Client receives ServerHello → derives keys → verifies certificate
2×RTT ms: Client sends Finished + encrypted app data
The "1-RTT" terminology refers to how many round trips the handshake latency adds, not the wall-clock time:
- TLS 1.2: HandshakeLatency = 2 RTTs (client must wait, act, wait again)
- TLS 1.3: HandshakeLatency = 1 RTT (client must wait once before acting)
Additional Optimizations in TLS 1.3
0-RTT Mode (with PSK)
If resuming a session with a pre-shared key:
Client sends: ClientHello + encrypted app data (in same packet)
Server decrypts and processes immediately—zero handshake latency for repeat connections.
Parallel Server Response
The server can pipeline all its handshake messages (EncryptedExtensions, Certificate, CertificateVerify, Finished) in a single flight, whereas TLS 1.2 conceptually needed staggered responses.
Practical Impact
For a 50ms RTT connection:
- TLS 1.2: ~100ms handshake before app data flows
- TLS 1.3: ~50ms handshake before app data flows
- TLS 1.3 with PSK: ~0ms handshake (0-RTT mode)
This is why TLS 1.3 significantly improves perceived latency, especially on high-latency networks.