Where to store your Apple Account recovery key (and what if you lose it)
Published November 4, 2026

Keep your Apple Account recovery key on paper in a safe place away from your iPhone, and add a second copy somewhere encrypted that does not depend on your Apple Account. Do not keep the only copy in Notes, Photos, Passwords or iCloud Drive: if you lose access to the account, you cannot open them to read it.
If you turned on a recovery key, or Advanced Data Protection made you choose one, this 28-character code can be the only way back into your Apple Account after a lost phone or a forgotten password. This guide explains what the key is, where to keep it, how to replace it, and where a private vault such as Lockboxy can hold a second copy. Menu names change between iOS versions, so check your own screen if a label differs.
What is an Apple Account recovery key?
A recovery key is an optional 28-character code that Apple describes as something you can use, together with a trusted phone number and an Apple device, to regain access to your Apple Account. It is not your password and not a verification code that arrives by text.
It matters because of a trade-off Apple states plainly: if you set up a recovery key and cannot provide it when you lose access to your account, you can be locked out permanently. The key is also one of the two alternative recovery methods Apple asks for when you turn on Advanced Data Protection for iCloud, because Apple then cannot help recover that end-to-end encrypted data. The other method is a recovery contact, a trusted person who can help you regain access without getting access to your account themselves.
How do I set up or replace the key on iPhone?
- 1Open Settings and tap your name.
- 2Go to Sign-In & Security, then Recovery Key. On some iOS versions the entry sits under Account Recovery.
- 3Turn on the recovery key and enter your iPhone passcode when asked.
- 4Write the 28 characters down exactly as shown, then confirm the key to finish setup.
To get a new key, open the same settings and choose Replace Recovery Key. Do this if you lost the paper, or if you think someone has seen the key. You must still be signed in to do it, which is why a lost key is far easier to fix before you are locked out than after.
Where should I keep the recovery key?
Apple's own advice is to keep a copy in a safe place, ideally in more than one location, and not to store it in apps that depend on the account, such as Passwords, Photos, Notes or iCloud Drive. The reason is simple. If you are locked out, you cannot open those apps to find it.
- Best primary copy: the 28 characters written by hand on paper, kept with other important documents at home, or in a safe. A paper copy does not need a battery, a signal or a login.
- A second copy in a different place: a relative's home, or a safe deposit box. Do not label it "Apple key" if the paper could be read by a visitor.
- A second digital copy only if it is encrypted and does not need your Apple Account to open, such as a password manager or an encrypted vault with its own passcode.
- Not recommended as the only copy: a screenshot, a photo, an open note, an email to yourself or a chat. Anyone with your unlocked phone can read these, and photos and notes sync to other devices.

Can I keep it in a password manager or vault?
Yes, as a second copy. The weakness is the same for every phone-based place: if the vault lives only on the iPhone you lost, the copy went with it. A digital copy helps only if the vault is backed up, or can be opened on another device.
That is why the paper copy comes first. The digital copy is the convenient one: it is what you open when you replace a phone or when you want to check a character. Treat the two as a pair.
What should I do if I lost the key?
- If you can still sign in on a trusted device, open the recovery key settings and choose Replace Recovery Key. Write the new key down at once, and destroy the old paper.
- If you are already locked out and the key is gone, tell Apple Support. Apple warns that the account may not be recoverable, so do not wait until you are locked out to find out.
- If you turned on a recovery key only to be safe and you are not sure you can keep it, a recovery contact, or no recovery key, may suit you better. Weigh this before you set it up, not after.
- While you are at it, check your trusted phone number is current. The key works together with it.
See what happens to your iPhone data when you die if you also want a trusted person to be able to access your account.
How can Lockboxy hold a copy?
Lockboxy is a private, encrypted vault app for iPhone. Its Wallet can keep the key as a Password entry: put "Apple Account" or a neutral label in the service name, the Apple Account email in the username field and the 28 characters in the password field. Everything is encrypted with AES-256-GCM on your device behind a passcode of its own. There is no account, and no server holds a copy.
- 1Open Lockboxy with its passcode and go to the Wallet tab.
- 2Tap Add entry and choose Password.
- 3Fill in the service name, the username and the key. Use the Notes field for a reminder of where the paper copy is.
- 4Save. Tap Show when you need to read it, or Copy to paste it. Lockboxy clears a copied value from the clipboard about 30 seconds later.
Because the vault lives on the phone, keep it recoverable. Lockboxy's Premium plan can create an encrypted backup file you save to iCloud Drive, Google Drive or Files, and a Recovery Key for the vault itself. Neither replaces the paper copy of your Apple recovery key, and the backup opens only with your vault passcode or vault Recovery Key. What Premium adds is on the Premium page.

What are the limits of this?
- Lockboxy is not affiliated with Apple. It stores the code you type in, and it cannot reset, replace or check an Apple Account recovery key for you.
- If you forget the vault passcode, nobody can open it, including us. See what to do if you forgot a vault app's passcode.
- Wallet entries are unlimited on the free plan. The app shows the exact price of Premium before you buy.
- If you think the key has been seen, replace it. A vault does not make a leaked key safe again.
More answers are in the Lockboxy FAQ.
Frequently asked questions
Where should I store my Apple Account recovery key?
On paper in a safe place away from your iPhone, ideally with a second copy somewhere else. Add an encrypted digital copy only if it does not depend on your Apple Account to open.
Can I store the Apple recovery key in Notes or Passwords?
Apple advises against keeping it only in apps that depend on your account, such as Notes, Passwords, Photos or iCloud Drive, because you cannot open them if you are locked out.
What if I lose my Apple Account recovery key?
If you can still sign in, open the recovery key settings and choose Replace Recovery Key, then write the new one down. If you are already locked out without it, Apple warns that the account may not be recoverable.
Do I need a recovery key for Advanced Data Protection?
You need at least one alternative recovery method, either a recovery key or a recovery contact. You can have both.
Can Lockboxy hold my Apple recovery key?
Yes, as a Password entry in the Wallet, encrypted on your device. Keep a paper copy as well, because a vault on a lost phone goes with the phone unless you have a backup.
Want a private place with its own passcode?
Lockboxy encrypts photos, videos, files and notes on your device, behind a passcode separate from your phone's. No account, no server.
Get Lockboxy on the App StoreMore guides
- How to store 2FA backup codes safely (and where not to)
- Forgot the passcode of your private photo vault app? What you can and can't recover
- What happens to your iPhone photos and private data when you die? How to set up a Legacy Contact
- How to store passwords safely on your phone
- How to hide photos on iPhone (and what “hidden” really protects)
- How to lock apps on iPhone: Face ID lock, hiding apps and older-iOS workarounds
- How to store photos of your ID safely on your phone
- How to permanently delete photos on iPhone (and every copy you forgot)
- How to lock notes on iPhone with a password or Face ID
- How to lend your iPhone without exposing your photos
- How to store a seed phrase safely (and what not to do)
- What to do before sending your iPhone for repair
- How to take photos that don't save to your iPhone camera roll
- How to scan documents on iPhone (no app needed) and store them safely
- How to handle sensitive screenshots on iPhone (bank transfers, OTPs, IDs)
- How to keep voice recordings private on iPhone
- How to stop iPhone photos syncing to your iPad and Mac
- What to do when your iPhone is lost or stolen
- How to erase your iPhone before selling it
- Lockboxy vs the iPhone Hidden album: which should you use?
- Lockboxy vs locked notes on iPhone: which is better for private notes?
- Phone privacy for livestream sellers: keep customer data off the stream
- Keeping client documents private: a phone routine for real-estate agents
- How to hide contacts on iPhone: what really works
- How to tell if someone went through your iPhone
- How to move private photos to a new iPhone
- How to password protect a folder on iPhone
- How to remove location data from photos on iPhone before sharing
- How to store bank card details safely on your phone
- How to find and share a saved Wi-Fi password on iPhone
- How to stop unwanted photos from showing up in Memories and Featured Photos on iPhone
- How to control which photos an app can access on iPhone
- How to find the Hidden album on iPhone (and why it may be missing)
- How to show someone a photo on your iPhone without them swiping to the others
- How to stop WhatsApp saving photos to your iPhone camera roll
- How to stop photos from Messages showing up in your iPhone Photos app
- How to password protect a video on iPhone
- How to password protect a PDF on iPhone
- What does Private Browsing on iPhone actually hide?
- Where do downloads go on iPhone? How to find, move and delete them
- How to hide private content in the iPhone App Switcher
- How to back up your iPhone photos without iCloud
- How to stop photos from showing up in iPhone Spotlight search
- What can someone do with your locked iPhone? How to limit Lock Screen access
- Why is there a green or orange dot on my iPhone? How to see which app is using your camera or microphone
- How to keep a private journal on iPhone
- How to stop unwanted AirDrops on iPhone
- How to keep medical documents and insurance cards private on iPhone
- How to change or remove the camera button on the iPhone Lock Screen
- You copied a password on iPhone: who can see your clipboard, and how to stop apps pasting from it
- What is Stolen Device Protection on iPhone, and should you turn it on?
- Where to store PIN codes and door codes on iPhone
- How to share a password with family on iPhone without sending it in a chat
- How to see saved passwords on iPhone (and what to do when one is missing)
Questions about how Lockboxy works? Read the FAQ