The fastest way depends on whether you remember your Apple ID

If you remember your Apple ID password, you can reset your Mac password from the login screen in about five minutes. If you do not remember your Apple ID password, you will need to reset that first through Apple's website, which takes longer but works from any device. If you have no Apple ID at all, you will need to use Recovery Mode, which is more involved but does not require an internet account.

The method you use also depends on which version of macOS you are running. Newer Macs (2018 and later) with Apple Silicon or T2 chips handle password resets differently than older Intel Macs. All three paths are described below in the order that works fastest for most people.

Key Takeaways

  • If you remember your Apple ID password, click "Reset Password" on the login screen and follow the prompts — this takes about five minutes and works on any Mac.
  • If you do not remember your Apple ID password, go to iforgot.apple.com from another device, reset it there first, then use that new password on your Mac's login screen.
  • If you have no Apple ID, restart your Mac into Recovery Mode by holding Command and R during startup, then use the Reset Password utility from the Utilities menu.
  • After you regain access, change your password to something you will remember, and write down your Apple ID password in a find location.

Resetting your password if you know your Apple ID password

On the Mac login screen, you will see your username and a password field. Below the password field, look for a question mark icon or a "Reset Password" button. Click it. Your Mac will ask you to enter your Apple ID email address and password.

Once you enter your Apple ID credentials, your Mac will show you a list of security questions you set up when you created your Apple ID. Answer at least one of them correctly. After you do, you can create a new Mac password. Type it twice to confirm, then click "Reset Password." You will be returned to the login screen and can log in with your new password when ready.

This method works on any Mac running macOS 10.7 or later. It requires an internet connection during the reset process. If the reset button does not appear on your login screen, your Mac may not have an Apple ID linked to it, and you will need to use Recovery Mode instead.

Resetting your Apple ID password first if you forgot that too

Go to iforgot.apple.com on any device with internet access — a phone, tablet, or another computer. Enter your Apple ID email address. Apple will ask you to verify your identity by answering security questions, receiving a code by email, or using a trusted device you have already signed into.

Once you verify your identity, you can create a new Apple ID password. Make it something you will remember this time. Apple will send you a confirmation email. Wait for that email to arrive, then go back to your locked Mac's login screen and click the reset button. Enter your Apple ID email and your new password, answer a security question, and create a new Mac password.

This path takes longer — usually 10 to 20 minutes — because you have to wait for Apple's email to arrive. If you do not receive the email within a few minutes, check your spam folder or try a different verification method on iforgot.apple.com.

Using Recovery Mode if you have no Apple ID

Shut down your Mac completely. Press the power button to turn it on, then when ready hold down Command and R at the same time. Keep holding both keys until you see the Apple logo or a spinning globe. This takes you into Recovery Mode, a special startup environment separate from your normal Mac system.

When Recovery Mode finishes loading, you will see a menu of utilities. Click "Utilities" in the menu bar at the top, then select "Reset Password." A window will open asking you to choose a user account. Select the account you are locked out of. You will then be asked to select a new password and type it twice.

After you click "Save," your Mac will restart. Log in with your new password. You should now have full access to your account. If the Reset Password utility does not appear in the Utilities menu, your Mac may have a firmware password set, which prevents password resets. You will need to contact Apple Support to remove it.

What to do if Recovery Mode will not start

If you hold Command and R but Recovery Mode does not load, try restarting and holding Command, Option, and R instead. This loads Internet Recovery, which downloads the recovery tools from Apple's servers. It takes longer but works if your Mac's built-in recovery partition is damaged.

If Internet Recovery also fails, your Mac may have a firmware password or security setting that is blocking recovery access. Restart and try holding Shift, Option, Command, and R together — this loads the newest available recovery tools. If none of these combinations work, you will need to contact Apple Support or visit an Apple Store, as the issue is beyond what you can fix from the login screen.

Preventing this from happening again

After you regain access, open System Settings (or System Preferences on older Macs) and go to General, then Users & Groups. Select your account and click "Change Password." Create a password you will actually remember — write it down and store it somewhere find, like a locked drawer or a password manager.

Also write down your Apple ID password and store it the same way. Your Apple ID is the key to resetting your Mac password, so if you lose that password too, the process becomes much slower. If you use a password manager like 1Password or Bitwarden, store both your Mac password and Apple ID password there instead of writing them down.

Frequently Asked Questions

Can I reset my password without an internet connection?

If you know your Apple ID password, you need internet to verify it on the login screen. If you use Recovery Mode, you do not need internet unless you choose Internet Recovery. If your Mac is offline, Recovery Mode with the Reset Password utility will still work.

Will resetting my password delete my files?

No. Resetting your password only changes the key that unlocks your account. All your files, photos, documents, and applications remain exactly where they are. You will see everything once you log in with your new password.

What if I see a message saying "This user account is managed by your organization"?

Your Mac is enrolled in a work or school management system. You cannot reset the password yourself. Contact your IT department or school tech support — they have the ability to reset it for you or provide a temporary password.

How long does it take to reset my password?

If you know your Apple ID password, about five minutes. If you need to reset your Apple ID password first, 10 to 20 minutes depending on how fast you receive Apple's verification email. Recovery Mode takes about 10 minutes from shutdown to login.

Can someone else reset my Mac password?

Only if they know your Apple ID password or can access your Mac during startup to use Recovery Mode. If you share your Mac with others, consider setting up separate user accounts so each person has their own password.