What Is a Backup Code?
ALI Remote · Glossary
A backup code is a one-time code, created in advance, that lets you finish signing in when two-factor authentication is on and your usual second factor is unavailable.
Services give you backup codes as a short list when you turn two-factor authentication on. Each code works once. Some services use another name: GitHub, for example, calls them recovery codes. Whatever the name, the idea is the same: a spare key you cut while you still have the first one.
Why do backup codes matter?
With two-factor authentication, a password alone no longer opens the account. That protection has a cost: the second factor usually lives on one phone, and phones get lost, broken and replaced.
Google's help page on backup codes (checked on 27 November 2026) gives the reason in one line: create backup codes "to use in case you lose your phone, change your phone number, or otherwise can't get codes by text, call, or Google Authenticator."
The catch is timing. A backup code only helps if you saved it while you could still sign in. Without one, and without another second factor, you are left with the service's account recovery process, which can be slow and is not always possible.
How does a backup code work?
- You turn on two-factor authentication. The service offers a list of backup codes in its security settings.
- You save the list somewhere you can reach without the phone that holds your second factor.
- At sign-in, you enter your password, choose another way to verify, and type one unused code.
- That code stops working. The others stay valid.
- When the list runs short, or someone may have seen it, you create a new set.
The details change from one service to the next. Here is what Google's page says for a Google Account, as one example:
| Point | What Google's help page says (27 November 2026) |
|---|---|
| Codes in a set | "You can get a new set of 10 backup codes whenever you want." |
| Reuse | "After you use a backup code to sign in, that code becomes inactive." |
| New set | Creating new codes inactivates the old ones. |
| Sharing | "Do not share your backup codes with anyone." |
Other services set their own numbers and rules, so read the help page of each one instead of assuming. For Instagram, the path to the codes and the route when you don't have them are in our guide to Instagram backup codes.
Example of a backup code in use
Example (illustrative). The owner of a café runs the café's social account, with an authenticator app on her phone as the second factor. On a Saturday the phone falls into a sink and doesn't restart.
She had printed her backup codes and put the sheet in the office safe. On the replacement phone she enters her password, chooses to use a backup code and types the first one on the sheet. She is back in the account. She then sets up the authenticator app on the new phone, crosses out the used code and creates a new set.
Who should hold the backup codes when several people work on an account?
The owner of the account. A backup code stands in for the second factor, so whoever holds the list can pass that step.
For a client's account, that means the client keeps the codes. The agency works through its own access, with the client's authorisation, and never asks for the list. Write this into the access step of your client onboarding checklist: who owns the account, who holds the second factor, where the codes are stored. Record names and places, never the codes themselves.
Related terms
- Two-factor authentication (2FA): a sign-in that needs two kinds of proof. Backup codes only exist once it is on.
- Authenticator app: an app that shows a changing one-time code.
- Recovery code: another name some services give to backup codes.
More terms in the glossary.
Common questions
Can a backup code be used more than once?
Usually not. Google's help page says that after you use a backup code to sign in, that code becomes inactive. Other services publish their own rules. The safe habit is the same everywhere: treat every code as single use, cross it out once typed, and create a new set before the list is empty.
Where should you store backup codes?
Somewhere you can reach without the phone that holds your second factor. Google suggests printing them and keeping the copy "somewhere safe, like where you keep your passport or other important documents". A password manager also works, as long as you can open it without that phone. Avoid a screenshot in a camera roll, an email to yourself or a chat message.
More terms
- Accounts CenterAccounts Center is Meta's shared settings area for linked Facebook, Instagram, WhatsApp and Meta accounts. What linking changes, what Meta's help pages say about adding and removing accounts, and who should own it when an agency runs a client's account.
- AI agentAn AI agent is software that uses an AI model to pursue a goal: it plans steps, calls tools, checks the results and repeats. Here is how it works, how it differs from a chatbot or a workflow, and which actions should wait for your approval.
- Apple AccountAn Apple Account, formerly Apple ID, is the personal account you use to sign in on Apple devices and use iCloud and the App Store. Here is what it holds, how it works, and why it matters as soon as an iPhone is shared or rented.
- Cloud phoneA cloud phone is a smartphone hosted in a data centre that you use remotely, usually from a browser. It is not cloud telephony. Here is how it works, the difference between virtual and physical cloud phones, and whether one can run iOS.
- Content calendarA content calendar is a shared schedule of what gets published, on which account, on which date, and who owns each post. Here is how it works, how it differs from a scheduler and a posting log, and the columns worth keeping.
- Content pillarA content pillar is one of the three to five recurring themes a social media account posts about. Here is how it differs from a topic, a format and a pillar page, a worked example with a monthly split, and how many pillars an account should keep.
- Dedicated deviceA dedicated device is reserved for one purpose or one customer instead of being shared. Here is how it works on Android and Apple devices, what dedicated means for hosted hardware, and five questions to ask a provider.
- Device as a service (DaaS)Device as a service (DaaS) is a subscription in which a provider supplies laptops or phones and manages them from setup to retirement. Here is how it works, a worked example, the hosted variation, and how DaaS differs from SaaS and from leasing.
- EmulatorAn emulator is software that reproduces a phone's hardware on a computer so its operating system and apps can run there. Here is how it works, how it differs from a simulator and from a real device, and the limits that Google's and Apple's own documentation point out.
- Engagement rateEngagement rate is the share of people who interacted with a post, out of those who could have. Here are the three formulas in use, a worked example showing why they give different numbers, and which base to put in a client report.
- iOS SimulatorThe iOS Simulator is Apple's Xcode tool for running iOS apps on a Mac without an iPhone. Here is what it is good for, what Apple says it cannot replicate, why it is not an emulator, and what changed with Device Hub in Xcode 27.
- Link stickerA link sticker is a tappable sticker that adds a website link to an Instagram story. How to add one, the three limits Instagram sets, and an example of how an agency uses it in a client story.
- MCP (Model Context Protocol)The Model Context Protocol (MCP) is an open standard that connects AI assistants to external tools and data. Here is how it works, how it differs from an API, what to check before you connect a server, and what it looks like in practice.
- Professional accountA professional account is an Instagram account switched to the Business or Creator type, with insights, ad tools and monetization eligibility. What it changes, how the switch works and what an agency should confirm with the client first.
- ReachReach is the number of distinct accounts or people who saw a post at least once. Here is how it differs from impressions and frequency, a worked example, and why the reach of several posts can never be added up in a client report.
- Real device cloudA real device cloud hosts physical phones in a data centre and lets you use them from your browser. Here is how it works, why it gives truer results than simulators, and where it is used beyond app testing.
- Safe zoneA safe zone is the area of a vertical photo or video that the app's interface does not cover. Here are Meta's published margins, what TikTok provides instead of a figure, a worked example in pixels and how to turn it into a template rule.
- ShadowbanA shadowban is the informal name for a platform keeping an account's content out of recommendations. What Instagram and TikTok call it on their official pages, where to check it, what still reaches followers, and how an agency should read a sudden drop in reach.
- Social media retainerA social media retainer is a recurring fee, usually monthly, that a client pays an agency or freelancer for an agreed scope of ongoing work. Here is what the agreement settles, the two common models, and a worked example.
- Trending audioTrending audio is a sound, song or voice clip that many creators use in short videos at the same moment. How it works, the signal that matters (speed of growth), a dated example, and what business accounts can use.
- Two-factor authentication (2FA)Two-factor authentication (2FA) asks for two different kinds of proof before you sign in. Here is how it works, how passkeys, authenticator apps and SMS codes compare, and why every person on a team needs their own account and second factor.
- UGC (user-generated content)UGC, or user-generated content, is content about a brand made by people outside the company. The three kinds that share the name, what each one requires from the brand, and an agency example.