Instagram code on WhatsApp you didn't request: what it means and what to do

In short

Instagram can send login codes on WhatsApp: its Help Center lists WhatsApp as a two-factor security method next to text messages, and a code is sent when someone tries to log in from a device Instagram doesn't recognise. A code you didn't request usually means someone typed your phone number or username on Instagram's login or reset screen, by mistake or on purpose. On its own the code lets nobody in. Don't forward it to anyone, including a "friend" who says they sent it to you by mistake. If codes keep coming while you aren't logging in, change your password, check where you're logged in and keep two-factor authentication on.

Why Instagram sends codes on WhatsApp

WhatsApp is one of Instagram's official ways to deliver a login code. In its two-factor authentication settings, Instagram lists three security methods: an authentication app, text message and WhatsApp. Its Help Center says you have to turn on the text message method first; then you can turn on WhatsApp to get login codes there. In the settings the option is shown as SMS or WhatsApp.

With two-factor authentication on, Instagram asks for a code whenever there's a login attempt from a device it doesn't recognise. That's the main reason a code arrives. A code can also follow the Forgot password? screen: Instagram says a reset link is sent "to either your email or phone".

Instagram's Help Center has no page about codes that arrive on WhatsApp without being requested. What it does say about the email version applies here too: receiving a password reset message doesn't necessarily mean your account has been hacked. Someone trying to log in to their own account may mistype their details and enter yours by mistake.

Which message did you get?

Two different apps send codes, and they mean different things. Look at who the message says it's from.

What arrivedWhat it most likely isWhat to do
An Instagram code in WhatsApp while you weren't logging inSomeone entered your number or username on Instagram's login or reset screenDon't share it. A single code you can ignore; if it keeps happening, change your password
An Instagram code in WhatsApp while you were logging inThe code you asked forType it into Instagram yourself, in the app or on instagram.com
A WhatsApp registration code for WhatsApp itselfSomeone is trying to register your phone number on WhatsAppNever share it; turn on two-step verification in WhatsApp
A "friend" asks you to forward a code sent to your phoneAn account takeover scam, often from a friend's hacked accountDon't send anything; contact the friend another way
A message with a link asking you to log in to "verify" or "secure" your accountPhishingDon't tap the link; check Instagram's official emails in your settings

WhatsApp's own Help Center says the same about its registration codes: an unexpected one means someone may have mistyped their number or may be trying to take over your account. Without the code they can't finish, and you should never share it with anyone.

When a single code is nothing to worry about

A single code that arrives once, with no other warning, usually needs no action. The code doesn't log anyone in by itself: whoever requested it would have to read it from your phone. Instagram makes the same point about reset emails: only people who know your password or use the link in that message can log in.

So: don't reply, don't tap anything inside the message and don't forward it. You can leave it or delete it.

Never forward a code, to anyone. A common trick is a message from a friend's account, or a number claiming to be a friend: "I sent my code to your number by mistake, can you send it to me?" Instagram warns that scammers take over existing accounts to deceive their friends, and that urgent messages "from a friend in need" are a classic sign. The code belongs to an account the scammer wants, sometimes yours. More in your friend's Instagram was hacked.

When the codes keep coming

Repeated codes are worth acting on, especially if you have two-factor authentication on with text message or WhatsApp. Instagram sends that code each time someone tries to log in from a device it doesn't recognise, so a stream of codes while you aren't logging in can mean someone is actively trying to get in. Treat it as a sign they may have your password.

  1. Change your Instagram password from inside the app, to one you don't use anywhere else. Instagram says that changing it logs out other devices.
  2. Check your login activity and where you're logged in, and log out of anything you don't recognise: how to read a suspicious login alert.
  3. Keep two-factor authentication on. If you can, add an authentication app, which Instagram recommends, and save your backup codes.
  4. Make sure the phone number and email in your settings are still yours, and check Accounts Center for linked accounts you don't recognise.

If you see a code arrive and then you can't log in, the account may already be taken over. Go straight to Instagram account hacked: how to get it back.

If you need the code and it doesn't arrive on WhatsApp

The opposite problem is just as common: Instagram says it sent a code to WhatsApp, and nothing shows up.

  • The code goes to the WhatsApp account registered on the phone number in your Instagram settings. If you no longer use WhatsApp on that number, choose text message instead if the login screen offers it.
  • Check you're looking at the right chat and that WhatsApp is up to date and online.
  • Use another method you set up: a backup code, a code from your authentication app, or a login on a device you've already marked as trusted with Trust this device.
  • To switch methods for good, go to Accounts Center (or Meta Account) > Password and security > Two-factor authentication, choose the account and turn the WhatsApp method off, keeping another method on.

The full list of reasons codes don't arrive, by SMS, email or WhatsApp, is in Instagram code not received. If you've lost the phone itself, see two-factor authentication without your phone.

Can you stop unwanted codes?

Not completely. Anyone can type a phone number or username into Instagram's login screen, so you can't block other people from triggering a code. What you can control is whether that code is any use to them:

  • Keep a strong, unique password, so a login code is never the only barrier.
  • Use an authentication app or a passkey for your own logins.
  • On WhatsApp, turn on two-step verification so your WhatsApp account can't be registered elsewhere with a stolen registration code.
  • Check Recent emails in Instagram's settings: Instagram shows the official emails it sent in the last 14 days, so you can tell its messages from fakes.

Meta says its security systems block suspicious logins and recognise the devices and places you normally use. Nobody can stop codes for a fee, and nobody from Instagram will contact you on WhatsApp or by Direct message to "help" with them: Instagram says it never sends Direct messages about your account, and Meta says chats with its AI support assistant can only be started by you.

Frequently asked questions

Can someone hack my Instagram with a code sent to my WhatsApp?

Not with the code alone. They would need you to tell them the code, which is why scammers ask for it. If you have two-factor authentication on and codes keep arriving, someone may also have your password, so change it from inside the app.

Why does Instagram send my code to WhatsApp instead of SMS?

Because WhatsApp is turned on as a two-factor security method on your account. Instagram says you need the text message method first and can then add WhatsApp. You can turn the WhatsApp method off in Accounts Center under Two-factor authentication.

A friend asked me to send them a code I got on WhatsApp. Should I?

No. That's a well-known takeover trick: the code is for an account the scammer is trying to get into, often yours or a WhatsApp account. Contact your friend another way; their account may have been hacked.

I got an Instagram code but I don't have an Instagram account. What happened?

Someone most likely typed your phone number by mistake, or the number belonged to someone else before you. Ignore the code and don't share it.

Codes arriving and you're worried?

Send us a screenshot of the message (cover the code). We'll tell you whether it looks like a mistake, an attack or a scam, and which official step fits. We never ask for your password or any code.

Sources

  1. Securing your Meta Account with two-factor authentication (Instagram Help Center) help.instagram.com
  2. Use text messages (SMS) for two-factor authentication on Instagram (Instagram Help Center) help.instagram.com
  3. Change your phone number for two-factor authentication on Instagram (Instagram Help Center) help.instagram.com
  4. How to recover your Instagram password (Instagram Help Center) help.instagram.com
  5. Why you received an Instagram password reset email that you didn't request (Instagram Help Center) help.instagram.com
  6. Avoid getting scammed on Instagram (Instagram Help Center) help.instagram.com
  7. What to do if your Instagram profile posts unauthorized content (Instagram Help Center) help.instagram.com
  8. Received verification code without requesting it (WhatsApp Help Center) faq.whatsapp.com
  9. Making it Easier to Access Account Support on Facebook and Instagram (Meta Newsroom, 4 December 2025) about.fb.com
  10. Account recovery and support (Meta) meta.com