Skip to content
Minarva

Instagram hacked and the hacker turned on two-factor login: how to get back in

By Charanjeet Bhatia, founder of Minarva · Checked against Meta’s help pages on 24 October 2026

Hackers often switch on two-factor login so the codes go to their phone or app, not yours. You can't get past it with a code you don't have, but Instagram has a route for exactly this: tell it your two-factor login isn't working, and confirm who you are another way.

Why you can't get a code

With two-factor login on, Instagram asks for a code after your password. If the hacker set it up, the codes go to their authenticator app or phone number, and the backup codes are theirs too. Asking for more codes won't help, and too many requests can lock you out for a while.

Get back in

  1. Use the phone you normally use for Instagram, on your usual Wi-Fi, with any VPN off.
  2. Open instagram.com/hacked and choose the option that your two-factor authentication isn't working or you can't get a code. On the code screen in the app, look for an option like "Try another way".
  3. Enter your username, or the email or phone number that used to be on the account.
  4. Choose to confirm your identity another way. If your face appears in your posts, Instagram may ask for a short video selfie.
  5. Open the link Instagram sends you and set a new password.
  6. Go straight to Accounts Center, Password and security, Two-factor authentication, and remove every method you don't recognise.

Other ways in

  • A phone, tablet or computer where you're still logged in. Instagram may not ask for a code on a device it already trusts, so check old devices before anything else.
  • Your own backup codes, if you had two-factor login on before the hack and saved them.
  • Facebook: if your Instagram is connected to your Facebook in Accounts Center, try logging in with Facebook.

Once you're back

  • Set up two-factor login again with your own authenticator app, and save the new backup codes off your phone.
  • Log out of every device you don't know in Where you're logged in.
  • Check that the email and phone number in Personal details are yours.
  • Change your email password and turn on two-factor login for your email too.
  • Delete anything the hacker posted and tell your followers what happened.

If none of this works

The hacked-account flow is the only official way past someone else's two-factor login. Keep one request open, answer Instagram's emails, and note every date. If you're still locked out, your options depend on where you live, such as a data access request in the EU and UK or a complaint to Meta's Grievance Officer in India.

Ignore anyone who messages you offering to get the account back, even if they say they work at Meta. Meta never charges to restore an account and never asks for your password or a login code. Paying them loses money, and giving them a code can lose the account for good.

Questions

Can Instagram turn off two-factor login for me?
Not on request. You get past it by confirming your identity in the hacked-account flow, for example with a video selfie. Then you can change the settings yourself.
Why don't I get the code on my own number?
The hacker may have replaced your number or added an authenticator app, and codes go to whichever method is set. Our guide to login codes that don't arrive covers number problems.
Can a hacker get in even with two-factor login on?
Yes, if they trick you into sharing a code, control your email, or use a device you stayed logged in on. Never share a login code with anyone.

Sources

General information, not legal advice. Only Meta can restore an account, and Minarva is independent and not affiliated with Meta.