How to reset the Mac login password when you've forgotten it
Summary
This guide helps you troubleshoot and resolve: How to reset the Mac login password when you've forgotten it. Follow the steps below to fix the issue.
Common Causes
If you've forgotten your Mac login password, your files are still safe and Apple provides built-in recovery tools to help you regain access. This guide walks you through resetting both a standard user password and an admin password using Recovery Mode and your Apple ID.
Small-business note: If this Mac is company-managed or bound to a Mobile Device Management (MDM) solution, password resets may need to be handled by your IT administrator. Before attempting any of the methods below, check with your administrator or Open a Ticket for assistance.
Before You Start
Confirm the following before beginning the reset process:
- Ensure your Mac is plugged into power or has a full battery.
- Confirm you know the email address and password for your Apple ID.
- If FileVault encryption is enabled, you will need your Apple ID or FileVault recovery key to unlock the disk at startup.
- Have a second device available in case you need to look up account details or reset your Apple ID password.
Method 1: Reset Using Your Apple ID
This is the quickest method if your user account is linked to an Apple ID and you are running macOS Catalina (10.15) or later.
Step-by-Step Instructions
- On the login screen, click the ? icon next to the password field, or wait for a message that says "reset it using your Apple ID" after a failed login attempt.
- Click the arrow next to "reset it using your Apple ID" or the equivalent prompt.
- Enter your Apple ID email address and password, then follow the on-screen prompts.
- Choose a new password when prompted, and add a hint if desired.
- Click Reset Password, then log in with your new credentials.
Method 2: Reset Using Recovery Mode
Use this method if you cannot use your Apple ID, or if your Mac runs an older version of macOS.
Step-by-Step Instructions
- Click the Apple menu in the top-left corner and choose Shut Down. Wait for your Mac to fully power off.
- Turn your Mac back on and immediately hold the appropriate key combination:
- Intel-based Macs: Hold
Command (⌘) + R - Apple Silicon Macs (M1, M2, M3, M4): Press and hold the power button until "Loading startup options" appears.
- Intel-based Macs: Hold
- From the Utilities menu in the macOS Recovery window, select Terminal.
- Type
resetpasswordand pressReturn. - The Reset Password assistant will open. Select the user account you want to reset. You may need to unlock the disk first using your Apple ID or FileVault recovery key.
- Enter a new password, add a password hint, then click Next.
- Click Restart when prompted. Your Mac will reboot and you can log in with the new password.
Method 3: Reset Using Another Admin Account
If your Mac has more than one administrator account and you can log in to another one, you can reset the password from there.
Step-by-Step Instructions
- Log in to a separate administrator account on the same Mac.
- Open System Settings. On older macOS versions, open System Preferences instead.
- On macOS Ventura, Sonoma, Sequoia, and later, navigate to System Settings > Users & Groups. Click the information () button next to the user account you need to reset, then click Change next to Password.
- On older macOS versions, navigate to System Preferences > Users & Groups, click the lock icon in the bottom-left, and authenticate with the other admin's password.
- Select the account you need to reset, then click Reset Password or right-click the user and choose Reset Password.
- Enter a new password and hint, then click Change Password.
Troubleshooting
The Apple ID Reset Option Doesn't Appear
This usually means the account isn't linked to an Apple ID, or you're running an older version of macOS. Try Method 2 (Recovery Mode) instead.
You've Forgotten Your Apple ID Password
If you do not know your Apple ID password, go to iforgot.apple.com on another device to recover or reset it. If the Mac is company-managed, contact your IT administrator or Open a Ticket for assistance.
You're Prompted for a FileVault Recovery Key
If FileVault is enabled, you'll need to enter the recovery key before you can reset any password. You can retrieve this key by signing in to icloud.com/find with your Apple ID, selecting the relevant device, and choosing the option to retrieve the recovery key. Alternatively, check with your IT administrator if the device is company-managed.
Recovery Mode Won't Load
If your Mac doesn't enter Recovery Mode, try the following:
- Ensure you're holding the keys immediately after pressing the power button.
- For Intel Macs, try
Command (⌘) + Option + RorCommand (⌘) + Option + Shift + Rto boot into internet recovery. - Disconnect any external devices that might interfere with the boot process.
Your New Password Isn't Accepted
Make sure your new password meets the minimum length requirement and that Caps Lock isn't enabled. Try resetting again, and avoid using a password you've recently used for the same account.
No Admin Account and No Apple ID Available
If no admin account and no Apple ID are available, a new admin account can sometimes be created via Recovery Mode using the resetpassword tool or by deleting the AppleSetupDone file. However, this is an advanced procedure and professional assistance is recommended. Open a Ticket if you need help.
Still Having Issues?
💻 Open a Ticket