How to recover a forgotten Mac password [2024]: My experience and tips
I always thought I was too responsible to forget my laptop password. But on the last day of work before a two-week vacation, I changed the password on my work Mac, and when I got back, of course, I couldn’t remember it.
Well, it’s my job to figure these things out, right? Read on to learn how to unlock your MacBook without a password and discover the tips I adopted to never forget it again.
Quick password recovery solutions
I’ll start with quick tips, but if you need detailed instructions, just scroll down!
What do you have? | Your steps |
---|---|
Mac linked to Apple ID. | After 3 failed attempts at login, select Reset with Apple ID and follow the prompts. |
No Apple ID linked. | Restart in Recovery Mode, go to Options > Terminal, and type resetpassword. |
You have a FileVault Recovery Key. | At login, select Reset with Recovery Key and enter the 28-character code. |
You’re not an admin on Mac. | Ask the admin to change password in System Settings > Users & Groups > your Mac username > Reset a Password. |
Need to prevent future password issues. | Use Secrets 4, a password manager. |
Reset Mac password with Apple ID
The easiest way is to reset the password with your Apple ID. Unfortunately, this method didn’t work for me because it only applies if your Mac is linked to an Apple ID. And, of course, before my vacation, I had logged out of my Apple ID just to be extra cautious. Later, I tested the method by "forgetting" my Mac password again, and I can assure you it works perfectly.
Here's how to reset your Mac password with Apple ID.
- Enter your username at the Mac's login screen. After three attempts of entering an incorrect password, your Mac will display an option to reset the password.
- Click Reset using your Apple ID.
- Wait for your Mac to reboot.
- Fill in your Apple ID and password to continue.
- Choose your username and click Next.
- Enter your new password and click Next.
- Then, click Restart to complete the recovery.
You can now access your Mac with the new password. But what if you forget it again? Setting up additional recovery options helps. Apple lets you add recovery contacts and recovery keys to make password reset easier.
Follow these steps to add a recovery contact.
- Click the Apple icon > System Settings > your Apple ID.
- Select Sign In & Security > Account Recovery.
- Click Set up. Then, click the + button at Recovery Contact.
- Click Add Recovery Contact.
- At the next dialog, click the + button to bring up your contact list.
- Browse and select the desired person.
- Click Next.
- You'll be prompted to send the contact a message. Click Send to complete the setup.
If you forget your Mac password again, you can get Mac to send a recovery code to the contact to help you regain access.
Reset Mac password using a recovery key
Another way to make Macintosh password reset easier is to create a recovery key. This method works if you or your company have created a Recovery Key in advance. If it's your work MacBook, reach out to your system administrator or someone from the IT department who handles security issues.
How to use it? After several failed password attempts, you’ll need to select the "Reset using your recovery key" option and enter the key.
If you don’t have this key, here’s a guide on how to create one for future use.
- Click the Apple icon > System Settings > Apple ID.
- Select Sign In & Security > Account Recovery.
- Look for the Recovery Key section and click Manage.
- Click Turn On when a new dialogue shows up.
- At a confirmation dialog, Click Use Recovery Key to continue.
- Then, enter your admin password and click Allow to proceed.
- Your Mac will generate a 28-character recovery key. Screenshot, print, or write down the key before proceeding. If you lose it, Apple cannot help you regain access to your Mac.
- Click Continue.
- You'll be asked to enter the recovery key to continue. Fill in the 28-character code and click Done.
Now, you've enabled the Recovery Key on your Mac and will be able to regain access if you forget your Mac password.
How to recover Mac password with Apple's Recovery mode
Recovery mode is Apple's emergency option that lets you restore your device and regain access. This was the method that saved me. With it, you can still reset your Mac password even if you didn't link your Mac with your Apple ID. Exactly my case!
Here's how to access the Recovery mode on a Mac with an Apple M1 or M2 chip.
- Restart your Mac.
- Hold the power button until you see the startup options.
- Click Options > Continue to proceed.
For Macs running Intel processors, follow these steps.
- Restart your Mac.
- Press and hold the Command + R buttons.
- Wait until the Apple logo shows up.
- Connect to a Wi-Fi if you're prompted to.
- Click Options > Continue to proceed.
Once you're in Recovery mode, reset your Mac password with these steps.
- Click Utilities > Terminal on the top menu. A new window will appear.
- Type resetpassword in the terminal and press Return.
- Close the terminal window.
- Now, you'll find a Password tool.
- Select "I forgot my password" and click Next. You'll then be asked to sign in with your Apple ID.
- Enter your Apple ID and password to continue.
- Apple will send a 6-digit code to your signed-in devices. Enter the code on the Mac to proceed.
- Choose your Mac username.
- Enter the new password and click Save.
- Restart your Mac and unlock it with the new password.
That's it. While it takes more steps and is less straightforward, Recovery mode is your best bet when other methods fail.
Change Mac password with another account
If you share the computer with friends or family, you can ask the administrator to change your Mac password.
- Use a Mac logged in by the admin.
- Click on the Apple icon > System Settings > Users & Groups.
- Click the i icon on your Mac username.
- On the user window, click Reset a Password.
- Enter the new password and verify it. I also recommend including a hint to help you remember your password.
- Click Reset Password.
Now, log in to your account with the new password.
How to get a hint for your password
Sometimes, you can recall your password by viewing the hint you've set. Doing so saves you the trouble of resetting and creating a new password. Follow these steps to get your password hint.
- Power up or reset your Mac.
- At the login screen, click the ? icon beside the Enter Password box.
- You will see your password hint.
Chances are, the hint might help you remember your Mac password.
How to recover password by using Target Disk Mode
Target disk mode is not directly intended for password recovery, but at least it helps you transfer data between two Macs.
Here's how it works.
- Connect both Macs with a USB or Thunderbolt cable.
- Restart or turn on the locked Mac while holding the T key.
- The locked Mac will enter the target disk mode.
- On the working Mac, you'll find an external disk containing your files in the locked Mac.
You can now transfer the files to the working Mac and change your password on the locked Mac later. Note that TargetDisk mode may not work if FileVault and Firmware password are turned on.
Reset Mac password with a FileVault recovery key
I know it can be hard to remember, but if you enabled FileVault to encrypt your storage data, you would have received a recovery key generated by your Mac. Again, if you’re using a work MacBook, reach out to your IT department — they might have the key. With it, you can reset your Mac password in just a few steps.
- Power up your Mac.
- At the login screen, click the ? icon next to the password field.
- Select Reset it using your recovery key.
- Fill in the recovery key and click Next.
- Reset your password by following the on-screen instructions.
Restart your Mac, and you can use the new password to log in.
Tips to protect your data on Mac
I hope you’ve been able to recover your password by now. Passwords are here to protect our data, but there’s more you can do to keep your information secure. I’ve got some tips and ideas to help you store, find, and manage your passwords more easily. I’ve been using these ever since my own password incident.
Never forget passwords with Secrets 4
If you've forgotten your password once, you will likely forget it again. Rather than trying to remember dozens of passwords, I now use Secrets 4 to help. Secrets 4 is a password manager that encrypts and stores all passwords safely on the Mac. It also synchronizes with the Mac's keychain and system settings.
To store your password with Secrets 4.
- Download and open Secrets 4.
- Click the + icon.
- Select Login.
- Give the password a name.
- Generate a random password by clicking the half-circle arrow icon..
- Click Done.
Your password is now saved and synchronized on all your Apple devices. If you forgot your Macbook password, log in to Secrets 4 from a different device, and you'll find it.
Find lost passwords using Keychain Access
If you've forgotten some passwords, such as those used for signing into a drawing app, you can find them with Keychain Access or System settings.
Keychain Access is a Mac app that stores the passwords you use. Here's how to recover them.
- Search for the Keychain Access app on your Mac.
- Launch the app and click Open Keychain Access.
- Browse and select a specific keychain.
- On the attribute pane that pops up, click Show Password.
- Enter your keychain password and the hidden password will be revealed.
Another way to recover passwords on Mac is through the System Settings.
- Open System Settings.
- Scroll down and select Passwords on the left panel.
- Enter your Mac password to continue.
- Then, choose the passwords you want to reveal and click the i icon.
- A window containing the login credentials will appear. Hover your mouse over the password to reveal it.
You can only recover passwords with Keychain Access and System Settings if you've previously saved them, either automatically or manually.
Backup your files
Make a copy of your important files so you can recover them, even if you get locked out of your Macbook. You can use Time Machine on your Mac to clone the entire drive.
- Connect a storage disk to your Mac.
- Click the Apple icon > System Settings > General > Time Machine.
- Click Add Backup Disk and select the connected storage.
- Click Set Up Disk.
- Choose to erase the disk when prompted to. Wait for the setup to complete.
- Then, click the Time Machine icon on the menu bar and choose Back Up Now.
- Wait for your Mac to back up all files to the disk.
You can also use Time Machine to back up only important files, but I find the process clumsy. In this case, I use Get Backup Pro. Like Time Machine, it lets you clone files from your Mac to a storage device, but Get Backup Pro is easier to use, and its archives are much more compressed. Here's how:
- Download and launch Get Backup Pro.
- Click File+ or Apps Data+ to select the data for backing up.
- Click run.
Now, you have a copy of your important files that you can access anytime.
Always protect your data
Unlocking your Mac after forgetting the password seems impossible, but as you see, it's not. I hope my experience proves helpful to you.
As long as you remember your Apple ID, you can easily reset your Mac password. Even if you don't, you can try Recovery mode, an admin account, or a recovery key. The real challenge is not resetting passwords but remembering and storing them safely. Don't write them down on Apple Notes or other note-taking apps on your Mac because hackers might steal them. Instead, I recommend using password managers like Secrets 4 to store your website passwords on Mac securely.
You can try Secrets 4 and other apps I mentioned on Setapp for free. Setapp lets you subscribe to dozens of apps to get more productive and secure on Mac at an affordable fee.
FAQ
What to do: I forgot my MacBook password and didn't have an Apple ID; how can I reset it?
- Reset your Mac password from the administrative account of a person you share your device with.
- Use the FileVault recovery key to reset your Mac password.
- Consider erasing your Mac as a last resort. Doing so will wipe all the data and restore it to factory settings.
Can I log into my Mac without a password?
Yes, you can log in without a password if you have Automatic Login by going to System Settings > Users & Groups. Click Lock > Login options > Automatic login. Then, choose your Mac account and confirm your intention by typing its password. Now, it’s password-free.
Note that Automatic Login is disabled in case the account uses iCloud to log in, or you have FileVault enabled on your Mac. Each of these helps ensure your Mac’s security, so we don’t recommend disabling password-protected login.
Why can’t I change my password?
If you remember your old password, it’s usually pretty simple to change it via System Settings > Users & Groups > your account > Password Change...
If, however, you don’t remember the password and none of the recovery methods from this article work for you, consider erasing your Mac. You can find a full guide on safely erasing Mac without losing your data here.
Can someone else reset your Mac password?
“If I forgot my admin password on Mac and can’t reset it, can someone else reset it?” Fair enough. The thing is, letting someone else easily access your Mac if they don’t know the password would be a terrible idea security-wise. The bad news is that if you have FileVault disabled, anyone can reset your password by running the reset password command in Terminal from Recovery Mode. So make sure you always stick with Apple’s security requirements, FileVault being one of the most important ones.
Can someone else reset your Mac password?
Yes, they can reboot and reset the password by rebooting your Mac in Apple Recovery Mode. This is possible if you don't turn on the FileVault. You can also ask the administrative user of your shared Mac to reset your password from their account if you forgot the administrator name and password on your Mac.
What is the shortcut key for resetting the password on Mac?
There is no shortcut key for resetting a password on a Mac. You'll need to recover the password using Apple ID, Recovery Key, or another traditional method.
,