Reset Lost Mac OS X Password: Step-by-Step
In this article
If you've forgotten your Mac's login password, you can reset it using Apple's built-in recovery tools—no third-party software needed. The exact method depends on whether your Mac uses an Intel processor or Apple Silicon (M1/M2/M3). For most modern Macs, you'll use Recovery Mode and your Apple ID. For older Intel Macs with FileVault disabled, you can use the Reset Password utility. This guide walks you through both methods, plus what to do if you're locked out entirely.
What You'll Need
- Your Mac (obviously)
- Your Apple ID and password (if you set up your Mac with one)
- If you don't have an Apple ID, you'll need a second administrator account on the Mac (or the original installation media for very old systems).
Step-by-Step
First, identify your Mac's processor type: Click the Apple menu () > About This Mac. If you see a chip like "Apple M1" or "Apple M2," it's Apple Silicon. If you see an Intel processor like "Intel Core i5," it's Intel. The steps differ slightly.
For Apple Silicon Macs (M1/M2/M3) and Intel Macs with FileVault enabled
- Shut down your Mac. If it's already on, choose Apple menu > Shut Down.
- Press and hold the power button (on Apple Silicon) or the Command+R keys (on Intel) while turning on the Mac. On Apple Silicon, keep holding until you see "Loading startup options"—then click Options and press Continue. On Intel, release Command+R when the Apple logo appears.
- Wait for Recovery Mode to load. This may take a minute. You'll see a window with utilities like "Restore from Time Machine Backup" and "Reinstall macOS."
- Select your user account. In the menu bar at the top, click "Utilities" > "Terminal". (If you don't see Terminal, look for "Reset Password" in the utilities window—if you see that, skip to step 7.)
- Type
resetpassword(all lowercase, no spaces) and press Enter. The Reset Password assistant will open. - Follow the on-screen prompts. If your Mac is linked to your Apple ID, you'll be asked to enter that Apple ID and password. This verifies you're the owner.
- Choose the user account whose password you forgot from the drop-down list.
- Enter a new password twice, and add a password hint (optional but helpful).
- Click "Next" or "Save" to apply the change.
- Restart your Mac. Go to Apple menu > Restart, then log in with the new password.
For Intel Macs with FileVault disabled (older method)
- Restart your Mac and hold Command+R immediately after the startup chime.
- Wait for macOS Utilities to appear. Click "Utilities" > "Terminal" from the menu bar.
- Type
resetpasswordand press Enter. This launches the Reset Password utility directly (no Apple ID required). - Select your startup disk (usually "Macintosh HD") and then select the user account.
- Enter a new password and hint, then click Save.
- Quit Terminal (Command+Q) and restart your Mac.
Note: The exact wording of menus and buttons may vary slightly depending on your macOS version (Catalina, Big Sur, Monterey, Ventura, Sonoma, etc.), but the core steps are the same.
Common Mistakes
- Holding the wrong keys. On Apple Silicon, you must hold the power button until you see "Loading startup options"—not Command+R. On Intel, you must press Command+R immediately after the chime, not before.
- Typing
resetpasswordincorrectly. It's one word, all lowercase, no spaces. Common typos: "reset password" (with a space) or "ResetPassword" (capital letters) won't work. - Choosing the wrong user account. Make sure you select the exact account you're locked out of, not a different user.
- Forgetting your Apple ID password. If your Mac asks for your Apple ID and you don't know that password, you'll need to recover it separately at iforgot.apple.com before proceeding.
- Assuming the old password is still valid. After a reset, the old password is gone permanently. You must use the new one.
Tips
- Write down your new password somewhere safe, or use a password manager. You'll need it every time you log in.
- Set a password hint that's actually helpful—something only you would understand.
- If you have FileVault enabled (disk encryption), you may also need to enter your recovery key during the reset process. Keep that key in a safe place.
- Consider enabling "Allow reset password using Apple ID" in System Settings > Users & Groups (or System Preferences) for future convenience. This lets you reset your password from the login screen directly.
- If you have a second administrator account, you can use that to reset your forgotten password without Recovery Mode: log in with the other admin, go to System Settings > Users & Groups, select the user, and click Reset Password.
Troubleshooting
If the Reset Password utility doesn't appear:
- Make sure you're in Recovery Mode correctly. On Apple Silicon, go to System Settings > General > Startup Disk and click "Restart in Recovery" if the power-button method isn't working.
- On Intel, try Command+Option+R (internet recovery) or Shift+Command+R (recovery without internet). These load a different version of Recovery that may include the utility.
- If you still don't see it, your Mac may be too old (pre-2010) or the recovery partition may be damaged. In that case, you'll need to reinstall macOS from a bootable installer—that will give you access to the Reset Password utility during installation.
If you're asked for an Apple ID and you don't remember it:
- Go to iforgot.apple.com on any device to recover your Apple ID or reset its password. You'll need access to the email or phone number associated with the account.
- If you can't recover the Apple ID, and you have no other admin account, you may need to erase the Mac and reinstall macOS. That will remove all data, so back up if possible.
If the new password isn't accepted after reset:
- Restart the Mac again and try logging in. Sometimes the system needs a fresh start.
- Double-check that you selected the correct user account during the reset.
- If you have FileVault enabled, the login screen may still show the old password prompt until you unlock the disk with the recovery key. Use the recovery key first, then the new password.
If you're completely locked out and nothing works:
- You may need to erase your Mac and reinstall macOS. This is a last resort because it deletes all data. To do this, boot into Recovery Mode, choose "Disk Utility," erase the startup disk (APFS or Mac OS Extended), then quit Disk Utility and choose "Reinstall macOS." After installation, set up as new or restore from a Time Machine backup.
Frequently Asked Questions
Can I reset my Mac password without an Apple ID?
Yes, if your Mac is an Intel model with FileVault disabled, you can use the resetpassword utility in Recovery Mode without an Apple ID. On Apple Silicon or with FileVault enabled, you'll typically need your Apple ID.
Will resetting my password delete my files?
No, resetting the login password does not delete any files. It only changes the password used to log in. Your documents, apps, and settings remain intact.
What if I forgot my Apple ID password too?
You can recover your Apple ID password at iforgot.apple.com using your email or phone number. If you can't, you may need to erase the Mac and set it up as new, which will delete all data.
Can I reset a password from the login screen?
If you've enabled "Allow reset password using Apple ID," you can click the ? (question mark) on the login screen and follow the prompts. Otherwise, you'll need Recovery Mode.
Does this work on all macOS versions?
The Recovery Mode method works on macOS Lion (10.7) and later. The exact steps are similar but the interface may look different. For very old versions (pre-Lion), you'd need the original installation disc.
What if I have multiple user accounts?
You can reset any user's password from Recovery Mode. If you have another admin account, you can also reset the password from System Settings > Users & Groups.