Use a saved backup code when two-factor login fails and the site offers that option; many providers accept one code per login, and each code usually works only once. If you ignore backup codes, a dead phone, lost authenticator app, or blocked SMS can leave you locked out. This guide explains when backup codes work, when they fail, and the next recovery step.

What backup codes

Backup codes are one-time recovery codes that serve as a fallback when two-factor login fails. Services usually place them in account security settings or recovery settings, and they are meant to be saved before lockout. VK’s help text also frames them as part of account protection and says they are for emergency situations.

Think of them as last-mile access, not a second password. They matter when the normal second factor is unavailable, such as when a text message cannot arrive or an authenticator app cannot produce a code.

How they fit into 2FA

Two-factor authentication adds a second step after password entry. That step may be SMS verification, an authenticator app code, or a security key prompt. Backup codes sit outside that normal path and are meant to get a user through a failed second factor, then back into account security settings.

Why services issue them early

Backup codes should be generated before a problem starts. The point is to have an emergency path ready when the second factor disappears, not after the account is already locked. Once a phone is lost or a SIM stops working, the code list may be the only thing that still works.

How backup codes work when login fails

Backup codes usually appear after password entry, when the site asks for the second factor and that factor is unavailable. They can bypass a failed SMS text, a missing authenticator app, or a lost security key. After one successful use, the code is consumed and should not be reused.

Suppose the login page asks for a six-digit authenticator code, but the phone was reset that morning. If the service offers a backup-code field, entering a saved code may complete sign-in. If the code list is gone too, the next step is account recovery, not repeated guessing.

When they help and when they do not

Backup codes help only when the service accepts them and one is still unused. They do not fix every lockout. A suspicious sign-in screen, a changed account recovery policy, or an already-used code can stop the process and send the user into recovery review.

Where to find backup codes

Backup codes are usually found in account security settings, often under sign-in, recovery, or trusted-device settings. Some services let users view them once, download them, or generate a fresh set of backup codes. VK’s help page places backup-code access in VK ID security settings and under recovery-related security settings.

If the codes were saved correctly, the storage may be in a password manager, an encrypted note, or an offline printout. The exact menu labels vary by service, so look for recovery, sign-in methods, or account protection rather than only the phrase “backup codes.”

Practical storage options

  • Password manager. Store the code list in a locked vault entry so it is available on more than one device.
  • Offline printout. Keep a paper copy away from the phone and laptop used for daily sign-in.
  • Encrypted note. Use a note that is protected separately from the account itself, especially if a password manager is not available.

An emergency access plan should keep the code separate from the same device used for 2FA. If the phone is lost, a code saved only on that phone is gone with it. A paper copy or encrypted note stored elsewhere gives the account a real fallback.

Backup code recovery table

A backup-code page lists one-time codes for account sign-in
One-time codes can be saved and used once when another sign-in method fails.
Login failure type Whether backup codes help Exact next action Escalation path if codes are missing
Lost phone Yes, if the code list was saved elsewhere Enter the saved backup code after the password prompt, then update recovery methods once signed in Use account recovery or support review if no saved code exists
Authenticator app deleted Yes, if at least one code remains unused Use the backup-code field instead of waiting for the app code Start recovery if the app is gone and no code list is available
SMS unavailable Yes, when a text cannot be received Use a backup code in place of the text message code Try recovery using other verified devices or support if there are no codes
Security key lost Yes, if the account offers backup codes as another sign-in method Choose the backup-code option after the password step Use recovery tools or support if no backup code is available
Code already used No, a one-time-use recovery code will stop working Use a different unused code, or generate a new set after sign-in If no unused code remains, move to account recovery
Account prompt on a new device Sometimes, if the prompt is a real 2FA challenge and not a new-device risk check Verify the page is legitimate, then enter a saved code only if the site asks for a second factor If the prompt is a risk screen, use the site’s recovery path or support
Suspicious sign-in screen No, not until the page is confirmed as genuine Stop and verify the domain, the connection, and the account wording before entering anything Report the phishing attempt and use only the official recovery flow
All recovery methods exhausted No Gather proof of account ownership and submit the service’s account recovery form Wait for support review; some accounts will not be recoverable

How do I use a backup code?

A backup code is displayed on a two-factor authentication page
Enter one unused code exactly as shown, then submit it to open the account.

When the backup-code screen appears, enter one unused code after your password and submit it exactly as shown. If the code works, the session should open and the service may show a notice that recovery methods should be updated. If the code fails, do not keep retrying the same one.

  1. Confirm the prompt. Check that the page is the real sign-in page for the service, not a copy. A mismatched domain, odd spelling, or an unexpected request for several codes at once is a warning sign.
  2. Enter one code. Paste or type a single unused backup code into the backup-code field. Use the code exactly once and avoid adding spaces before or after it, since that can cause a valid code to fail.
  3. Finish sign-in. Submit the code and wait for the account to open. If the code is accepted, the service may mark it as consumed and move the account into a signed-in state.
  4. Update recovery methods. Once inside, go to account security settings and replace the failed factor. Add a new authenticator app, restore SMS access, or register a new security key if the service allows it.
  5. Save a fresh set. If the service issues a new code set after sign-in, store it in the emergency access plan right away. Do not leave the account with only the spent code list.

A common first-timer mistake is entering the same code again after a successful sign-in. That fails because one-time-use recovery codes are consumed after login. The safer move is to check whether the service created a new set and save it before closing the security page.

What if my backup codes are missing?

If the printout is gone, the file was deleted, or the password manager note cannot be reached, backup codes cannot help. The next path is the service’s account recovery flow, which may ask for proof of ownership, a trusted device, or another recovery method. Some accounts will still require support review.

  1. Look for another copy. Check the password manager, encrypted note, or offline printout used for the emergency access plan. A second storage location is often the only reason the recovery still works.
  2. Try other trusted methods. If the service offers a trusted device, recovery email, or alternate sign-in method, use it before starting formal recovery. This can save time when the code list is missing.
  3. Start account recovery. Use the service’s recovery page if no backup codes remain. Expect extra checks and do not assume the account can always be restored.

Say your phone was replaced and the old SIM was deactivated the same day. SMS verification may fail because the text cannot reach the old number. A saved backup code can still work, but only if it was stored off the phone before the swap.

Can I use a backup code twice?

No. One-time-use recovery codes are meant for a single successful login, and a code that has already been used should stop working. If the last code is spent, the only safe path is to generate a new set after sign-in or move to account recovery if no code remains.

Why reused codes stop working

A code that works twice would be weak emergency access. Once a login succeeds, the service should treat that code as consumed. That prevents repeated access from the same printed sheet or leaked note and keeps the code list useful only for emergency sign-in.

What to do after the last code is spent

Go back to account security settings and generate a new set if the service allows it. Then replace the old copy in the password manager, encrypted note, or printout. If the account cannot be reached and no code remains, recovery or support review is the next step.

What happens after I use a backup code to sign in?

After sign-in, the account should open normally, and the used code is no longer valid. The immediate next step is to update the account’s recovery methods and save a fresh code set if the service provides one. This keeps the emergency path available for the next lockout.

Check whether the old phone number, authenticator app, or security key is still listed. Remove anything that is gone or unsafe, then add a new second factor. If the service shows trusted devices, review those too so the account reflects the current setup.

Frequently asked questions

What are backup codes and where do I find them?

Backup codes are one-time recovery codes used when a text message or other verification code cannot be received. Most services place them in account security settings or recovery settings, and some let you view, download, or regenerate them before you get locked out.

How do I use a backup code when my authenticator app fails?

After password entry, wait for the second-factor prompt and choose the backup-code option if the service offers it. Enter one unused code exactly as saved. If the login succeeds, go straight to account security settings and replace the failed authenticator setup.

Can I reuse a backup code if I log in again later?

No. A backup code is a one-time-use recovery code and should not be reused. After a successful login, that code is consumed. If you still need emergency access, generate a fresh set and store it in your emergency access plan.

What should I do if I lost my backup codes?

First, check every place the codes may have been stored: password manager, encrypted note, or offline printout. If none are available, move to account recovery or support review. Backup codes cannot help if they are missing, and some accounts will not be recoverable right away.

Do backup codes work when SMS and authenticator codes both fail?

Yes, if the service offers them and at least one unused code remains. Backup codes are meant for exactly this kind of failure, including blocked SMS and a missing authenticator app. If the code list is gone too, the next step is account recovery.

Why did my backup code stop working?

The most common reason is that the code was already used. Backup codes are consumed after a successful login, and a reused code should fail. Another reason is a phishing page or an incorrect prompt, so verify the sign-in screen before entering anything.