The fastest way depends on whether you remember your Apple ID
If you know your Apple ID email and password, you can reset your Mac login password in about five minutes without erasing anything. If you do not remember your Apple ID, the process takes longer and may require proof of identity. Either way, you will need physical access to the Mac and a second device — a phone, tablet, or another computer — to receive a verification code.
The method also depends on which version of macOS your Mac runs. Macs running macOS Monterey or newer (released in 2021 or later) have the fastest reset path. Older systems require a different approach. You can find your macOS version by clicking the Apple menu in the top left corner, selecting "About This Mac", and looking at the version number.
Key Takeaways
- If you remember your Apple ID, you can reset your password through the login screen without erasing your Mac or losing files.
- You will need a second device to receive a verification code from Apple, which is required to confirm your identity.
- On Monterey and newer, the reset takes about five minutes; on older systems, you may need to use Recovery Mode or contact Apple Support.
- If you do not remember your Apple ID, you will need to verify your identity through Apple's account recovery process, which can take several days.
- Resetting your password does not erase your files, photos, or installed programs — it only changes your login credentials.
Reset using your Apple ID on the login screen
On the Mac login screen, look for a question mark icon or a "Reset Password" option below the password field. Click it. The Mac will ask for your Apple ID email address. Type it in and click the arrow or Next button.
Apple will send a verification code to a phone number or email address associated with your Apple ID. Open the second device you have available — your iPhone, iPad, or another computer — and find the code in your email or text messages. It is usually a six-digit number. Type this code into the Mac when prompted.
After the code is accepted, you will be asked to create a new password. Make it at least eight characters long and include a mix of uppercase letters, lowercase letters, numbers, and symbols if possible. Write it down somewhere safe before you click Continue. Once you confirm the new password, you can log in to your Mac.
Use Recovery Mode if the login screen option does not appear
If you do not see a password reset option on the login screen, your Mac may be running an older version of macOS or the feature may be disabled. Restart your Mac and hold down Command and R at the same time as soon as you see the Apple logo. Keep holding until you see "macOS Utilities" or a spinning globe.
From the Utilities menu, click "Reset Password" (or "Utilities" then "Reset Password" depending on your macOS version). Select your Mac's hard drive from the list, then select your user account. Click the Reset button and follow the prompts to create a new password using your Apple ID, just as you would on the login screen.
If Recovery Mode does not open or you cannot find the Reset Password option, your Mac may need to be taken to an Apple Store or authorized service provider. Bring a photo ID and proof of purchase if you have it.
What to do if you do not remember your Apple ID
Go to iforgot.apple.com on any web browser. Enter the email address you think is associated with your Apple ID, or click "Forgot your Apple ID?" to search by phone number or name. Apple will ask you to verify your identity by answering security questions you set up when you created the account, or by receiving a code on a trusted device.
If you cannot answer the security questions and do not have access to a trusted device, Apple will ask you to verify your identity another way — usually by providing the phone number or email address on file, or by waiting a set number of days for the account to unlock. This process can take three to five business days.
Once you have regained access to your Apple ID, return to your Mac and follow the password reset steps above. Do not restart your Mac or turn it off during this process.
Resetting your password does not erase your files
A password reset changes only your login credentials. Your files, photos, documents, installed programs, and settings all remain on your Mac exactly as they were. You will not lose anything by resetting your password through Apple ID or Recovery Mode.
The only time data is erased is if you choose to erase your Mac as part of the recovery process — and the system will ask you to confirm this choice multiple times before it happens. If you are straightforward resetting a forgotten password, do not select any erase or format options.
What happens if you cannot use Apple ID recovery
If you do not have access to your Apple ID, cannot verify your identity through Apple's process, and do not see a password reset option on your login screen or in Recovery Mode, your Mac will need to be erased and set up fresh. This is a last resort and will remove all files, programs, and settings from the Mac.
Before erasing, contact Apple Support at support.apple.com or visit an Apple Store. Bring proof of ownership — your receipt, order confirmation email, or the original box with a serial number. Apple can sometimes unlock your Mac without erasing it if you can prove you own the device.
Prevent this from happening again
Write your password down and store it somewhere find — a locked drawer, a safe, 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 read it if you forget your password.
Make sure you know your Apple ID email address and have access to the phone number or email address linked to that account. Test this by going to iforgot.apple.com and confirming you can receive a verification code. Set up security questions on your Apple ID account at appleid.apple.com so you have a backup way to verify your identity if you lose access to your trusted devices.
Frequently Asked Questions
Will resetting my password delete my files or programs?
No. Resetting your login password changes only the credentials you use to log in. All your files, photos, documents, and installed programs stay on your Mac. The only way data is erased is if you choose to erase your Mac during the recovery process, which requires multiple confirmations.
How long does it take to reset my password?
If you remember your Apple ID, the reset usually takes five to ten minutes. You need to receive a verification code on a second device, so make sure you have your phone or another computer nearby. If you do not remember your Apple ID, the process can take three to five business days because Apple needs to verify your identity.
Can I reset my password without an Apple ID?
On newer Macs (Monterey and later), you need an Apple ID to reset your password through the standard process. On older systems, you may be able to use Recovery Mode without an Apple ID, but this is less common. If you cannot use either method, contact Apple Support or visit an Apple Store with proof of ownership.
What if I do not have a second device to receive the verification code?
You can use any device with internet access — a friend's phone, a library computer, or a tablet. The code is sent to an email address or phone number on file with your Apple ID, so you just need to access that email or phone to retrieve it. If you do not have access to either, contact Apple Support to verify your identity another way.
Can someone else reset my password without my permission?
No. Resetting your password requires either your Apple ID credentials or physical access to your Mac plus the ability to receive a verification code on a device registered to your Apple ID. If someone has your Apple ID password, change it when ready at appleid.apple.com and enable two-factor authentication.