Home How-to Forgot Your Mac Password? Here’s How to Reset It (Without Losing Data)

Forgot Your Mac Password? Here’s How to Reset It (Without Losing Data)

Learn how to safely reset your Mac password.
Reset Your Mac Password
#image_title

We’ve all been there. You open your Mac, type in your password, and… nothing; you don’t remember the password of your Mac. However, you shouldn’t freak out when this happens, as Apple has built-in recovery options to help you reset your password, whether you’re using an Intel Mac or an Apple Silicon model.

Reset Your Mac Password
#image_title

In this guide, I’ll walk you through different methods to reset your Mac password without losing data.

FaceTime Like a Pro:

Get our exclusive Ultimate FaceTime Guide 📚 — absolutely FREE when you sign up for our newsletter below.

What to Know Before Resetting Your Mac Password

Before jumping in and resetting your Mac password, try these basic checks:

  • Make sure Caps Lock isn’t on.
  • Double-check if you’re typing your Mac login password—not your Apple Account password.
  • If you’re using a Bluetooth keyboard, make sure it’s connected and working properly.
  • Click the question mark next to the password field for a password hint.
  • Use the input menu at the login screen to switch to the correct language/keyboard layout.

Method 1: Reset Your Mac Password Using Apple Account

This is the easiest option, but it only works if you linked your Apple Account to your Mac user account. Here’s what you need to do:

  1. On the login screen, click on the question mark icon beside the password field.
  2. You should now see an option like Restart and show password reset options. Click on it to restart the Mac into recovery mode.

    Options available upon clicking the question mark icon on the macOS login screen
  3. Log in with your Apple Account and verify if 2FA is enabled.

    Logging into your Apple Account and verifying with 2FA if prompted to reset your password
  4. Select the user account you want to reset.

    Selecting the user account you want to reset on the macOS login screen
  5. Create a new password, confirm it, and add a hint.

    Creating a new password on the Reset Password screen
  6. Restart and log in with your new password.

If you don’t see the Apple Account option on the Lock Screen, move to the next method.

Method 2: Reset Your Mac Password From macOS Recovery

If you can’t use your Apple Account, you can reset the password using macOS recovery. The steps to do it are the same for both Intel and Apple Silicon Macs, though how to enter macOS Recovery is different.

For Intel Macs:

  1. Shut down your Mac.
  2. Press and hold Command+R, then power it on.
  3. Keep holding the keys until you see the Apple logo.

For Apple Silicon (M1 or Later chips) Macs:

  1. Shut down your Mac.
  2. Press and hold the power button until you see the text Options.
  3. Click Options, then Continue.

Once in the macOS Recovery screen, follow these steps:

  1. Click on Forgot all passwords?.

    Clicking the Forgot all passwords option on the macOS Recovery screen
  2. Login with your Apple Account. From the menu bar, go to Utilities > Terminal.

    Accessing the Terminal in macOS Recovery
  3. Type resetpassword (one word) and press Return. It will open the Reset Password tool. 

    Typing the resetpassword command in a Terminal window
  4. Follow prompts and sign in with your Apple Account. 

    Signing in to Apple Account to reset password on the Activation Lock screen
  5. Select the user account you need to change the password for. 

    Selecting the user account you want to change password for in macOS Recovery
  6. Create a new password, confirm it, and add a hint.

    Creating a new password on the Reset Password screen
  7. Restart and log in with your new password.

Method 3: Use Another Admin Account on the Same Mac

If someone else shares your Mac and their account has admin privileges, you can get them to reset your password or use their account to do it yourself. Here’s what the process looks like:

  1. Log in using the admin account.
  2. Go to System Settings > Users & Groups.

    Accessing the Users  Groups settings in macOS System Settings app
  3. Select your user account.

    Selecting the user account you want to reset the password for in System Settings
  4. Click Reset Password, then enter a new one.

    Entering the new password to reset your Mac password

Now, you can log in to your account with this new password. 

Method 4: Use FileVault Recovery Key (if You Have It Enabled)

If FileVault is enabled on your Mac, you may have set a recovery key during setup. In this case, you can use it to reset your Mac’s password:

  1. On the login screen, click on the question mark icon beside the password textbox.

    Accessing options by clicking the question mark icon on macOS Lock Screen
  2. Then click on Reset it using your Apple Account.
  3. Login with your Apple Account.

    Logging in with your Apple Account to reset its password
  4. Your Mac will restart to the Reset Password screen and a prompt should appear asking you to enter your FileVault recovery key.

    Enter your FileVault recovery key to reset your Mac's password.
  5. Type in the key (include dashes and capital letters).
  6. Follow the prompts to set a new password.
  7. Restart and log in with your new password.

What if None of These Methods Work?

If none of the above methods work, your only option is to erase your Mac and reinstall macOS. This will erase all your files and data, so it should be your last resort. Follow these steps if you decide to continue:

  1. Boot into macOS Recovery using the steps shown above.
  2. In the menu bar, click Recovery Assistant > Erase Mac.

    Accessing the Erase Mac option for Recovery Assistant on a Mac
  3. Confirm by clicking Erase Mac.

    Clicking the Erase Mac button to confirm erasing
  4. After it restarts, click Reinstall macOS.
  5. Follow the setup instructions to start fresh.

How to Prevent Your Mac from Getting Locked Out Again

Once you’ve reset your password, you can try the following things to avoid getting locked out of your Mac again:

  • Add a password hint: Go to Users & Groups > Change Password and set a hint.
  • Enable 2FA: Adds extra security and recovery options via your Apple Account.
  • Use a password manager: Store strong, unique passwords securely.
  • Enable FileVault: Encrypts your data for better protection.
  • Keep macOS updated: Regular updates improve security.

Don’t Fret When You Get Locked Out

Being locked out of your Mac can feel stressful, but it’s not the end of the world. With Apple’s built-in recovery tools, you can usually get back in within minutes. Just follow the right method for your situation, and once you’re back in, take a few steps to make sure it doesn’t happen again.

Related articles worth reading:

FaceTime Like a Pro:

Get our exclusive Ultimate FaceTime Guide 📚 — absolutely FREE when you sign up for our newsletter below.

Leave a Reply

Your email address will not be published. Required fields are marked *

Consent Preferences