Glossary
Recovery key
Definition
Recovery key: A secret, usually generated when an account is created, that can restore access to encrypted data if the password is forgotten. In end-to-end encrypted services it is often the only way back in, because the provider can't reset the encryption.
Also known asaccount recovery keyrecovery codeSecret Recovery Key
In short
A recovery key is a secret, usually generated when you create an account, that can restore access to your encrypted data if you forget your password. In end-to-end encrypted services it's often the only way back in, because the provider doesn't hold your keys and so can't reset your encryption. Store it offline, apart from your password.
Key takeaways
- A recovery key unlocks a second encrypted copy of your master key.
- Without it, a password reset in a zero-knowledge service gives you a new, empty key, not your old data.
- It's different from two-factor backup codes, which only help you sign in.
- Store it in a password manager or on paper in a safe place, never in the account it protects.
Last reviewed 30 November 2026 by Foxcolab Team
A recovery key is a secret that can restore access to your encrypted data if you forget your password. It's usually generated when you create your account and shown to you once. In most online services, a forgotten password is a quick email reset. In an end-to-end encrypted service, it isn't, and the recovery key is the reason you can still get your data back.
Why encrypted services need one#
In a zero-knowledge design, your data is encrypted with a master key, and that master key is stored only in encrypted form, unlocked by a key derived from your password with a key derivation function. The provider never has the master key itself. So if you forget your password, the provider can let you set a new one, but it can't unlock your old master key.
A recovery key solves this by encrypting a second copy of the master key. With it, your device can unlock the master key and protect it again with your new password. Your data stays readable. Our explainer on why zero-knowledge accounts can't be reset walks through it.
Recovery keys vs. backup codes#
They're easy to confuse:
| Recovery key | 2FA backup codes | |
|---|---|---|
| Protects | Access to your encrypted data | Sign-in when your authenticator isn't available |
| Used when | You've forgotten your password | You've lost your second factor |
| If you lose it | Data encrypted before a reset can't be decrypted | You may be locked out of sign-in |
See two-factor authentication for more on backup codes.
Storing it well#
- Save it in a password manager, or print it and keep it somewhere locked.
- Keep it apart from your password, and never only inside the account it protects.
- Don't send it by email or chat, and never type it into a page you reached from a link.
In Foxcolab#
Foxcolab's end-to-end encryption hangs off your account key, and your recovery key is what keeps your content yours if you forget your password. It's 24 characters in four groups of six, shown once on the Save your recovery key page when you sign up. With it, a password reset keeps everything readable. If you reset without it, the reset page warns "You'll lose access to encrypted data": anything encrypted before the reset "can't be opened again," and you tick a box saying you understand before you continue. You then get a new recovery key, and the old one stops working.
Organizations also get an Organization Master Recovery Key. Whoever holds it can reset the password of any account on the organization's domains and keep that account's data readable, so guard it as closely as the accounts themselves. See the security page.
Forgot your password? Follow Reset your password without losing encrypted data.
Keep exploring
Related terms
- Zero-knowledge encryptionZero-knowledge encryption means the provider stores your data without ever having the keys to read it. Here's how that works and how you keep a way back in.
- Key derivation functionA key derivation function turns a password or other secret into an encryption key. Password-based ones are deliberately slow, so every guess costs an attacker time and hardware.
- Two-factor authentication (2FA)Two-factor authentication asks for a second kind of proof after your password, so a stolen password alone can't get someone into your account.
Where Foxcolab uses it

Foxcolab
Private work tools, without the ads.
Mail, files, documents, spreadsheets and meetings in one account. Files, documents and spreadsheets are end-to-end encrypted.