Created in Message storage. Asked for when you log in on a new device.
Forgot it? →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” ↓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.
Phone, tablet or computer.
Encrypted; Meta can’t read them.
PIN, Apple or Google account, 40-character code or one-time code.
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.
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.
Only one of them restores chats.
Messenger Help covers it in its own article: “Set up or change your PIN for payments in Messenger”.
Messenger Help has a separate article: “How to pin or unpin a message in a Messenger chat”.
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.)