Encrypted history · Guide 07

Why is Messenger asking for a PIN?

Usually because your end-to-end encrypted chat history is in a backup, and a new device needs your security method to restore it. Pick what you’re looking at.

It’s restoring your chat history. On a new device Messenger asks for the PIN you chose when you first created a backup. Enter it and your encrypted chats come back.

Why it happens ↓

You don’t have a PIN yet — or you restore with a cloud key. Messenger says that after December 2026 a key in iCloud Drive or Google Drive won’t give access to history on new devices, and that you’ll receive a notice to create a PIN instead.

Create one ↓

A one-time code was requested to restore your chats. If it was you on another device, tap “This was me”. If you didn’t request it, Messenger says to tap “This wasn’t me”.

If it wasn’t you ↓

That’s a different PIN. Messenger Help keeps a separate article for the PIN used with payments in Messenger. It doesn’t restore chats.

Three things called “pin” ↓
Simplified reconstruction. On-screen labels, PIN length and keypad are illustrative, not Messenger’s exact screens. Fictional names.
Why it asks

Your encrypted chat history is in a backup. A new device needs your method.

Messenger Help: “Your end-to-end encrypted chat history is stored in your Messenger backup.” When you switch devices, you restore it with the security method you chose.

You log in on a new device

Phone, tablet or computer.

Your chats are in the backup

Encrypted; Meta can’t read them.

Messenger asks for your method

PIN, Apple or Google account, 40-character code or one-time code.

History restored

Your backed-up encrypted chats on the new device.

Messenger notes that encrypted backups are being introduced gradually and may not be available to you yet.

Create a PIN

Four stops in the mobile app.

You only see “Create PIN” if you don’t already have one. If you do, use it or reset it.

Three things called “pin”

Only one of them restores chats.

Chat PINRestores encrypted chat history

Created in Message storage. Asked for when you log in on a new device.

Forgot it? →
Payments PINFor payments in Messenger

Messenger Help covers it in its own article: “Set up or change your PIN for payments in Messenger”.

Pinned messageA different chat feature

Messenger Help has a separate article: “How to pin or unpin a message in a Messenger chat”.

Illustration comparing three Messenger features called pin: a chat PIN that unlocks the encrypted backup, a payments PIN, and a message pinned to the top of a chat
Chat PIN opens the backup. Payments PIN and pinned messages are different features.
!

A code request you didn’t make? Tap “This wasn’t me”.

Messenger sends one-time codes to the Messenger app on a phone where you’ve recently used it — not to a computer. If you didn’t ask for one, Messenger says to tap “This wasn’t me”.

Messenger also says it can’t reset your PIN or restore your backup for you. So a person or site asking you for your PIN or a code to “restore” chats isn’t part of the process. (Our advice: don’t share either.)