End-to-End Encryption in Messaging
Learn what end-to-end encryption hides from a messaging service, what it leaves exposed, and how to check that your chats are protected.
Key takeaways
- With end-to-end encryption, the messaging provider relays content it cannot decrypt.
- Metadata such as who contacted whom, when and from which network may still be visible to the service.
- Cloud backups, linked devices and the recipient's own phone are common places where protected messages become readable.
- Comparing safety numbers or similar codes lets you confirm that no one has substituted a key.
- Some apps encrypt every chat by default and others only in a special mode, so check each one.
End-to-end encryption means a message is encrypted on the sender's device and decrypted only on the recipients' devices. The company relaying it passes along ciphertext and doesn't hold the keys needed to read the content.
That is a strong promise with clear edges. It doesn't cover everything about a conversation, and it can be undone by a backup, a compromised phone or a person on the other end. Here is how it works and how to check what you're getting.
How it differs from ordinary encryption
Most online services encrypt data in transit with TLS. Your message is protected between your phone and the company's server, and again from the server to your friend. At the server it is decrypted, which lets the company read, scan, search or hand over the content.
With end-to-end encryption, a second layer is applied on your device using keys the server never receives. The TLS connection still protects the trip, but even after it ends at the server, the message inside remains locked. For background, see encryption explained.
How the keys work
Each device generates its own key pairs. Private keys stay on the device. Public keys are uploaded to the service, which acts as a directory.
To start a chat, your app fetches the recipient's public keys and combines them with your own to derive a shared secret, using the idea behind Diffie-Hellman key exchange. Because the recipient may be offline, many apps have each device upload spare one-time public keys in advance.
A widely used design, the Signal protocol, then applies a ratchet: keys keep changing as messages flow. Two benefits follow. Forward secrecy means that stealing today's keys doesn't unlock earlier messages. Post-compromise security means that after a temporary compromise ends, fresh exchanges can restore protection. Several apps use this protocol or one derived from it; others use their own designs. For groups, the IETF has standardized Messaging Layer Security (RFC 9420), which aims to make key management efficient in large conversations.
Group chats and calls
Groups add complexity because every member needs to read each message and membership changes over time. One common approach has each sender create a sender key, share it with the others through the individual encrypted channels and use it for group messages. Another, used by Messaging Layer Security, arranges keys in a tree so that adding or removing someone takes comparatively little work even in large groups.
What matters to you is practical. When someone leaves, keys should change so they can't read what follows. New members normally can't read earlier messages unless someone shares that history with them. And a group is only as private as its least careful member and whoever controls the member list, so check who is in it before posting something sensitive. Managing group chats covers admin settings and invite links.
Voice and video calls can be end-to-end encrypted too. Keys are agreed when the call starts, and any relay server forwards media it can't decode. Large meetings are harder, and some products drop the protection beyond a certain mode or feature.
Verifying who you're talking to
The directory step is the weak point. A malicious or compromised server could hand you a key it controls and sit in the middle. To guard against this, apps offer a safety number, security code or QR code derived from both parties' keys. If you compare it in person or over a channel you trust and it matches, no substitute key is in the path.
You'll sometimes see a notice that a contact's security code changed. The ordinary cause is a new phone or a reinstall. For sensitive conversations, confirm through another route before continuing. Some services also use key transparency, a public, tamper-evident log of keys that lets software detect substitutions automatically.
What stays visible
Encrypting content doesn't make a conversation invisible.
| Item | Protected by end-to-end encryption? |
|---|---|
| Message text, photos, voice notes | Yes, in transit and on the server |
| Who you message and when | Often no; depends on the service |
| Your phone number or account details | No |
| IP address and approximate location | No, at least to the service |
| Message size and frequency | Generally no |
| Notification previews on your lock screen | No, they appear on your device |
| Copies kept by recipients | No |
Services differ sharply in how much metadata they collect and keep. Read the privacy policy, and don't assume that two apps with the same encryption protocol handle metadata the same way.
Where protection breaks down
Backups
A chat backup uploaded to a cloud account may be encrypted with a key the cloud provider holds, which means the provider can read it, even though the live chats were end to end encrypted. Many apps and platforms now offer end-to-end encrypted backups as an option. Turn it on if it fits your needs, and store the recovery password or key carefully, because losing it can mean losing the history. Your contacts' backup settings affect their copy of your messages too. See backing up chat history.
Linked devices
Desktop and tablet clients receive messages too. Check the linked devices list now and then and remove any you don't recognize. Someone who briefly had your unlocked phone could have added one.
The endpoints
If a phone is infected with spyware or simply left unlocked, messages can be read on screen. Keep the system and apps updated, use a screen lock and install apps only from sources you trust.
The other person
Recipients can screenshot, forward or photograph anything. Disappearing messages reduce what lingers, but they can't force a person or a modified app to forget.
Reporting and bots
When someone reports a message, their app typically sends a copy to the service for review, since it already has the plaintext. Chats with businesses or bots, and AI features that process messages on a server, may involve a third party reading content. Look for labels explaining this.
Checking your own apps
- Find the app's security documentation and confirm whether end-to-end encryption is on by default for one-to-one chats, groups and calls.
- If it exists only in a "secret" or special mode, learn how to start that mode. Telegram's limits are an example worth understanding.
- Check what happens when a chat falls back to SMS or another unprotected route. The comparison of SMS, RCS and internet messaging explains why it matters.
- Turn on encrypted backup, or turn backup off for sensitive chats.
- Enable a registration lock or two-step verification so someone who takes over your number can't easily register as you.
- Review linked devices and lock screen previews.
- Verify safety numbers with your most sensitive contacts.
If you're picking a new app, choosing a messaging app compares the factors, and Signal explained describes one privacy-focused design.
Email and other channels
End-to-end encryption for email exists through PGP and S/MIME, but it requires both sides to set up keys, and subject lines and addresses usually remain readable. Most ordinary email is only protected hop by hop. Video meetings vary as well: some offer an end-to-end option that disables features needing server access, such as cloud recording or live transcription. Check the indicator in the meeting itself.
What changes when you switch phones
Because keys live on devices, moving to a new phone isn't like signing in to a website. The service can give you your account back, but it can't give you keys it never had. Apps handle this with direct device-to-device transfer, an encrypted backup you unlock with a password or recovery key, or simply a fresh start with no history. Your contacts will usually see that your security code changed.
Plan the move while the old phone still works. Check which method your app supports, confirm the recovery key is stored somewhere you can reach and wipe the old device only after messages appear on the new one.
The policy argument
Governments and child safety and law enforcement advocates argue that end-to-end encryption can put evidence of serious crimes out of reach even with a warrant. Security researchers and privacy advocates reply that any mechanism for outside access weakens protection for everyone. Our article on the encryption backdoor debate presents both cases. Laws affecting messaging services differ by country and have been in motion, so check current news from reliable sources.
Common questions
Can the company read my messages if a court orders it?
If the design is truly end to end and the company lacks the keys, it can't produce the plaintext from its servers. It may still hold metadata, backups it can decrypt or account details, which legal process can reach.
Does the padlock icon mean end-to-end encryption?
Not necessarily. A padlock in a browser indicates an encrypted connection to a site. In apps, read the help page describing what the symbol means.
Is end-to-end encryption slow or hard to use?
For most messaging apps it runs invisibly. The extra effort shows up mainly with backups, new device setup and verification.