The fastest way back in: use your Apple ID
If you remember your Apple ID and password, you can reset your Mac login password without erasing anything or waiting for recovery mode. At the login screen, click the question mark or "Reset Password" link below the password field. Enter your Apple ID email and password, then create a new Mac login password. Your files, applications, and settings stay exactly where they are.
This method works on any Mac running macOS Big Sur or newer. You will need internet access during the reset, and your Apple ID must be the same one linked to your Mac account. If you do not see a reset link on your login screen, your Mac may be running an older version or your account was not set up with an Apple ID.
Key Takeaways
- Using your Apple ID at the login screen is the fastest reset method and does not erase your files or applications.
- Recovery mode lets you reset your password if you do not remember your Apple ID, but requires restarting your Mac and waiting for the recovery process to load.
- If you have a second administrator account on the same Mac, you can reset the forgotten password from that account without recovery mode.
- Resetting through Apple ID or a second admin account preserves all your data, but recovery mode erases your Mac unless you restore from a backup.
- You will need proof of ownership (receipt, serial number, or account recovery information) if you contact Apple Support for help.
Using a second administrator account on the same Mac
If another person on your household has an administrator account on the same Mac, they can reset your password without touching your files. Log in with their account, open System Settings, go to General, then Users & Groups (or Accounts on older Macs). Click the lock icon to unlock the settings, select your account, and click "Reset Password." You will be asked to create a new password for your account.
This method is faster than recovery mode and does not require your Apple ID. However, it only works if a second admin account exists on your Mac. If you are the only account holder or the other account is a standard user rather than an administrator, you will need to use Apple ID or recovery mode instead.
Recovery mode: when you do not remember your Apple ID
If you cannot use your Apple ID and no second admin account exists, recovery mode is your next option. Shut down your Mac completely. Turn it back on and when ready hold Command + R until you see the Apple logo or a spinning globe. Wait for the recovery window to load — this can take several minutes.
Once recovery mode opens, click Utilities in the menu bar, then Terminal. Type resetpassword and press Enter. A password reset window will open. Select your account from the dropdown, enter a new password, and click Reset Password. Restart your Mac and log in with your new password. Your files remain on your Mac, but you must have internet access for the recovery process to complete.
What happens if you do not have a backup
If you cannot remember your Apple ID, do not have a second admin account, and recovery mode does not work, you have one remaining option: erase your Mac and set it up as new. This removes everything on your drive — all files, photos, applications, and settings — and cannot be undone. You should only choose this path if you have already backed up your data to an external drive or cloud service, or if the Mac contains nothing you need to keep.
To erase and set up your Mac, restart in recovery mode (Command + R), click Utilities, then Disk Utility. Select your main drive, click Erase, and confirm. Once the drive is empty, close Disk Utility and follow the setup prompts to create a new account. You can then restore your files from a backup if you have one.
Contacting Apple Support if you are stuck
If none of these methods work — for example, if recovery mode will not load or your Apple ID account is also locked — you can contact Apple Support. They will ask you to prove you own the Mac using your serial number, original receipt, or answers to security questions tied to your Apple ID. The process usually takes one to three business days, and Apple may ask you to visit an Apple Store in person if you cannot provide proof remotely.
Have your Mac's serial number ready before you call. You can find it by restarting your Mac, holding Command + R, clicking Utilities, then System Information. Write down the serial number before contacting support. If you have the original box or receipt, have that information available as well.
Preventing this from happening again
Once you are back into your Mac, write down your password somewhere safe — a password manager, a locked drawer, or a trusted person who can help you if you forget it again. Turn on FileVault encryption in System Settings under Security & Privacy; this protects your files if your Mac is lost or stolen, and it does not interfere with password resets. Set up an additional administrator account for a family member or trusted friend, so you have a backup way to reset your password if you forget it in the future.
If you use an Apple ID, make sure you can access that email account. If you have changed your email address or no longer use the email tied to your Apple ID, update it in your Apple account settings before you forget your Mac password. The easier it is to prove you own the account, the faster you can get back in.
Frequently Asked Questions
Will resetting my password delete my files?
No, if you use your Apple ID, a second admin account, or recovery mode with Terminal. Only the erase-and-setup method deletes everything. If you are unsure which method to use, try your Apple ID first — it is the safest option and does not erase anything.
What if I do not remember my Apple ID password either?
Go to iforgot.apple.com on another device and follow the steps to reset your Apple ID password. Once you have access to your Apple ID again, you can use it to reset your Mac login password. If you cannot access the email tied to your Apple ID, you may need to contact Apple Support with proof of ownership.
Can I reset my password without restarting my Mac?
Yes, if you remember your Apple ID or have a second admin account. Both methods work from the login screen or System Settings without restarting. Recovery mode is the only method that requires a restart.
How long does recovery mode take?
Recovery mode usually takes five to fifteen minutes to load, depending on your internet speed and Mac model. The actual password reset takes less than a minute once recovery mode is open. Older Macs may take longer to load the recovery environment.
What if my Mac is encrypted with FileVault?
FileVault does not prevent password resets. You can still use your Apple ID, a second admin account, or recovery mode. FileVault only encrypts your drive; it does not lock you out of the reset process.