How to change or reset your Mac's account password

The login screen is your computer's main door to your precious, sensitive data. Even if you are using an iMac that never leaves your home office, you should protect that data with a password. It may be inconvenient (though an Apple Watch makes the process quicker), but your personal security is always worth it.

In older versions of OS X, Apple let you use your Apple ID password as your Mac's unlock option, which automatically changed whenever you changed the password on your Apple ID. That said, you don't have to use your Apple ID password to unlock your Mac. In fact, it's not really a good idea.

Ideally, you should use a separate password for every device and service you log into for safety reasons; it's why a good password manager is invaluable. If a nefarious individual or group somehow gets ahold of one of your passwords, it can't be used to access anything else you want to protect.

If you've been using your iPhone or Apple Watch (or Touch ID on MacBook Pro) to unlock your Mac, it's possible that you might forget what your user account password is. There are a few ways you can change or reset your Mac user account password that you can try to help get you back in.

How to set up a new Mac user account

Before you get locked out: Set up Apple ID unlock on your Mac

If you're reading this and you're not locked out of your Mac and still remember your user account password, follow these steps to make sure you have a backup way to unlock your account using your Apple ID. If you forget your account password in the future, this could end up being the easiest solution. Of course, you'll need to make sure you remember your Apple ID password.

  1. Click on the Apple menu icon in the upper left corner of your Mac.
  2. Click on System Preferences from the drop down menu.

  1. Click on Users & Groups.
  2. Click the lock in the bottom left corner of the window to unlock the settings.

  1. Enter your Mac account password.
  2. Click Unlock.

  1. Select your user account.
  2. Make sure the Password tab is selected.

  1. Tick the box to Allow user to reset password using Apple ID.
  2. Click the lock again to save the changes.

In the future, if you forget your Mac user account password, when you try to log in, after three tries, your Mac will prompt you to reset your password using your Apple ID.

How to change your Mac user account password if you know your current one

If you already know your current password and you just want to change it, you're in luck. That's the easy stuff.

  1. Click on the Apple menu icon in the upper left corner of your Mac.
  2. Click on System Preferences from the drop down menu.

  1. Click on Users & Groups.
  2. Click the lock in the bottom left corner of the window to unlock the settings.

  1. Enter your current Mac account password.
  2. Click Unlock.

  1. Select your user account.
  2. Make sure the Password tab is selected.

  1. Click on Change Password.
  2. Enter your current password under Old password.
  3. Enter a new password. You can use your Mac's Password Assistant to suggest one for you.
  4. Enter the new password again under Verify.
  5. Include a password hint to help you remember if you forget it in the future.

  1. Click Change Password.
  2. Click the lock again to save the changes.

How to reset your Mac user account password using your Apple ID

If you set up Apple ID Unlock when you created your user account, you're in luck. This is the easiest way to reset your password.

  1. At your Mac's lock screen, try entering a password three times. A new option will appear after the third failed attempt.
  2. Click the arrow next to the Apple ID message.
  3. Enter your Apple ID.
  4. Create a new password. Write this one down!
  5. Click Restart.
  6. Enter the new user account password to log in.

If you've reset your account password, it's highly likely that you'll have to create a new login keychain (since it requires your old password to access).

How to reset your Mac user account password if you know another admin account password

It's possible that you know the password for another admin account on your Mac (It has to be an admin account in order to make changes to different user account passwords). If you do happen to know the password for the admin account on your Mac (different than your own), log in to that user account and follow the steps below.

  1. Click on the Apple menu icon in the upper left corner of your Mac.
  2. Click on System Preferences from the drop down menu.

  1. Click on Users & Groups.
  2. Click the lock in the bottom left corner of the window to unlock the settings.

  1. Enter the admin's Mac account password.
  2. Click Unlock.

  1. Select your user account.
  2. Click on Reset Password.

  1. Enter a new password. You can use your Mac's Password Assistant to suggest one for you.
  2. Enter the new password again under Verify.
  3. Include a password hint to help you remember if you forget it in the future.
  4. Click Change Password.
  5. Click the lock again to save the changes. If you've reset your account password, it's highly likely that you'll have to create a new login keychain (since it requires your old password to access).

How to reset your Mac user account password if FileVault is on

If you have FileVault turned on, you can use a couple of different methods to reset your password. Lucky you!

To determine if FileVault is turned on, wait for one minute on the login screen for a message saying that "You can use the power button on your Mac to shut down and start up again in Recovery OS.* If you don't see this message, you don't have FileVault turned on.

Using Reset Password Assistant

  1. Press the Power button on your Mac to shut it off.
  2. Press the Power button on your Mac to turn it back on.
  3. When the Reset Password window appears, tick the box for I forgot my password.
  4. Enter a new password.
  5. Click on Restart.
  6. Enter the new user account password to log in.

If you've reset your account password, it's highly likely that you'll have to create a new login keychain (since it requires your old password to access).

Recovery Key

If you have a FileVault recovery key, you can use this instead of your user account password to log in. Remember, you must have FileVault turned on to use this option.

  1. At your Mac's lock screen, try entering a password three times. A new option will appear after the third failed attempt.
  2. Click the arrow next to the Recovery Key message.
  3. Enter your Recovery Key.
  4. Create a new password. Write this one down!
  5. Click Restart.
  6. Enter the new user account password to log in.

Once you're back in: Create a new login keychain

After you reset your Mac user account password you might get a message that your Mac is unable to unlock your login keychain. Well, that's because you just changed it. No biggie. You can reset it by entering the new Mac user account password you just changed it to.

Click on Create New Keychain when the message appears and enter the new password you just created.

If you keep getting messages asking for your old account password, you can manually reset your keychain.

  1. Click on Finder in your Dock.
  2. Click on Applications.

  1. Double-click on the Utilities folder.
  2. Double-click on Keychain Access.

  1. Click on Keychain Access in the upper left corner of your Mac's screen.
  2. Click on Preferences.
  3. Click on Reset My Default Keychains.

  1. Enter the new password you just created for your Mac user account.
  2. Click OK to confirm.

You'll need to log out and log back in to your Mac to sync the changes. Once logged back in, your new password and login keychain will match again.

What happens if you still can't remember or reset your password

If you don't fit any of the above options (Apple ID login, remembering the password for another admin account, or FileVault turned on), your last-ditch effort is to burn it down and start over. If you do a clean install of macOS, it will erase everything on your Mac, including your passwords and settings. This should only be done if you don't have any other way to get into your Mac. You'll be starting over from scratch.

Any questions?

Do you have any questions about changing or resetting your Mac's user account password? Put them in the comments and we'll help you out (remember: we can't help you get your password back).

Lory Gil

Lory is a renaissance woman, writing news, reviews, and how-to guides for iMore. She also fancies herself a bit of a rock star in her town and spends too much time reading comic books.  If she's not typing away at her keyboard, you can probably find her at Disneyland or watching Star Wars (or both).