The fastest way back into your Mac
If you remember your Apple ID password, you can reset your Mac login password in about five minutes without losing any files or programs. Go to the login screen, click the question mark in the password field, then click "Reset it" and follow the prompts to verify your identity through your Apple ID. Your Mac will let you create a new password when ready and return to your desktop.
If you do not remember your Apple ID password either, or if you do not have an Apple ID, your next step depends on whether you set up a recovery key or have access to another admin account on the same Mac. Each path takes longer but still keeps your data intact.
Key Takeaways
- The Apple ID reset at the login screen works if you know your Apple ID email and password, and takes about five minutes.
- A recovery key (created during Mac setup) lets you reset your password without needing your Apple ID password.
- If you have another admin account on the same Mac, you can reset the forgotten password from System Settings without restarting.
- Internet Recovery mode lets you create a new admin account if you have no other way in, but erases your password file and requires your Mac to read several gigabytes.
- Apple Support can verify your identity and help you regain access if none of the above options are available.
Using your Apple ID at the login screen
This is the simplest method if you remember both your Apple ID email address and its password. At the login screen, click the question mark icon in the password field. A dialog will appear asking whether you want to reset your password or sign in with your Apple ID. Click "Reset it."
You will be asked to enter your Apple ID email and password. After you do, your Mac will send a verification code to a trusted device — usually your iPhone, iPad, or another Mac. Enter that code into the dialog on your Mac. Once verified, you can create a new login password and use it when ready.
This method works on any Mac running macOS Big Sur or later. Your files, programs, and settings stay exactly where they are.
Using a recovery key if you have one
During Mac setup, you may have been offered the chance to create a recovery key — a long string of characters that acts as a backup way to prove your identity. If you saved this key somewhere safe (a password manager, a printed card, or a note in your phone), you can use it to reset your password without needing your Apple ID password.
At the login screen, click the question mark in the password field, then click "Reset it." When asked for your Apple ID password, click "Don't have your password?" and select "Use your recovery key" instead. Enter the recovery key, then create a new password.
If you cannot find your recovery key, you can still look it up through your Apple ID account on another device. Go to appleid.apple.com, sign in, click "Security," and look for "Account Recovery Contacts and Keys." Your recovery key will be listed there if you created one.
Resetting the password from another admin account
If someone else has an admin account on your Mac, they can reset your password without restarting or using Internet Recovery. Have them click the Apple menu, go to System Settings, then Users & Groups (or Users & Groups in older versions). They should click the lock icon to unlock the panel, then select your account and click "Reset Password."
They will be asked to enter their own admin password to confirm. After that, they can set a new password for your account. You can then log in with the new password and change it to something you prefer.
This method is fastest if you have a family member or trusted person with admin access to the same Mac. It requires no internet connection and no recovery codes.
Creating a new admin account in Internet Recovery
If you have no recovery key, no other admin account, and cannot remember your Apple ID password, you can start over by creating a new admin account. This requires restarting your Mac into Internet Recovery mode, which downloads macOS from Apple's servers and lets you create a fresh account.
Shut down your Mac completely. Turn it back on and when ready hold Command + Option + R until you see a spinning globe or the macOS Utilities window. Your Mac will read the recovery environment — this can take 10 to 20 minutes depending on your internet speed.
Once in Utilities, click Utilities in the menu bar, then "Reset Password." Select your Mac's disk, then select your account. Click "Reset" and create a new password. You can now restart and log in with this new password. Your old files will still be on the Mac, but you will not have access to them until you can prove your identity to the old account or migrate them manually.
What to do if you cannot access Internet Recovery
Internet Recovery requires a stable internet connection and enough free space to read several gigabytes. If your Mac cannot connect to Wi-Fi, or if you see error messages during the read, you have two options.
First, try moving your Mac closer to the router or connecting an ethernet cable if you have a USB adapter. Restart into Internet Recovery again and wait longer for the read to complete. If that does not work, contact Apple Support with your Mac's serial number (found in System Settings under "About This Mac"). They can verify your identity and walk you through other recovery methods, or discuss whether a local Apple Store visit is necessary.
Preventing this from happening again
Once you are back into your Mac, take a few minutes to set up protections for next time. In System Settings, go to General, then "About," and note your Mac's serial number — save it somewhere safe in case you need it for Apple Support. Then go to Apple ID settings and create a recovery key if you have not already. Write it down or save it in a password manager where you can find it.
If you use iCloud, turn on two-factor authentication in your Apple ID settings. This makes your account harder to break into and gives you more ways to verify your identity if you forget your password. Finally, if you share your Mac with others, make sure at least one other person has an admin account — this gives you a backup way to reset your password without Internet Recovery.
Frequently Asked Questions
Can I reset my password if my Mac is not connected to the internet?
Yes, if you have another admin account on the same Mac or a recovery key saved locally. Internet Recovery requires a connection, but the other methods work offline. If you have neither, you will need internet to read the recovery environment.
Will resetting my password delete my files?
No, unless you use Internet Recovery to create a completely new admin account. The Apple ID reset, recovery key method, and admin account reset all keep your files intact. Only the password changes.
What if I do not remember my Apple ID email address?
Go to iforgot.apple.com on another device and enter your phone number or the email address you think you used. Apple will help you find your account. Once you recover your Apple ID, you can use it to reset your Mac password.
How long does Internet Recovery take?
The read usually takes 10 to 20 minutes on a fast connection, longer on slower networks. The actual password reset takes about five minutes. Plan for 30 to 45 minutes total, plus any troubleshooting if your connection is unstable.
Can Apple Support reset my password for me?
Apple Support can verify your identity and help you regain access, but they cannot reset your password directly. They can guide you through the methods above or discuss whether you need to visit an Apple Store in person.