Saving and using backup codes
Backup codes get you in if you lose your other methods. Save them once, and generate new ones any time.
Backup codes are one-time codes that get you in if you lose your phone or your other two-factor methods. Each code works once.
Save them
You get backup codes when you turn on your first two-factor method. They're shown only once. Copy or download them, then keep them somewhere safe that isn't your phone, like a password manager.
Check how many are left
In Settings › Security, the Two-factor authentication card shows how many backup codes you have left.
Get new ones
Start
Choose Regenerate, or Generate if none are left.
Confirm it's you
Enter your password, or a code from your sign-in method.
Save them
Choose Generate new codes and save the 10 new codes.
Your old codes stop working right away.
Sign in with one
At the sign-in step, choose Use a backup code and enter one you haven't used. Then fix your usual method in Settings › Security and generate new codes if you're running low.