You can access Mega without storing a password by using a recovery key instead

Mega is a cloud storage service that encrypts your files on your device before uploading them. Unlike most cloud services, Mega does not hold the encryption key — you do. This means Mega cannot decrypt your files even if someone breaks into their servers. The trade-off is that you must prove you own the account to regain access if you forget your password.

Mega offers two ways to do this without keeping your password written down or saved in a browser: a recovery key (a long string of characters you store separately) or a recovery code (a shorter backup code). Both let you reset your password and regain access to your files without typing the original password into Mega's website or app.

Key Takeaways

  • A recovery key is a long encrypted string that proves you own your Mega account and lets you set a new password if you forget the old one.
  • You can download your recovery key as a file, save it to a password manager, or write it down and store it in a physical location separate from your devices.
  • A recovery code is a shorter backup option that works the same way but is easier to write down or memorize if you prefer not to store files.
  • Mega's password reset process requires your recovery key or code — without one, you cannot regain access to your account or files.
  • You should save your recovery key or code before you need it, because Mega cannot retrieve it for you if you lose both your password and your recovery credentials.

How to find and save your recovery key in Mega

When you first create a Mega account, the service prompts you to save your recovery key. If you skip this step, you can retrieve it later from your account settings. Open Mega in a web browser, sign in with your email and password, and click the menu icon (three horizontal lines) in the top left. Select Settings, then choose the Security tab.

In the Security section, look for the option labeled Recovery key or Master key. Click the button to view or download your key. Mega will display a long string of characters — this is your recovery key. You have three options: download it as a file (usually named something like MEGA-RECOVERYKEY.txt), copy it to your clipboard, or take a screenshot. Store this file or copy in a location separate from your computer — a password manager, a USB drive kept in a safe place, or printed on paper locked away.

Do not email the recovery key to yourself, store it in cloud storage you access from the same device, or leave it in a browser bookmark. The goal is to keep it separate from your everyday devices so that if your computer is compromised, an attacker cannot find both your password and your recovery key in the same place.

Using your recovery key to reset your password

If you forget your Mega password, go to the Mega login page and click Forgot your password? You will be asked to enter your email address. Mega will then ask you to provide your recovery key to prove you own the account.

Paste or type your recovery key into the field provided. Mega will verify the key, and if it matches your account, you will be taken to a page where you can set a new password. Choose a password you have not used before, and do not forget to save your recovery key again after you reset your password — your old recovery key still works, but Mega recommends storing it in a new location to be safe.

This process works whether you are using the Mega website, the Mega desktop app, or the Mega mobile app. All three will prompt you for your recovery key if you need to reset your password.

Recovery codes as an alternative to recovery keys

If you find a long recovery key difficult to manage, Mega also offers a recovery code — a shorter backup option. Recovery codes are typically 8 to 12 characters long and easier to write down or memorize. You can set up a recovery code in the same Security settings where you found your recovery key.

A recovery code works the same way as a recovery key: if you forget your password, you enter the recovery code on the password reset page, and Mega lets you set a new password. The downside is that a shorter code is less secure than a longer key if someone tries to guess it. Most users should stick with the recovery key, but a recovery code is a reasonable choice if you plan to memorize it or keep it on a card in your wallet.

You can have both a recovery key and a recovery code active at the same time. If you lose one, you can still use the other to regain access. Mega recommends saving at least one of them before you need it.

What happens if you lose both your password and recovery key

If you forget your password and cannot find your recovery key or code, you cannot regain access to your Mega account. Mega's encryption means that even Mega's staff cannot decrypt your files or reset your account without your recovery key. This is by design — it protects your privacy, but it also means you are responsible for keeping your recovery credentials safe.

Mega does not offer a "forgot recovery key" option or a way to contact support to bypass this requirement. If you lose access, your files remain encrypted and inaccessible. For this reason, saving your recovery key in at least two separate locations (such as a password manager and a physical backup) is worth the small amount of effort.

Storing your recovery key securely

The best place to store your recovery key depends on your comfort level with technology and how much security you need. A password manager like Bitwarden, 1Password, or Dashlane can store your recovery key in an encrypted vault that you access with a master password. This works well if you already use a password manager and trust it to keep your data safe.

A USB drive or external hard drive kept in a safe, locked drawer, or safe deposit box is a good physical backup. Write your recovery key on paper, store it in a waterproof envelope, and keep it somewhere you can find it but an attacker cannot. Some people keep one copy at home and one in a safe deposit box at a bank.

Avoid storing your recovery key in email, cloud storage (like Google Drive or Dropbox), or anywhere that uses the same password as your Mega account. If someone gains access to your email or main cloud storage account, they should not also be able to access your Mega recovery key.

Accessing Mega on multiple devices without entering your password

Once you have signed into Mega on a device, you do not need to enter your password again on that device unless you sign out. Mega stores a session token on your device that keeps you logged in. If you want to sign into Mega on a new device without typing your password, you have two options: use your recovery key to set a temporary password, or sign in normally and then delete the password from your device's memory.

The simpler approach is to sign in normally on the new device, then use Mega's Change password option in Settings to set a new password you use only on that device. This is less secure than using a recovery key, but it avoids storing your main password on multiple devices. For maximum security, sign in on each new device, then immediately change your password and store the new password only on that device.

Frequently Asked Questions

Can I access Mega if I lose my recovery key but remember my password?

Yes. As long as you remember your password, you can sign in normally and generate a new recovery key from your Settings. Save the new key immediately in a safe location. You do not need the old recovery key if you still have access to your account.

Is a recovery key the same as a password?

No. Your password is what you use to sign in. Your recovery key is a backup that proves you own the account if you forget your password. Mega uses the recovery key to verify your identity and let you set a new password, but you cannot use the recovery key to sign in directly.

Can I change my recovery key?

You cannot change your existing recovery key, but you can generate a new one from your Security settings. The old key will stop working once you generate a new one. Save the new key in a safe place before you generate it, because you will not be able to retrieve the old one.

What if someone finds my recovery key?

If someone has your recovery key but not your password, they can reset your password and take over your account. Treat your recovery key like a password — keep it in a secure location and do not share it. If you think your recovery key has been compromised, sign in with your password and generate a new recovery key immediately.

Do I need a recovery key if I use two-factor authentication?

Yes. Two-factor authentication protects your account from unauthorized sign-ins, but it does not help you regain access if you forget your password. You still need a recovery key or code to reset your password if you forget it. Both security features work together but serve different purposes.