Mac Tutorials

Forgot Your Mac Password? Here’s How to Reset It

Before we start

Forgetting your password is not a problem and you’ll understand why after reading our article. The real problem is a password leak. To prevent this, get MacKeeper — it will protect your private data from breaches and help you stay safe.


If you forgot your Mac password, don’t worry — there are plenty of easy methods to resolve this problem. The following tips will help you reset an admin password on a Mac, as well as a password to a simple user account.


But before going through these methods, you need to make sure you are entering your password correctly. Try these much simpler solutions first:

  • Make sure the Caps Lock button is disabled
  • Try to log in without entering a password
  • If you just changed the password and the new one isn’t working, try to log in using the old password

If none of these tricks worked out for you, it’s time for another approach.  


Here are the six methods to reset a Mac password:

  1. Use another admin account
  2. Use your Apple ID
  3. Go to Terminal in macOS Recovery mode
  4. Use a FileVault recovery key
  5. Enter a single-user mode and use Terminal
  6. Go to a target disk mode

1. Use another admin account

With an admin account, you can easily reset a standard user’s account password. However, if you forgot an administrator password on a Mac, you’ll need a second admin account.


Why would you need two admin accounts? Forewarned is forearmed. It’s the easiest way to change the Mac admin password for another account and a perfect troubleshooting method. Assuming that you still remember your password for the second administrator account, log in to it.

1. Navigate to System Preferences and select the Users and Groups tab

2. In the bottom left corner, click the lock icon and enter the admin password for your second account

3. Select the admin user whose password you need to reset

4. Click Reset Password   

reset admin password from system preferences

5. In the window that appears, create a new password, and click Change Password

enter and verify new password for admin account

This is the easiest way of Mac password recovery. However, you can only use it if you have multiple admin accounts on your Mac. Check this article on how to create an additional admin account on Mac.

2. Use your Apple ID

macOS users can reset an account password using an active Apple ID that is associated with their account. This feature can help reset the password for any user account type.


This feature should be activated by default. However, if it’s not, you can easily activate password reset by going to System Preferences, click on Users & Groups, and check the box next to Allow user to reset password using Apple ID.


After making sure it’s already checked, you can reset your password by following these easy steps:

  1. Restart your Mac and type in any wrong password for three times in the login window. You’ll see the password hint and an option to reset account password with Apple ID
  2. Click the small right-facing button
  3. Enter your Apple ID and its password and click Reset Password
  4. A warning will appear about changes in Keychain, where frequently used passwords are stored. Click OK to proceed
  5. Enter a new password and set up a hint for it
  6. Click Reset Password again

3. Reset Mac password with Terminal in Recovery mode

macOS includes an extremely useful tool to reset forgotten passwords. The Recovery mode allows changing the password using the Terminal utility.  


If you were out of luck and didn’t create a second admin account or associate your account with Apple ID, this is a perfect way to reset the Mac password.  


Just follow these steps:

  1. Shut down your Mac
  2. Press the Power button and use the Command (⌘) + R key combination to enter the Recovery mode
  3. Click Utilities at the top of the screen and select Terminal
  4. In the Terminal line, type ‘resetpassword
  5. Select the volume with an admin account (usually it’s your main hard drive)
  6. Choose the account for which you want to reset the password
  7. Enter a new password and retype it
  8. Type the password hint and click Save
  9. Shut down your Mac
  10. Start up your Mac and log in using your new password

4. Recover your Mac password with FileVault

This method can only be used if you have FileVault, a disk-encryption utility, enabled on your Mac. FileVault has to be turned on manually, so if you didn’t have it on, skip this option.

filevault turned on in security and privacy settings
  1. Retrieve the recovery key you had when you turned on FileVault for the first time. If you don’t have the recovery key then you can contact Apple support
  2. Restart your Mac
  3. Once you are on the login screen, click on the account with a forgotten password
  4. Type in any wrong password for three times in the login window. You’ll see the password hint with an option to Reset it using your Recovery Key
  5. Enter your recovery key
  6. Enter a new password and set up a hint for it
  7. Click Reset Password again

5. Reset Mac password with Terminal in single-user mode 

This is a geeky way to reset your Mac password (including the administrator password) and it requires you to write a few commands in the Terminal so make sure to enter the commands exactly as indicated below.

1. Shutdown your Mac, then Press the power button and use the Command (⌘) + S key combination to enter the single-user mode

2. Type mount -uw / then press Enter

3. Type launchctl load /System/Library/LaunchDaemons/ and hit Enter

reset password in terminal in single-user mode

4. Type passwd username and make sure to replace ‘username’ with the exact name of the account you want to reset a password for, then hit Enter

5. Write the new password, then press Enter

6. Retype the new password, then hit Enter

7. Type Reboot and click Enter


Now you have successfully reset your Mac password in single-user mode.

6. Use target disk mode to access your Mac

Finally, if none of the previous methods seem to work for you, then your best chance is to use target disk mode to recover access to your data.


This method enables you to access the hard drive of your Mac from another Mac. To do so you need to follow these steps:

  1. Shut down your Mac
  2. Connect your Mac to another Mac using a Thunderbolt cable or a FireWire cable if your Mac is an older one. It’s important to mention that this trick can’t be done using a USB cable
  3. Start up your Mac and hold the T key to enter Mac target disk mode. By doing so, your Mac will appear as a hard drive in the other Mac and now you are ready to access your data


That’s it! Keep your Mac protected and stay tuned for the new blog updates!

Read More:

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

Here’s another sign you need to upgrade your macOS ASAP:

30% off your MacKeeper subscription

Сopy the code now and use it in the MacKeeper checkout after the upgrade.

Copy Code

Please be aware that this code cannot be combined with any other discounts, offers, or promotions.



Got a Mac system error? Let’s make sure this won’t happen again.

Start Now

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Read more

How to Clone a Mac Hard Drive
How to Clone a Mac Hard Drive
How to Encrypt Files on a Mac: A Simple Explanation
How to Encrypt Files on a Mac: A Simple Explanation

Run Application


Click Continue


Click Install


Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.