Instagram 2FA code not working?
If Instagram rejects your authentication app code, check that your iPhone sets the time automatically and that you are using the newest Instagram entry. If you copied the key during setup, a missing character is the other common cause.
Typical error: “The code you entered isn’t valid” or “Please check the security code and try again”.
1. Fix the iPhone clock (solves most cases)
Authenticator codes are time-based (TOTP, RFC 6238). Your iPhone and Instagram each take the shared secret key and the current time, cut into 30-second windows, and compute the same 6 digits. Nothing travels between them. If your iPhone clock is off by more than about 30 seconds, the phone computes the code for a different window and Instagram rejects it, even though everything else is right.
- Open Settings › General › Date & Time on your iPhone.
- Turn on Set Automatically. If it is greyed out, check Screen Time restrictions or a work profile.
- Make sure the time zone is right. A wrong time zone with the right local time still gives the wrong absolute time.
- Wait for a fresh code (the countdown ring restarts) and enter it within 20 seconds.
In 2FA Setup, open the account and tap Check clock. The app compares your iPhone time with a trusted time source and tells you how far off it is. It only makes that one request when you tap the button, and sends no account data.
2. Use the right entry: old setups stop working
Every time 2FA is turned on for Instagram, a new secret key is created. Codes from an entry you scanned earlier, in 2FA Setup or any other app, will never be accepted again. This catches people who set up 2FA twice, switched phones, or let a support agent reset it.
- Search 2FA Setup for “Instagram”. If there is more than one entry, the most recently added is the one that works. Delete the others.
- If you have more than one Instagram account, check the label under the name matches the account you are signing in to.
- Moved from Google Authenticator? An entry that exists in both apps produces the same code. Delete it from the old app once you have confirmed the new one works.
3. Instagram-specific problems
The key was copied incompletely
On iPhone, Instagram gives you a key to copy instead of a QR code. If it was pasted partly, codes never match. Remove 2FA on a logged-in device and set it up again with the Instagram guide.
A different account is selected
Accounts Center can hold several Instagram and Facebook accounts. Each has its own 2FA and its own authenticator entry. Check the username on the 2FA Setup entry matches the login.
“Confirm it’s you” loops
After several failed codes Instagram may slow down attempts. Wait 15–30 minutes, fix the clock, then try once with a fresh code instead of retrying quickly.
Codes from WhatsApp or SMS instead
If Instagram is sending a code by SMS or WhatsApp, it is asking for that method. Tap “Try another way” to choose the authentication app.
4. Sign in with a backup code
On the code screen, tap “Try another way” and choose backup code. Enter one of the 8-digit codes you saved. Once in, get a new set under Accounts Center › Password and security › Two-factor authentication › Additional methods › Backup codes.
If you stored the codes in 2FA Setup’s recovery codes field for the account, they are there, but only if the phone is still with you. Next time keep a copy off the phone as well.
5. Locked out of Instagram: the official recovery path
- 1
Use a backup code
Use one of the backup codes you saved when you turned on two-factor authentication.
- 2
Try another way
On the login code screen choose “Try another way”. Instagram may verify you with a code to your email or phone, or ask for a short video selfie.
- 3
Report a hacked account
If someone else changed your details or turned on 2FA, go to instagram.com/hacked and follow the steps there. Instagram never asks you to pay for recovery.
Start here: Instagram: hacked or locked account. Ignore anyone in DMs or comments who offers to recover the account for a fee.
Questions
Why is my Instagram 2FA code not working?
The iPhone clock may be off, you may be using an outdated entry, or the key was copied incompletely during setup. Fix the clock first.
How do I get into Instagram without my authentication app?
Use a backup code, or tap “Try another way” on the code screen for email/SMS verification or a video selfie.
Where are Instagram backup codes?
Accounts Center › Password and security › Two-factor authentication › your account › Additional methods › Backup codes (you must be signed in).
Someone turned on 2FA on my Instagram. What now?
Go to instagram.com/hacked from the device you usually use and follow the recovery steps.
Do Instagram codes need internet on my iPhone?
No. Authenticator codes are calculated on the phone from a secret key and the current time. They work offline, but they depend on the time being correct.
Set it up again, properly
Once you are back in, follow the Instagram setup guide. 2FA Setup checks your clock when codes fail, keeps recovery codes next to each account, and exports an encrypted backup for free.