Sign in
whatsapp

WhatsApp Two-Step Verification: Set a Six-Digit PIN and Add a Recovery Email

Set a six-digit PIN on Android or iPhone and confirm your recovery email. Learn which code WhatsApp is asking for and what to do if you receive an unexpected code, forget your PIN, or someone else registers your number.

4 min read
WhatsApp Two-Step Verification: Set a Six-Digit PIN and Add a Recovery Email

1. Know which code WhatsApp is asking for

On your primary phone, open WhatsApp Settings and check that the number shown, including the country code, is the one you want to protect. Two-step verification protects your number when it’s registered again; it doesn’t lock the app each time you open it. Don’t log out, uninstall WhatsApp, or start registration on another phone just to test it. - Registration code: WhatsApp sends this code during registration to verify that you can receive a text or call at that number. You don’t choose it. Don’t enter it when setting up two-step verification. - Two-step verification PIN: You choose this six-digit number. Once two-step verification is on, someone who obtains your registration code will still face a PIN check when registering your number again. The PIN is neither your phone’s screen lock code nor a rotating code from an authenticator app.

In a blue ice cave, a green chat-bubble mascot holds a melting ice key and a durable copper key to contrast a temporary registration code with a fixed PIN.

2. Set a six-digit PIN on your primary phone

  1. On Android, open the menu at the top right of the Chats screen and tap Settings. On iPhone, tap Settings at the bottom. On either platform, go to Account → Two-step verification. If you can’t find it, make sure you’re on your primary phone, not WhatsApp Web or a linked device.
  2. Tap Turn on or Enable. Enter a six-digit PIN, then enter it again to confirm. Avoid birthdays, the last six digits of your phone number, and sequences or repeated digits. Don’t reuse your bank card PIN or screen lock code.
  3. Save the PIN in a password manager you control. Label the entry with your WhatsApp number. Don’t share a screenshot in a work chat or enter the PIN in a one-time code generator. That tool can’t generate or recover your WhatsApp PIN.
In a purple greenhouse, a green chat-bubble mascot adjusts six colorful tumblers on a pea-pod lock to illustrate setting a six-digit PIN.

3. Add a recovery email you can keep using

  1. Enter your email address during setup and double-check the full address. If you skipped this step, go to Settings → Account → Two-step verification → Add email address. To replace an old address, select Change email address. Use an inbox only you can access, not a shared customer service inbox.
  2. If WhatsApp asks you to verify the address, open your inbox and follow the prompt. If the message doesn’t arrive, check your spam folder, then check the spelling of your email domain. Turn on two-factor authentication for the email account itself: someone who can read your recovery email may be able to reset your PIN.
  3. Return to Two-step verification. Check that you see Change PIN and Change email address, rather than Turn on or Add email address. Before switching to a new recovery address, make sure you can sign in to its inbox.
On a sandy island, a green chat-bubble mascot uses a golden lifeline to tie a sealed envelope to a private red mailbox, illustrating how a recovery email is linked.

4. Troubleshoot registration codes and PIN prompts

What you seeWhat to do
A registration code you didn’t requestDon’t reply or forward the code. Receiving it doesn’t mean your account has been taken over. If your phone also suddenly loses service, contact your carrier to check for an unauthorized SIM swap.
An occasional PIN prompt during normal useEnter your PIN only if the prompt appears inside the official WhatsApp app you opened. Never send it in a chat or enter it on an external website.
You forgot your PIN but can access your recovery inboxTap Forgot PIN? on the PIN screen and request a reset email. Use only the reset email you just requested. Don’t open an unsolicited reset link.
You can’t access your recovery inboxFollow the waiting period shown in the app. Requesting more registration texts won’t replace the PIN check. See the WhatsApp Help Center for current recovery rules.
Beside a tide pool, a green chat-bubble mascot avoids a fishing hook baited with a fake key and tucks the real key into a seashell pocket.

5. Final checklist

  • Settings: Confirm that two-step verification is on, your PIN is saved separately, and only you can access the recovery inbox.
  • Devices: Open Linked devices, review each entry, and log out any device you don’t recognize. Changing your PIN doesn’t replace this check.
  • If you’ve been logged out: Register your number again in the official app and follow the prompts to verify it. If you’re asked for a PIN you don’t recognize, use the recovery process. Contact people through another channel and ask them to disregard payment requests from your number until you regain access.