Internet & Social Media

WhatsApp Two-Step Verification: Stop Account Takeovers

It takes a minute and blocks scammers from hijacking your account even if they trick you into sharing the SMS code. Here is how to set it up.

By Redação IntelliTechs · reviewed by Clóvis Eduardo EscarabelinUpdated Oct 24, 20265 min read
Smartphone protected by a padlock and a glowing shield
Illustration generated by artificial intelligence

One of the most common WhatsApp scams starts with someone posing as a store, a marketplace buyer or a survey and asking for “the code you just received by text.” That code is what moves your account to a new phone, so whoever reads it back hands over their WhatsApp.

Two-step verification adds a second lock. A scammer who has the SMS code still runs into a secret that only you know. That secret used to be a six-digit PIN, and reports from August 2026 say WhatsApp now also lets you set a longer custom password.

How the code scam works

When you set up WhatsApp on a new phone, the app texts a six-digit code to the registered number to prove the number is yours. The scammer starts that process with your number on their own phone, which sends the text to you, and then talks you into reading it back, posing as a friend, as WhatsApp support or as a store running a promotion.

The Cyber Security Agency of Singapore describes a variation. After several failed attempts, the code can be delivered by voice call, and if that call lands in your carrier voicemail while the default voicemail PIN is still set, an attacker can listen to it without ever contacting you. If you have never changed your voicemail PIN, ask your carrier how to do it.

Once inside, a scammer will often turn on two-step verification themselves so you cannot get back in. Turning yours on first closes that door.

How to turn it on

The steps are the same on Android and iPhone:

  1. Open WhatsApp and go to Settings.
  2. Tap Account > Two-step verification.
  3. Tap Turn on.
  4. Create your secret: a six-digit PIN or, if your app offers it, a longer password that can mix letters, numbers and symbols. Avoid birthdays and sequences like 123456.
  5. Add a recovery email so you can reset the secret if you forget it.
  6. Confirm the email through the link WhatsApp sends you.

Every now and then the app will ask for your PIN or password so you don’t forget it. It won’t ask every time you open WhatsApp; the secret mainly comes into play when someone tries to register your number on another device.

The password option was reported in late August 2026 and may be rolling out gradually, so menu names can differ from phone to phone. If you only see the PIN, use it and check again after updating the app.

PIN, password or passkey

Option What it does Watch out for
Six-digit PIN Second lock when your number is registered Short, so avoid birthdays and sequences
Long password Same job, many more combinations Keep it in a password manager
Passkey Confirms it is you with fingerprint, face or screen lock Needs a passkey manager on your phone

If your WhatsApp already offers the password, pick it, as long as you store it somewhere safe. A long password you forget, with no recovery email, is worse than a PIN you remember.

Passkeys live under Settings > Account > Passkeys. Instead of typing a code, you confirm your identity with a fingerprint, your face or the screen lock. According to the August reports, you can now keep more than one passkey on the same account, which helps if you use both an Android phone and an iPhone. Passkeys do not replace two-step verification, and the best setup uses both.

The second lock stops the code scam because, even with the SMS code, a criminal needs your PIN or password to register your number on another device. It can’t help if you hand over the PIN yourself, so never share it.

Red flags

Be suspicious whenever someone:

  • asks for a code you received by text, even if they say it is “to confirm your registration” or “to release a prize”;
  • messages you from a new number claiming to be a relative who “got a new phone” and then asks for money;
  • pushes you with tight deadlines or threats to cancel something.

When in doubt, call the person on their old number or contact the company through its official channels. If a verification text arrives that you did not ask for, don’t reply to anyone. Someone tried to register your number, and the second lock is what stops them.

Privacy settings that help

Go to Settings > Privacy > Groups and choose who can add you to groups. Many scams start with a fake “investment” or “job offer” group.

On Android, WhatsApp also began showing context on calls from unknown numbers, such as whether the number is from another country or whether you share any groups with the caller. Treat that as a hint; it doesn’t prove the caller can be trusted. Under Settings > Privacy > Calls, you can also silence unknown callers, who still show up in your call list.

Keep the app updated, too. As we covered in our story on WhatsApp blocking logins on phones with outdated software, WhatsApp is already turning away very old devices, which tend to miss security fixes.

What if your account was already taken?

Reinstall WhatsApp on your phone and sign in with your number. A fresh SMS code arrives, and once you are back in, the scammer is logged out. According to the Singapore advisory, if they turned on two-step verification before you did, you may have to wait 7 days to sign in without the PIN. Reinstalling deletes your chat history unless you have a working backup.

Meanwhile, warn your contacts through other channels so nobody sends money to requests made in your name, and report the incident to the police. If you suspect something broader, our guide on how to tell if your phone was cloned or SIM swapped covers the warning signs.

Frequently asked questions

I forgot my PIN. Now what?

If you added a recovery email, use the forgot PIN option to get a reset link. Recent reports say that once the feature is on, an account can no longer be reset with only an emailed link, so don’t count on that route unless you have kept your secret somewhere safe. Without an email, the Singapore advisory describes a 7-day wait.

Do I have to switch from a PIN to a password?

No. Two-step verification itself remains optional. A long password offers far more combinations than six digits, but pick whichever you can store safely.

More WhatsApp and social media how-to guides →