The fastest way to reset your password depends on what you remember

If you can still log into your Mac but forgot your password, you can change it through System Settings without any recovery steps. If you cannot log in at all, you have three main routes: use your Apple ID to reset it, use a recovery key if you set one up before, or boot into Recovery Mode and use the reset tool there. Each route takes a different amount of time and requires different information you may or may not have on hand.

The method that works fastest for you depends on whether you have access to your Apple ID, whether you turned on FileVault encryption, and whether you saved a recovery key when you set up your Mac. Start with whichever of these three situations matches yours.

Key Takeaways

  • If you can still log in, go to System Settings > General > Users & Groups, select your account, and click Change Password — no recovery needed.
  • If you cannot log in and have your Apple ID password, restart your Mac and enter your Apple ID at the login screen to reset your password in minutes.
  • If you have a recovery key (a 24-character code you saved when setting up FileVault), you can use it at the login screen to reset your password without needing your Apple ID.
  • If you have none of these, restart into Recovery Mode by holding Command and R during startup, then use the Reset Password tool from the Utilities menu.
  • Recovery Mode works on any Mac but may take 20 to 40 minutes depending on your Mac's age and how much data it holds.

Resetting your password when you can still log in

This is the simplest path. Open System Settings (the gear icon in your dock or Applications folder), then click General in the left sidebar. Look for Users & Groups and click it. You may see a lock icon at the bottom left — if so, click it and enter your current password to unlock the settings.

Find your account name in the list on the left and click it. A button labeled Change Password should appear. Click it, enter your current password once more, then type your new password twice. Click Change to save it. You are done — your new password takes effect when ready.

Using your Apple ID to reset a forgotten password

If you cannot log in, restart your Mac. When the login screen appears, you should see a question mark or a message saying you can reset your password using your Apple ID. Click that option. Enter the Apple ID email address and password associated with your Mac account.

Your Mac will verify your identity through Apple's servers. If successful, you will be asked to create a new password. Type it twice and press Enter. You should then be able to log in with your new password. This process usually takes two to five minutes if your internet connection is stable.

If you do not see an Apple ID reset option on the login screen, your account may not be linked to an Apple ID, or your Mac may be using an older version of macOS. Move to the recovery key method or Recovery Mode instead.

Using a recovery key if you saved one

When you first set up FileVault encryption on your Mac, you were given a 24-character recovery key — a string of letters and numbers separated by hyphens, like ABCD-EFGH-IJKL-MNOP-QRST-UVWX. If you saved this key somewhere safe (email, password manager, or written down), you can use it to reset your password without your Apple ID.

At the login screen, click the question mark icon or the reset option. Instead of entering your Apple ID, select the option to use your recovery key. Type or paste the key exactly as it appears, including the hyphens. Your Mac will verify it and let you set a new password. This takes about one to three minutes.

If you cannot find your recovery key and do not remember your Apple ID password, you will need to use Recovery Mode. Write down or take a photo of your recovery key after you reset your password — you will not see it again unless you turn off and back on FileVault.

Resetting your password using Recovery Mode

Recovery Mode is a built-in tool on every Mac that lets you reset your password even if you have no other way in. Restart your Mac and when ready hold down Command and R together. Keep holding until you see the Apple logo or a spinning globe. This usually takes 10 to 20 seconds. Your Mac will boot into Recovery Mode, which looks different from the normal login screen.

Once in Recovery Mode, look for the Utilities menu at the top of the screen. Click it and select Reset Password. A window will open asking you to choose your account from a dropdown list. Select your account, then click Next. You will be asked to select your Mac's hard drive (usually called Macintosh HD or similar). Click it, then click Next again.

Now you can type a new password twice and click Reset. Your Mac will confirm the change. Click Restart to reboot into the normal login screen and log in with your new password. The entire Recovery Mode process usually takes 20 to 40 minutes, depending on your Mac's age and how much data it contains.

What to do if Recovery Mode does not work

If you reach the Reset Password tool but it will not accept your new password, or if Recovery Mode will not start, your Mac may have a firmware password set. A firmware password is a separate security layer that prevents anyone from booting into Recovery Mode without a code. If you set one and forgot it, you cannot bypass it yourself.

Contact Apple Support or visit an Apple Store with proof of ownership (receipt, order confirmation, or ID matching the account holder). They can verify your identity and help you regain access. Bring any documentation you have about your Mac's purchase or setup. This process can take several days if done by mail or same-day if you visit in person.

Protecting yourself after you reset your password

Once you are back in, change your password again to something you will actually remember. Use a mix of uppercase and lowercase letters, numbers, and symbols — at least 12 characters is stronger than shorter passwords. Write it down and store it somewhere find, or use a password manager like 1Password, Bitwarden, or the built-in Keychain.

Turn on FileVault encryption if it is not already on. Go to System Settings > Privacy & Security > FileVault and click Turn On. Your Mac will generate a recovery key — save this key in a password manager or write it down and store it somewhere separate from your Mac. If you ever lose access again, this key will get you back in without needing Apple Support.

Consider setting up a second admin account as a backup. If your main account ever locks you out, you can log in as the second admin and reset the first account's password from System Settings. This takes five minutes to set up and can save you hours of trouble later.

Frequently Asked Questions

Can I reset my password without restarting my Mac?

Yes, if you can still log in. Open System Settings, go to General > Users & Groups, select your account, and click Change Password. You will need to enter your current password once to verify your identity, then you can set a new one.

What if I do not have my Apple ID password either?

Use your recovery key if you saved one when you set up FileVault. If you do not have that, use Recovery Mode by holding Command and R during startup. Recovery Mode does not require any password or Apple ID — it is built into your Mac's firmware.

How long does it take to reset my password in Recovery Mode?

Recovery Mode usually takes 20 to 40 minutes total, including the time to boot, navigate to the Reset Password tool, and restart. Older Macs or those with large amounts of data may take longer. The actual password reset itself takes less than a minute.

Will resetting my password delete my files?

No. Resetting your login password does not touch your files, applications, or any data on your Mac. It only changes the code you use to log in. All your files remain exactly where they are.

What is the difference between a login password and a firmware password?

Your login password is what you type at the login screen every day. A firmware password is a separate security code that prevents anyone from booting into Recovery Mode or changing certain settings. Most Macs do not have a firmware password unless you or an administrator set one deliberately.