Can’t Remember Password for MacBook? How to Reset and Access Your Laptop

How to reset a forgotten MacBook password

Staring at your MacBook’s login screen with no idea what the password is — it happens more often than you’d think, especially on a Mac you only sign in to occasionally. Don’t worry: Apple builds in several recovery routes, and you almost certainly don’t need to wipe the machine. We at GetMyPassword take you through them in order, from the one-click Apple ID reset to the recovery key that unlocks a fully encrypted drive.

Reset a Mac password with your Apple ID
Reset a forgotten Mac password using your Apple ID.

Reset your Mac password with your Apple ID

This is the simplest route and works on most modern Macs. At the login screen, type any password three times. After the third miss, macOS offers a message: “Reset it using your Apple Account.” Click that, restart when prompted, sign in with your Apple ID, and you’ll be guided to create a brand-new login password. If you use iCloud on the Mac, this is usually all it takes.

Use the Reset Password assistant in Recovery

No Apple ID linked, or the option didn’t appear? macOS Recovery has a dedicated tool:

  1. Shut the Mac down. On Apple Silicon, press and hold the power button until “Loading startup options” appears, then choose Options. (On older Intel Macs, hold Command + R at startup.)
  2. From the menu bar choose Utilities → Terminal.
  3. Type resetpassword and press Return.
  4. Follow the assistant to set a new password for your account.

When the drive is encrypted: your FileVault recovery key

If you turned on FileVault to encrypt your Mac, you were given a recovery key — a 24-character code in the form xxxx-xxxx-xxxx-xxxx-xxxx-xxxx. When passwords fail, enter this key at the prompt, pick your local account, and you’ll be allowed to set a new password. This is exactly why Apple tells you to store that key somewhere safe when FileVault is switched on; without it (and without your Apple ID), encrypted data can’t be recovered.

Resetting the login password does not unlock your old Keychain — the saved passwords inside it stay locked to the previous password. macOS will offer to create a new Keychain, which is normal and safe.

Pick a new password you won’t lose again

Once you’re back in, choose a password that’s strong but memorable, and write the recovery details down somewhere offline. A passphrase — a few unrelated words strung together — is easy to recall and hard to crack; our password generator can build one, and the guide to strong passwords explains why length beats complexity. Then let your Mac remember your other logins safely, as we cover in our password manager guide.

Frequently asked questions

Can I reset my MacBook password without losing data?

Yes. Resetting through your Apple ID, the Recovery Reset Password assistant, or a FileVault recovery key changes the login password without erasing your files. You only lose data if you fully erase and reinstall macOS.

What if I don’t have my Apple ID or recovery key?

Without your Apple ID and, on a FileVault-encrypted Mac, without the recovery key, the encrypted data cannot be recovered. Your remaining option is to erase the Mac in Recovery and set it up fresh.

How do I open Recovery on an Apple Silicon Mac?

Shut the Mac down, then press and hold the power button until “Loading startup options” appears and choose Options. On older Intel Macs, hold Command + R while it starts up.

Help your friends stay safe. Share this article!