For Windows

Where should I keep backup and recovery codes?

Keep at least one copy on paper in a safe place, away from the computer, and do not store codes on the device you sign in with. Microsoft gives this advice for its account recovery code, and it warns against keeping a BitLocker recovery key on a USB drive or printout next to the PC. Microsoft support cannot retrieve a lost BitLocker key, and an existing recovery code cannot be shown again.

For a digital copy, encrypt it with its own password and keep it offline, for example in an encrypted file on a USB drive stored apart from the PC.

Updated

How do I store them by hand?

Codes and recovery keys

  1. Print or write the codes down and keep the paper somewhere safe, not in the laptop bag.
  2. Keep a second copy in another place.
  3. For the Microsoft account, generate a recovery code under Manage how I sign in at account.live.com; a new code makes the old one invalid.
  4. For BitLocker, open Manage BitLocker and select Back up your recovery key: to your Microsoft account, a USB drive, a file, or print it.
  5. When you generate new codes, destroy the old copies.

A BitLocker recovery key cannot be saved on the drive it unlocks. Saving it to your Microsoft account makes it a cloud copy, protected by that account.

Which place protects against what?

WhereProtects againstRisk
Paper in a safe placeHacking, malware, a dead disk.Fire, loss, anyone who finds it.
Text file or note on the same PCNothing extra.Anyone who gets into the PC or the account gets the codes too.
Password managerTheft of its file without the master password.If it holds both the password and the codes of an account, one breach gives both.
Encrypted file on a USB driveA lost PC, attacks over the internet.A forgotten password, a lost or broken drive. Keep two copies.
Cloud account (BitLocker key in the Microsoft account)A lost PC.Losing access to that account.

A code kept next to the thing it unlocks protects nothing. Microsoft warns not to keep the BitLocker USB drive or printout with the computer.

Is there a simple encrypted file for codes?

SystemUtils Secure Note is an encrypted text editor in a single .exe. The codes are stored encrypted inside the file, behind a password of at least 12 characters, and the program does not use the network. Copy the file to a USB drive and open it on any Windows 11 or 10 PC (x64) without installing anything.

Keep the paper copy too: a forgotten Secure Note password cannot be recovered. Saving on USB drives formatted as FAT32 or exFAT has not been tested yet; format the drive as NTFS, see encrypted notes on a USB drive. Do not keep the drive with the PC, and do not keep the Microsoft account recovery code on the PC you sign in with.

Questions

Can I keep backup codes in my password manager?

You can, but if the same manager holds the password and the codes of an account, one breach exposes both. Keep at least one copy elsewhere, on paper or in a separate encrypted file.

Can I get a lost recovery code back?

Not an existing Microsoft account recovery code; if you can still sign in, generate a new one. Microsoft support cannot retrieve a lost BitLocker recovery key.

Is a photo of the codes on my phone OK?

Not as the only copy. The phone is often the device you sign in with, and Microsoft advises against storing the recovery code on such a device.

Sources

  1. Microsoft Support: How to get a Microsoft account recovery code(opens in a new tab)support.microsoft.com
  2. Microsoft Support: Back up your BitLocker recovery key(opens in a new tab)support.microsoft.com

Settings names can change with Windows updates.