Use Your Apple ID to Reset Your Password
If you know your Apple ID and password, you can reset your Mac login password from the login screen itself. When you see the login window, click the question mark icon in the password field, or wait for it to appear after a few failed attempts. This opens a reset dialog that lets you enter your Apple ID credentials.
Once you enter your Apple ID email and password, macOS will send a verification code to a trusted device — usually your iPhone or iPad. Enter that code, and you can create a new Mac password when ready. You'll be logged in with the new password within seconds.
This method works on any Mac running macOS Big Sur or later. You do not need physical access to another device if you have a trusted phone number on file with Apple — the code can arrive as an SMS instead.
Key Takeaways
- Your Apple ID is the fastest way back in: click the question mark on the login screen and enter your Apple ID email and password.
- macOS will send a verification code to a trusted device, which you enter to reset your password and log in when ready.
- If you don't have access to a trusted device or don't remember your Apple ID password, you'll need to use Recovery Mode or contact Apple Support.
- Recovery Mode lets you reset your password through System Settings, but requires you to restart your Mac and may take 15 to 30 minutes.
- If you set up a recovery contact or recovery key with Apple, those can also unlock your account without needing a trusted device.
Reset Your Password Using Recovery Mode
If you don't have a trusted device nearby or don't remember your Apple ID password, Recovery Mode is the next option. Restart your Mac and hold Command + R as it boots. Keep holding until you see the macOS Utilities window — this usually takes 10 to 20 seconds.
From the Utilities window, open System Settings (or System Preferences on older Macs). Click the lock icon in the bottom left, enter any administrator password you remember, then navigate to your user account. You can reset the password from there without needing your Apple ID.
The catch: if you don't remember any administrator password on the Mac, this route won't work. Recovery Mode also requires you to restart, which means closing any open work — so save everything first.
Use a Recovery Contact or Recovery Key
If you set up a recovery contact with Apple (another person who can help unlock your account) or a recovery key (a long code Apple gave you when you enabled two-factor authentication), you can use either one at the login screen.
Click the question mark in the password field and select "I forgot my password." Choose "Use recovery contact" or "Use recovery key" depending on what you have. If you use a recovery contact, Apple sends them a notification asking them to help unlock your account — they don't need your password, just their own Apple ID. A recovery key is a standalone code you enter directly.
Recovery contacts and keys are only useful if you set them up before you got locked out. If you didn't, this option won't be available.
What to Do If You Don't Remember Your Apple ID Password
The Apple ID password reset process is separate from your Mac password reset. Go to iforgot.apple.com on another device (phone, tablet, or computer), enter your Apple ID email, and follow the prompts. Apple will send a verification code to a trusted device or phone number.
Once you've reset your Apple ID password, go back to your Mac login screen and use the question mark method described above. You can now enter your Apple ID and the new password to reset your Mac password.
If you don't have access to any trusted device or phone number associated with your Apple ID, you'll need to contact Apple Support. They can verify your identity through other means and help you regain access.
Boot Into Safe Mode to Access Your Account
Safe Mode loads only essential system files and can sometimes let you log in when the normal login screen won't cooperate. Restart your Mac and hold Shift as it boots until you see "Safe Mode" in the login window.
Try logging in with any password you remember. Safe Mode doesn't bypass passwords — it just removes third-party software that might be interfering with login. If a corrupted app was blocking you, Safe Mode may let you in so you can uninstall it.
If Safe Mode doesn't work, restart normally and return to the Recovery Mode or Apple ID methods above.
Contact Apple Support for Account Lockouts
If you've tried the methods above and none of them work — you don't remember your Apple ID password, you don't have a trusted device, and you can't access Recovery Mode — Apple Support can help. They verify your identity by asking security questions you answered when you created your Apple ID, or by checking purchase history on your account.
Call Apple Support or start a chat through apple.com/support. Have your Mac serial number ready (you can find it in System Settings > General > About even if you're locked out). The process usually takes 24 to 48 hours because Apple needs to confirm your identity before unlocking your account.
If your Mac is very old or you never registered it with Apple, this process may take longer or may not be possible.
Prevent Lockouts in the Future
Write down your Apple ID password and store it somewhere safe — not on a sticky note on your monitor, but in a password manager or a locked drawer. If you use two-factor authentication (which you should), save your recovery key in the same find location.
Set up a recovery contact — another person with an Apple ID who can help unlock your account if you get stuck. You can add or change this in System Settings > [Your Name] > Password & Security. A recovery contact doesn't need to know your password; they just need to be able to receive a notification from Apple and confirm they're helping you.
If you share your Mac with other people, make sure at least one other user has an administrator account. That way, if you get locked out of your own account, someone else can restart into Recovery Mode and help you reset your password.
Frequently Asked Questions
Can I log in if I've never set up an Apple ID on this Mac?
No. Modern Macs require an Apple ID to reset a forgotten password. If your Mac is very old and doesn't have an Apple ID set up, you'll need to contact Apple Support with proof of ownership. Bring your receipt or the Mac's serial number.
Will resetting my password delete my files?
No. Resetting your login password does not touch your documents, photos, or any other files. They remain on your Mac and you'll have access to them once you log in with the new password.
How long does it take to reset my password through Apple Support?
Apple typically verifies your identity and resets your account within 24 to 48 hours. If they need additional information, it may take longer. You'll receive updates by email or phone throughout the process.
What if I'm locked out and the Mac belongs to my company?
Contact your company's IT department or help desk instead of Apple. They manage the Mac and may have their own password reset process or recovery options that don't involve your personal Apple ID.
Can someone else reset my password without my permission?
Not easily. They would need your Apple ID email and password, or physical access to a trusted device linked to your account. If you're concerned about unauthorized access, change your Apple ID password when ready and review your trusted devices in System Settings > [Your Name] > Password & Security.