Picture this: a friend messages you on WhatsApp saying they sent a code to your number “by mistake” and asks you to forward it. You send the six digits, and a minute later your WhatsApp logs out. That one code was all someone needed to register your number on their phone. WhatsApp two-step verification is the setting that puts a second lock on your account, so a stolen SMS code alone isn’t enough. Here’s how to set it up on Android and iPhone, and what to do if things go wrong.
What two-step verification actually does
When WhatsApp is registered on a phone, it sends a 6-digit code by SMS or call to prove you hold the SIM. Two-step verification adds a second check: a secret only you know.
For years, that secret was a 6-digit PIN you chose yourself. WhatsApp’s Help Center now says it is upgrading the 6-digit PIN to a password. A WhatsApp password must have:
- At least 8 characters
- At least 1 letter
- At least 1 number
If you already have a PIN, you can replace it with a password (steps below). New setups ask for a password.
Note that it protects an account you still control. WhatsApp says turning it on won’t remove someone who has already taken over your account.
How to turn on WhatsApp two-step verification
Update WhatsApp first, since menu names change between versions.
On Android
- Open WhatsApp and tap the three dots (⋮) in the top-right corner.
- Tap Settings > Account > Two-step verification.
- Toggle on Turn on two-step verification.
- Create a strong password and type it again to confirm.
- Enter an email address you can access and tap Next. (You can tap Skip, but don’t.)
- Tap Trust this device or Skip.
On iPhone
- Open WhatsApp and tap You at the bottom of the screen (older versions label this tab Settings).
- Tap Account > Two-step verification.
- Toggle on Turn on two-step verification.
- Create a strong password and confirm it.
- Add an email address and tap Next, or tap Skip.
- Tap Trust this device or Skip.
Replacing an old PIN with a password
On Android, go to ⋮ > Settings > Account > Password > Create password. Enter a password that meets the rules above, confirm it, and tap Save. On iPhone, tap your profile picture > Account > Password > Create password. Adding a password also turns on two-step verification if it was off.
Skip anything guessable, like your birthday or CNIC digits.
Add an email address for recovery
A verified email lets you recover the account if you forget your password, and WhatsApp can send re-registration codes to it when SMS isn’t arriving.
To add one:
- Android: ⋮ > Settings > Account > Email address > Add email
- iPhone: You > Account > Email address > Add email
Enter the address, tap Next or Verify, then type the 6-digit code WhatsApp emails you and tap Verify. Protect that email with its own strong password and two-factor login.
Forgot your PIN or password? Here’s the reset
If WhatsApp asks for your two-step password and you can’t remember it, you have two routes.
Use another method. Tap Verify another way, choose email, SMS, or Voice call, tap Continue, and enter the code you receive.
Reset the account. If you can’t complete two-step verification at all, WhatsApp’s Help Center says the option to reset your account becomes available after a few days. Pakistan’s National CERT advisory (January 2026) describes this as a 7-day wait when no recovery email is set. To reset, tap Verify another way > See more > Reset account and confirm. This can’t be undone:
- If you last logged in less than 30 days ago, you lose messages received since that login, but your account and profile stay.
- If it’s been more than 30 days, your messages and profile are deleted.
Still logged in? Account > Password > Change password works without the old one.
The 6-digit code scam in Pakistan
Pakistan’s National CERT, PTA, and the Digital Rights Foundation have all warned about WhatsApp hijacking, which relies on tricking people rather than hacking the app. Common versions:
- “I sent you a code by mistake.” The message usually comes from a friend’s account that has already been hijacked.
- The courier call. A caller asks for an “OTP” to confirm a parcel delivery. PTA says couriers don’t need your OTP.
- Fake HEC callers asking for a code to “verify degrees,” as reported by DRF.
- Call forwarding tricks. National CERT warns attackers may get you to dial a code starting *21 so WhatsApp’s verification call reaches them. Dial *#21# to check forwarding and ##21# to cancel it.
Hijacked accounts are then used to ask your contacts for urgent money transfers. Never share a WhatsApp code with anyone, including friends, family, or “WhatsApp support.” An unrequested code means someone entered your number; without the code, they can’t finish.
Other WhatsApp security features worth turning on
WhatsApp’s Help Center lists these extra layers:
- Passkeys: Use your phone’s fingerprint, face, or screen lock instead of an SMS code when you verify your account. On Android (version 9 or later, with a screen lock and a password manager set up), go to Settings > Account > Passkeys > Create passkey.
- App lock: Requires your fingerprint or face to open WhatsApp on supported phones.
- Chat lock: Hides selected chats behind your phone’s passcode, biometrics, or a secret code.
- Encrypted backup: Protects your chat backup with a password or 64-digit key.
- Linked devices check: Open Linked devices in WhatsApp and log out any computer or browser session you don’t recognise.
Common problems
“I see a two-step verification screen I never set up.” A hijacker or a recycled number’s previous owner may have enabled it. Re-register with the SMS code sent to your phone, which WhatsApp says logs the other person out, then use the reset steps above.
“Changing my password didn’t stop the hacker.” WhatsApp says only re-registering with the code sent to your number removes them.
“The email code never arrived.” Check spam, confirm the email was verified in WhatsApp earlier, and fall back to SMS or voice call.
“There’s a delay before I can turn it on.” After re-registering, WhatsApp may make you wait before enabling it. Try again later.
FAQ
Is WhatsApp still using a 6-digit PIN?
Existing PINs still work, but WhatsApp is moving to passwords of at least 8 characters with a letter and a number. You can switch under Account > Password.
Does two-step verification stop all WhatsApp hacking?
No. It blocks someone who only has your SMS code. It won’t help if you share your password or someone is already inside your account.
How long do I wait if I forget my password and have no email?
WhatsApp says the reset option appears after a few days. Pakistan’s National CERT puts it at 7 days.
Will resetting my account delete my chats?
It can. Messages received since your last login are deleted, and if it’s been more than 30 days, your profile goes too. A recent backup lets you restore older chats.
Can I turn two-step verification off later?
Yes. Go to Account > Two-step verification, toggle it off, and tap Turn off.
Wrapping up
Turning on WhatsApp two-step verification takes a minute: Settings > Account > Two-step verification, a strong password, and a recovery email you actually check. Then share one rule with your family, especially older relatives: no WhatsApp code goes to anyone, however familiar the name on the screen.