Restore end-to-end encrypted chats with a 40-character code on Messenger

Android App Help
Computer Help
iPad App Help
iPhone App Help
This feature is gradually being introduced and may not be available to you yet.
If you saved your chats in secure storage from Messenger, you can restore them on a new device using a 40-character code. This is the 40-character code that was previously generated from a device when you first enrolled in secure storage.
Restore chats with a 40-character code
  1. On a computer, go to
  2. Enter your 40-character code and follow the on-screen instructions.
Generate a new 40-character code
  1. Open Messenger on your device with secure storage on and tap your profile photo in the corner.
  2. Tap Privacy & safety.
  3. Tap End-to-end encrypted chats.
  4. Tap Secure storage.
  5. Tap Generate 40-character code.
Was this helpful?