Forgot your MacBook password. Don't panic. There are four ways to get back in, and you don't need to take it to a Genius Bar unless all of them fail. I've walked friends through this twice and the recovery process is way smoother than people expect.
Pick the method that matches your setup. The easiest one requires your Apple ID, which most people have ready.
Reset password using your Apple ID
On the login screen, type any wrong password three times. After the third try, macOS shows a small prompt that says "Reset using Apple ID". Click it.
Enter your Apple ID and password. macOS verifies your identity, then lets you set a new login password. Confirm and you're back in. The whole thing takes about 90 seconds.
For this to work, your Mac needs to be online and you must have FileVault turned on with Apple ID recovery enabled. Most Macs out of the box have this configured.
Use the password hint
If you set a password hint when you first created the account, it shows up after three wrong attempts. Look at the screen carefully – the hint is small. If it jogs your memory, type the password and you're in.
The hint might be cryptic if you set it years ago. But sometimes seeing the keyword brings the password back. Worth checking before doing a full reset.
Reset from another admin account
If you have a second admin account on the Mac (like a family member or a backup admin), sign in with that one. Open System Settings, click Users & Groups, click the i icon next to your locked account, and pick Reset Password.
Set the new password and sign out of the admin account. Sign back in with your account using the new password.
Recovery Mode reset
If Apple ID reset doesn't work, Recovery Mode does the same job. Steps differ slightly between Intel and Apple Silicon Macs.
Apple Silicon (M1, M2, M3, M4):
- Power off the Mac completely
- Hold the power button until you see "Loading startup options"
- Click Options then Continue
- If asked, pick a user with admin rights
- Open Utilities from the menu bar, pick Terminal
- Type resetpassword and hit return
Intel Macs: Restart and hold Cmd + R until the Apple logo appears. Same steps from there – Utilities, Terminal, resetpassword.
The Reset Password tool walks you through entering your Apple ID or recovery key. Then you set a new password.
Use your FileVault recovery key
When you set up FileVault, macOS gave you a 24-character recovery key. If you saved it (in 1Password, in your Apple ID, in a safe place), you can use it now.
At the login screen, after wrong attempts, the option Reset with recovery key appears. Type the key exactly – capitalization and dashes matter. Set a new password.
If you stored the key with Apple ID during FileVault setup, the Apple ID recovery method above handles this automatically. The key only matters if you chose "Create a recovery key and do not use my iCloud account".
Last resort – erase and reinstall
If nothing else works and you don't have any of the recovery info, you can erase the Mac and start over. You lose all your local data unless you have a Time Machine backup.
In Recovery Mode, pick Disk Utility, erase Macintosh HD, then pick Reinstall macOS. After reinstall, set up the Mac fresh. Restore from Time Machine if you have one, or sign back into iCloud to get your settings and files.
Avoid this next time – turn on FileVault with Apple ID
The reason most password resets work is FileVault with Apple ID recovery enabled. Once you're back in, double-check this is on. Go to System Settings, click Privacy & Security, scroll to FileVault, and confirm it's on with Apple ID recovery.
Also write your password somewhere safe. A password manager is best. Even a note in 1Password counts.
Which Mac model are you working with? Tell me and I'll point to the specific recovery flow if it differs.