Skip to main content
Online Security

WhatsApp or Telegram Account Hacked? How to Recover It and Lock It Down

Published 16 min read
A smartphone on a table showing a blurred messaging app in soft green and blue tones, a glass of Persian tea beside it, morning light

In short

If your WhatsApp account is hacked, open WhatsApp, log back in and enter the 6-digit code sent to your number; this logs out every other device [1]. Changing your password will not remove an intruder [1]. On Telegram, terminate unknown sessions and turn on 2-Step Verification [6]. Never share login codes with anyone [2][6].

Key takeaways

  1. Re-registering WhatsApp with the 6-digit SMS or call code is the only way to remove someone who has taken over your account [1].
  2. If an intruder set a two-step verification PIN you do not know, WhatsApp says to wait 7 days and try again [1].
  3. Most takeovers rely on tricking you into handing over a login code, scanning a QR code or moving your phone number to another SIM [7][8][9].
  4. Telegram identifies users by phone number, so whoever controls the number controls the account unless 2-Step Verification is on [6].
  5. Turn on two-step verification, add a recovery email, set up a passkey and check linked devices regularly on both apps [2][3][6].
  6. UK Report Fraud says losses from email and social media account hacking rose to 6.3 million pounds in 2025/26 from 1.2 million pounds a year earlier [10].
On this page 12 sections
  1. What should you do if your WhatsApp account is hacked?
  2. How do WhatsApp and Telegram accounts get taken over?
  3. How do you recover a hacked Telegram account?
  4. Which settings protect WhatsApp and Telegram accounts?
  5. How do you check linked devices and active sessions?
  6. Why are passkeys and two-step verification recommended?
  7. What should users in Iran know?
  8. What can recovery not fix?
  9. Common mistakes
  10. Frequently asked questions
  11. Glossary
  12. Sources

What should you do if your WhatsApp account is hacked?

WhatsApp's help centre gives one recovery route for a compromised account, provided you still have the SIM card for your number [1]:

  1. Open WhatsApp and tap Log back in, then Continue. If prompted, enter your full international phone number [1].
  2. Enter the 6-digit code you receive by SMS or phone call. When you re-register with this code, all devices logged into your account are automatically logged out [1].
  3. If you are asked for a two-step verification PIN you do not know, the intruder may have set one. WhatsApp says to wait 7 days and try again; anyone using your account is still logged out once you enter the SMS code [1].
  4. Tell family and friends, because the intruder could impersonate you in chats and groups [1].
  5. Once back in, turn on security features and review the devices linked to your account [1].

What does not work?

Changing your password will not remove someone else from your account; WhatsApp says passwords and two-step verification protect an account you still have access to, and re-registering with the 6-digit code is the only way to remove an intruder [1]. WhatsApp also warns that if you report the compromised account you are trying to recover, it might ban it and you could lose access, so it recommends recovering first [1].

Can the intruder read my old chats?

According to WhatsApp, messages are end-to-end encrypted and stored on your device, so someone who re-registers your account on a new device cannot read your past conversations [1]. They can, however, receive new messages and write to your contacts while they control the account.

How do WhatsApp and Telegram accounts get taken over?

The takeover methods described by fraud agencies and security researchers below do not break encryption. They trick the owner, or the owner's mobile carrier, into handing over the means to log in [7][8][9].

The 'I sent you my code by mistake' scam

Action Fraud, the UK's national fraud reporting centre, described the pattern in 2023: a criminal first takes over a WhatsApp account that has you as a contact, then messages you while posing as your friend [7]. At the same time you receive a WhatsApp text with a six-digit code, because the criminal is trying to log in with your number; they claim they sent the code to you by accident and ask you to pass it on [7]. Once they have it, they log in and lock you out, then repeat the trick on your contacts [7]. At the time, Action Fraud had received over 60 reports of this scam [7].

SIM swapping

In SIM swapping, criminals persuade or bribe a mobile carrier to move your number to a SIM card they hold, after which your calls and texts, including one-time codes, go to their device [9]. The FBI's Internet Crime Complaint Center received 1,611 SIM-swapping complaints in 2021, with adjusted losses of more than 68 million US dollars [9].

Malicious QR codes and linked devices

Both apps let you use your account on computers and other devices. In November 2024, Microsoft observed a Russian state-linked group it calls Star Blizzard emailing targets an invitation to a WhatsApp group; the QR code on the landing page actually linked the victim's account to a device controlled by the attackers, letting them read and export messages through WhatsApp Web [8]. Microsoft said the campaign was limited and appeared to end at the end of November 2024 [8].

Other routes

WhatsApp advises setting a hard-to-guess voicemail password so no one can access your voicemail, and not clicking links in unrequested emails containing a registration code, which may mean someone is trying to register your number [2]. Telegram warns users to treat any bot as a stranger and never give it passwords or Telegram codes [6].

How do you recover a hacked Telegram account?

Telegram says the phone number is currently the only way it identifies a user: whoever has the number has the account, and it cannot help unless you have access to the number or to Telegram on one of your devices [6]. Its advice for a stolen phone is the best guide for any takeover [6]:

  1. If you are still logged in on another device: go to Settings, then Privacy and Security, and turn on Two-Step Verification, so the phone number alone is no longer enough to log in [6].
  2. Go to Settings, then Devices (or Privacy and Security, then Active Sessions), and terminate the session you do not recognise. Without your password, that device cannot log in again [6].
  3. If you have no access on any device: contact your phone provider to block the old SIM and issue a new one with your number, then log in and terminate the unknown sessions [6].

If someone is pretending to be you on Telegram, the FAQ says to contact @NoToScam [6]. Login codes for Telegram itself arrive in the verified service chat named 'Telegram' and should never be shared with anyone, including other services or apps [6].

What is at risk on Telegram?

Telegram keeps cloud chats so you can reach them from any device, and they sync instantly to every device you log in on [6]. Cloud chats use server-client encryption, while secret chats add end-to-end encryption, are not part of the Telegram cloud and can only be accessed on their devices of origin [6]. In practice, then, a session an intruder opens can see your cloud chats but not your secret chats, which is why terminating unknown sessions quickly matters.

Which settings protect WhatsApp and Telegram accounts?

Both apps offer layers that make a stolen code or phone number insufficient on its own. WhatsApp stresses that these features work only on an account you can still access; they cannot restore lost access or remove someone who is already in [2].

  • Two-step verification. On WhatsApp, go to Settings, Account, Two-step verification, turn it on, create a strong password and optionally add an email address [3]. WhatsApp notes that it is upgrading the 6-digit PIN used in two-step verification to a password [3]. On Telegram, 2-Step Verification is under Settings, Privacy and Security; once on, you need both an SMS code and a password to log in [6].
  • Recovery email. WhatsApp says an email added at registration lets you recover the account without SMS or a phone call [2]. Telegram lets you set a recovery email for a forgotten password and advises protecting that email account with a strong password and 2-step verification too [6].
  • Passkeys. A passkey is a login method tied to your device's screen lock, fingerprint or face. WhatsApp links your account to your device's security system when you set one up [4]. Telegram says passkeys are more secure than SMS codes and can be backed up in a password manager such as iCloud Keychain or Google Password Manager [6].
  • App and chat locks. WhatsApp offers app lock and chat lock [2]; Telegram recommends a passcode to lock the app [6].
  • High-risk options. WhatsApp's strict account settings apply its strictest privacy and security controls and are meant for people who believe they may be targeted [2]. Telegram recommends secret chats in official or verifiable open-source apps for people worried about their personal security [6].
Close-up of a thumb toggling a blurred settings switch on a phone, very shallow depth of field

How do you check linked devices and active sessions?

A linked device or session that you do not recognise is a common sign of takeover, and the QR-code attack described above works entirely through one [8].

  • WhatsApp: open the menu, tap Linked Devices to review all devices, then tap a device and Log Out to remove it [2]. WhatsApp says it is important to check linked devices regularly, and that you can log out of all WhatsApp Web sessions from your phone [5].
  • WhatsApp Web: before scanning the QR code, you can untick 'Stay logged in on this browser' so the session ends when you close the tab or browser [5].
  • Telegram: Settings, then Devices (or Privacy and Security, then Active Sessions), lists sessions you can terminate [6]. Passkeys can be reviewed under Settings, Privacy and Security, Passkeys, with their creation date and last use [6].

Only scan a WhatsApp or Telegram QR code from the official app or website you opened yourself. A QR code sent in an email or message as a way to 'join a group' deserves the same suspicion as a link; Microsoft's advice for such emails is to contact the supposed sender using a known, previously used address [8].

WhatsApp adds that it cannot tell you who accessed your account or when and where it was accessed [5].

Top-down view of a laptop, tablet and phone on a desk, all showing the same blurred chat window

Why are passkeys and two-step verification recommended?

A code sent by SMS proves only that someone can receive texts for your number. If a criminal tricks you into forwarding it, or moves your number to their SIM, the code works for them [7][9]. A second secret or a device-bound passkey stops that.

The FBI recommends strong multi-factor authentication such as biometrics, physical security tokens or standalone authenticator apps, and advises never giving mobile account details to callers who ask for your password or PIN [9]. Telegram states that SMS codes frequently fail to arrive and can be intercepted [6].

In October 2026, the UK's Report Fraud service launched a campaign urging people to switch to passkeys after reporting that sums stolen through email and social media account hacking rose to 6.3 million pounds in 2025/26, from 1.2 million pounds the year before; reports of this type of account takeover rose 34% [10]. Report Fraud said one of the most common ways criminals use hacked accounts is to impersonate family and friends [10].

What should users in Iran know?

Access to both apps in Iran has been shaped by government blocking. Freedom House reports that Telegram was permanently filtered in April 2018 and that WhatsApp and Instagram were blocked in 2022 amid the Woman, Life, Freedom protests [11]. In December 2024, Iran's official IRNA news agency said a vote had been reached to lift limitations on WhatsApp and Google Play [12].

Freedom House also notes that Iranian versions of popular apps, such as Bale, Rubika and Soroush, receive significant financial support from the government, and that a hacking group linked to the Islamic Revolutionary Guard Corps impersonated journalists and human rights activists online to lure critics into phishing operations [11]. Buying a SIM card requires real-name registration with a passport or identity document [11].

Practical points that follow from the platforms' own guidance: install apps only from official sources, because Telegram recommends official or verifiable open-source apps for sensitive chats [6]; never share a login code, whoever asks [2][6]; and keep two-step verification on, so that control of the phone number alone is not enough to take the account [6].

A young man seen from behind on a bench near Tehran's Tajrish bazaar checking his phone, crowds blurred around him

What can recovery not fix?

Recovery restores control, but it has limits worth knowing in advance:

  • A WhatsApp account cannot be recovered without a SIM card with the same phone number [1].
  • WhatsApp cannot deactivate accounts for others, block or unblock contacts on your behalf, or tell you who accessed your account [1].
  • If you move to a new SIM but keep the old WhatsApp account, you must use the change number feature, or you could permanently lose access [1]. Telegram likewise warns that if its account is not linked to a number you control, you risk losing access forever [6].
  • Recovery does not undo what the intruder already sent; WhatsApp's advice is to notify family and friends, because the intruder could impersonate you in chats and groups [1].

If money was taken or requested in your name, report it to the police or the national fraud reporting service where you live; in the UK that is Action Fraud, which also advises calling a friend or relative to confirm an unusual request [7].

Account-protection features in WhatsApp and Telegram, as described in each app's help pages (retrieved 3 November 2026)
FeatureWhatsAppTelegram
Extra login secretTwo-step verification password; the 6-digit PIN is being upgraded to a password [3]2-Step Verification password; login needs SMS code and password [6]
Recovery emailOptional email for two-step verification and recovery without SMS [2][3]Recovery email for a forgotten password [6]
PasskeyLinks the account to the device's screen lock, fingerprint or face [4]Login with device PIN or biometrics; more secure than SMS codes [6]
Device reviewLinked Devices, then Log Out [2]Devices or Active Sessions, then terminate [6]
Local lockApp lock and chat lock [2]App passcode [6]
High-risk optionStrict account settings [2]Secret chats with end-to-end encryption [6]
Common account-takeover methods and the main defence against each
MethodHow it worksMain defence
Code-sharing scamA hijacked contact asks for the 6-digit code 'sent by mistake' [7]Never share the code; turn on two-step verification [7]
SIM swapCarrier is tricked or bribed into moving your number to a criminal's SIM [9]Strong multi-factor authentication beyond SMS [9]; two-step verification password [6]
QR-code linkingA fake 'join group' QR code links your account to an attacker's device [8]Check linked devices; verify the sender by a known address [5][8]
Voicemail accessWhatsApp codes can arrive by phone call [1], and WhatsApp warns others may try to access your voicemail [2]Set a hard-to-guess voicemail password [2]

Common mistakes

  • Sending a friend a 'code sent by mistake'.

    Fix: Never share a WhatsApp or Telegram login code with anyone, including friends, family or other apps [1][6].

  • Changing the password and assuming the intruder is gone.

    Fix: On WhatsApp, re-register with the 6-digit code; that is the only way to remove someone else [1].

  • Reporting your own hijacked WhatsApp account before recovering it.

    Fix: Recover first; WhatsApp says a report might get the account banned [1].

  • Protecting Telegram with a recovery email that has a weak password.

    Fix: Secure the recovery email with a strong password and 2-step verification as well [6].

  • Scanning a QR code from an email invitation.

    Fix: Link devices only from the official app or site you opened yourself, and review linked devices afterwards [5][8].

Frequently asked questions

How do I get my hacked WhatsApp account back?

Log back in with your phone number and enter the 6-digit code sent by SMS or call; this automatically logs out everyone else [1]. If asked for an unknown two-step PIN, wait 7 days and try again [1].

Can a hacker read my old WhatsApp messages?

WhatsApp says messages are stored on your device and end-to-end encrypted, so someone re-registering your account on a new device cannot read past conversations [1].

Why did I get a WhatsApp code I did not request?

Someone may be trying to register your number. Do not share the code or click links, and if you see a message that your number was registered on a new device, follow the on-screen recovery steps [2].

Can Telegram restore my account if I lost my number?

Usually not. Telegram says the phone number is the only way it identifies users and it cannot help unless you have the number or Telegram on another device [6].

Is SMS verification enough?

It is weaker on its own. The FBI says SIM swapping lets criminals receive SMS codes [9], and Telegram says SMS codes can be intercepted [6]. Add a two-step password or passkey.

Glossary

Account takeover
When someone else gains control of your account and can use it as you; Report Fraud says impersonating family and friends is a common use [10].
Two-step verification
An extra secret, such as a password, required in addition to the SMS code when logging in [3][6].
SIM swapping
Tricking or bribing a mobile carrier into moving a victim's number to a SIM card the criminal controls [9].
Passkey
A login credential tied to a device's PIN, fingerprint or face scan instead of a code [4][6].
Linked device
A computer or other device connected to your messaging account, for example through WhatsApp Web [5].

Sources

  1. How to recover a compromised account WhatsApp Help Center; retrieved 2026-11-03
  2. Account security tips WhatsApp Help Center; retrieved 2026-11-03
  3. How to manage two-step verification settings WhatsApp Help Center; retrieved 2026-11-03
  4. About two-step verification WhatsApp Help Center; retrieved 2026-11-03
  5. How to check devices linked to your account and unlink a device you don't recognize WhatsApp Help Center; retrieved 2026-11-03
  6. Telegram FAQ Telegram; retrieved 2026-11-03
  7. Warning issued to WhatsApp users over account takeover scam Action Fraud (press release reproduced by Wired-Gov) · 2023-03-27
  8. New Star Blizzard spear-phishing campaign targets WhatsApp accounts Microsoft Threat Intelligence · 2025-01-16
  9. Criminals Increasing SIM Swap Schemes to Steal Millions of Dollars from US Public FBI Internet Crime Complaint Center · 2022-02-08
  10. Police Urge Passkey Use After Surge in Cybercrime Profits Infosecurity Magazine · 2026-10-06
  11. Iran: Freedom on the Net 2024 Country Report Freedom House
  12. Iran to lift ban on WhatsApp, Google Play, state media report Al Jazeera · 2024-12-24
Share this guide Telegram WhatsApp X
0 likes

Comments

Top comments

About the Pouyam Team Editorial policy

On Pouyam

Explore Pouyam

Guides are one corner of Pouyam. Here is where to go next.

Quick navigation