---
title: "How WhatsApp is enabling end-to-end encrypted backups"
description: "WhatsApp is adding optional end-to-end encrypted backups for iCloud and Google Drive, so neither WhatsApp nor the cloud provider can read backups or their keys."
url: "https://swe.quest/articles/how-whatsapp-is-enabling-end-to-end-encrypted-backups-462b4d8e6c3fd1c4"
canonical: "https://engineering.fb.com/2021/09/10/security/whatsapp-e2ee-backups/"
source: "Meta Engineering"
published: "2021-09-10"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 3
tags: ["cryptography","privacy","mobile","communications"]
---

# How WhatsApp is enabling end-to-end encrypted backups

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2021-09-10, 3 min read, Announcement. Original: [https://engineering.fb.com/2021/09/10/security/whatsapp-e2ee-backups/](https://engineering.fb.com/2021/09/10/security/whatsapp-e2ee-backups/)

## Summary

WhatsApp is adding optional end-to-end encrypted backups for iCloud and Google Drive, so neither WhatsApp nor the cloud provider can read backups or their keys. Each backup is encrypted with a random key that users either keep as a 64-digit code or protect with a password. Password-protected keys are stored in a geographically distributed, HSM-based Backup Key Vault behind the ChatD front end. The vault verifies passwords, makes the key permanently inaccessible after a limited number of failed attempts to stop brute force, and exchanges encrypted messages with the client that ChatD itself cannot read.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Cryptography](https://swe.quest/tags/cryptography.md) (Security)
- [Privacy](https://swe.quest/tags/privacy.md) (Security)
- [Mobile](https://swe.quest/tags/mobile.md) (Web & mobile)
- [Communications](https://swe.quest/tags/communications.md) (Domains)

## Prerequisites

- symmetric encryption ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))
- end-to-end encryption basics ([easy posts on Cryptography](https://swe.quest/tags/cryptography.md?difficulty=easy))

## Keywords

WhatsApp, HSM, Backup Key Vault, ChatD, iCloud, Google Drive

## Related posts

- [IPLS: Privacy-preserving storage for your WhatsApp contacts](https://swe.quest/articles/ipls-privacy-preserving-storage-for-your-whatsapp-contacts-415f2b1b7c1eba74.md): Meta Engineering · 2024-10-22 · Easy · 5 min read · Cryptography, Privacy, Identity & auth, Communications
  WhatsApp's Identity Proof Linked Storage (IPLS) stores contact names encrypted with a client-generated symmetric key, and keeps that key in an HSM-based Key Vault reachable only over an end-to-end encrypted channel.
- [Deploying key transparency at WhatsApp](https://swe.quest/articles/deploying-key-transparency-at-whatsapp-0e23deb403e7d86e.md): Meta Engineering · 2023-04-13 · Medium · 9 min read · Cryptography, Communications, Rust, Security
  WhatsApp now automatically verifies end-to-end encryption keys using key transparency: the server maintains an append-only Auditable Key Directory (AKD) mapping accounts to public keys, and every change emits a privacy-preserving audit proof to public storage that anyone can verify.
- [Key Transparency Comes to Messenger](https://swe.quest/articles/key-transparency-comes-to-messenger-708dc659c9b4f0af.md): Meta Engineering · 2025-11-20 · Easy · 3 min read · Cryptography, Communications, Security
  Messenger now supports key transparency verification for end-to-end encrypted one-on-one chats, letting users automatically confirm that contacts' public keys haven't been swapped by a compromised server instead of comparing per-device keys manually.
- [How WhatsApp enables multi-device capability](https://swe.quest/articles/how-whatsapp-enables-multi-device-capability-b0c5b9accf94ba1b.md): Meta Engineering · 2021-07-14 · Medium · 6 min read · Cryptography, Communications, Privacy, System design
  WhatsApp's new multi-device architecture drops the phone as source of truth: each device gets its own identity key, the server maps accounts to device lists, and senders use client-side fanout to encrypt each message separately over pairwise Signal sessions to every sender and recipient device.
- [Building Private Processing for AI tools on WhatsApp](https://swe.quest/articles/building-private-processing-for-ai-tools-on-whatsapp-0d604d802592db97.md): Meta Engineering · 2025-04-29 · Hard · 12 min read · Security, Cryptography, Privacy, Inference & serving, LLMs
  Private Processing lets WhatsApp users send messages to server-side AI features such as summarization and writing suggestions without Meta or WhatsApp being able to read them.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
