The fastest way depends on whether you remember your Apple ID
If you remember your Apple ID password, you can reset your Mac login password from the login screen itself — no recovery disk or second computer needed. If you do not remember your Apple ID password, you will need to reset that first through Apple's website, then use it to reset your Mac password. If you have no Apple ID at all, or if your Mac is very old, you may need to use Recovery Mode instead.
The method you use also depends on what version of macOS you are running. Newer versions (Monterey and later) handle password resets differently than older ones. You can find your macOS version by clicking the Apple menu in the top left corner and selecting "About This Mac" — but you will need to be able to log in first, which is why you are reading this.
Key Takeaways
- If you remember your Apple ID, you can reset your Mac password directly from the login screen by clicking "Forgot password?" and following the prompts.
- If you do not remember your Apple ID password, go to iforgot.apple.com on another device and reset it there first.
- Recovery Mode (Command + R during startup) lets you reset your password without an Apple ID, but the process varies by macOS version.
- If your Mac is encrypted with FileVault, you will need either your Apple ID or your FileVault recovery key to regain access.
Resetting your password using your Apple ID from the login screen
At the login screen, look for a question mark icon or a "Forgot password?" link below the password field. Click it. Your Mac will ask you to enter your Apple ID email address.
Once you enter your Apple ID, your Mac will send a verification code to the phone number or email address associated with that account. Check whichever device received the code and enter it on your Mac. After verification, you will be prompted to create a new password. Type it twice to confirm, then press Enter.
Your Mac will log you in with the new password. This method works on macOS Monterey and newer versions. If you do not see a "Forgot password?" option, your Mac is running an older version and you will need to use Recovery Mode instead.
Resetting your Apple ID password first if you have forgotten it
Go to iforgot.apple.com on any device with internet access — a phone, tablet, or another computer. Enter your Apple ID email address and click "Continue."
Apple will ask you to verify your identity. You can choose to receive a verification code by email or by answering security questions you set up when you created your account. Select whichever option you remember. Enter the code or answer the questions, then create a new Apple ID password.
Once your Apple ID password is reset, return to your locked Mac and use the method described in the previous section. You now have the credentials you need to reset your Mac login password from the login screen.
Using Recovery Mode if you cannot use your Apple ID
Shut down your Mac completely. Turn it back on and when ready hold down Command + R. Keep holding until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode.
Once Recovery Mode loads, click "Utilities" in the menu bar at the top, then select "Terminal." A black text window will open. Type resetpassword and press Enter. A password reset window will appear.
Select your Mac username from the dropdown menu, then enter a new password twice. Click "Save" and restart your Mac. You should now be able to log in with the new password.
This method works on most Intel-based Macs and some Apple Silicon Macs, but the exact steps vary. If the Terminal method does not work, restart into Recovery Mode again and look for a "Reset Password" utility in the Utilities menu instead — newer versions of macOS include this as a standalone tool.
What to do if your Mac uses FileVault encryption
FileVault is Apple's full-disk encryption. If it is turned on, you will see a message at the login screen saying your disk is encrypted. You cannot bypass FileVault with Recovery Mode alone — you will need either your Apple ID password or your FileVault recovery key.
If you have your Apple ID password, use the "Forgot password?" method from the login screen. If you do not have your Apple ID password and do not have your FileVault recovery key, you will need to contact Apple Support. Bring proof of ownership (receipt, serial number, or AppleCare agreement) to an Apple Store, or call Apple directly at 1-800-MY-APPLE.
Your FileVault recovery key is a 24-character code that Apple gave you when you first turned on FileVault. If you saved it somewhere, you can use it to reset your password without your Apple ID. Look for it in your email, in a password manager, or in a document you may have printed or saved.
Preventing this from happening again
Write down your Apple ID password and store it somewhere safe — a physical notebook in a locked drawer, or a password manager like 1Password or Bitwarden. Do not store it in a note on your Mac itself, because you will not be able to access it if you are locked out.
If your Mac uses FileVault, save your recovery key in the same place. You can find it by opening System Settings (or System Preferences on older Macs), clicking "Security & Privacy," then "FileVault." Click "Recovery Key" to view it.
Consider setting up a second admin account on your Mac as well. If you ever get locked out of your main account, you can log in with the second account and reset the first one's password from System Settings.
Frequently Asked Questions
Can I reset my password without an Apple ID?
Yes, using Recovery Mode and the Terminal or Reset Password utility. However, if your Mac has FileVault turned on, you will need either your Apple ID or your FileVault recovery key. Without one of those three things, you will need to contact Apple Support.
How long does it take to reset my password?
If you use the "Forgot password?" method from the login screen, the entire process takes about five minutes. Recovery Mode takes longer because you have to restart your Mac and navigate the utilities, but it usually completes within ten to fifteen minutes.
Will resetting my password delete my files?
No. Resetting your login password does not affect any of your files, photos, documents, or applications. Everything stays where it is. You will straightforward be able to log in with a new password.
What if I do not remember the security questions I set up for my Apple ID?
Go to iforgot.apple.com and choose the email verification option instead of security questions. Apple will send a code to the email address on your account. You can also call Apple Support at 1-800-MY-APPLE and verify your identity by other means.
Can someone else reset my password if they have physical access to my Mac?
Not easily. If FileVault is on, they cannot. If it is off, they can use Recovery Mode, but it requires restarting the Mac and knowing the Terminal command or finding the Reset Password utility. Turning on FileVault is the best protection against this.