The fastest way: use your Apple ID instead
When you reach the Mac login screen, you can enter your Apple ID and password instead of your local account name and password. This works on any Mac running macOS 10.13 or later. Type your full Apple ID (usually an email address) in the username field, then your Apple ID password — not your Mac password — and press Enter.
Your Mac will authenticate against Apple's servers and let you in. This is the most straightforward path if you remember your Apple ID but not your Mac password. You do not need to set anything up in advance; it works when ready on any Mac connected to the internet.
The catch: your Mac must be connected to Wi-Fi or ethernet, and Apple's servers must be reachable. If you are offline or Apple's authentication service is down, this method will not work.
Key Takeaways
- You can log in with your Apple ID and password at the Mac login screen without knowing your local account password.
- Your Mac must be connected to the internet for Apple ID login to work.
- If you have set up Touch ID or Face ID, you can use those instead of typing a password at all.
- Recovery mode lets you reset your Mac password through System Settings without logging in first.
- If you have a second admin account on the same Mac, you can use it to reset the password on your main account.
Using Touch ID or Face ID to skip the password entirely
If your Mac has a Touch ID sensor (built into the power button on newer MacBook Pro and MacBook Air models) or a camera for Face ID, you can authenticate without typing anything. At the login screen, place your finger on the Touch ID sensor or look at the camera for Face ID, and your Mac will unlock.
This only works if you set up Touch ID or Face ID before you forgot your password. If you have already locked yourself out, you cannot set it up from the login screen. But if it is already active, it is the fastest way in — faster than typing an Apple ID password.
Resetting your password through Recovery Mode
If you do not remember your Apple ID password either, or your Mac is offline, you can reset your Mac password using Recovery Mode. Restart your Mac and hold Command + R as it boots. Keep holding until you see the Apple logo or a spinning globe. This takes you into Recovery Mode, where you can access System Settings without logging in.
Once in Recovery Mode, click Utilities in the menu bar, then select Terminal. Type resetpassword and press Enter. A window will open where you can select your account and create a new password. After you set the new password, restart your Mac normally and log in with the new password you just created.
This method works offline and does not require you to remember any existing password. The trade-off is that it takes longer than the other methods and requires you to restart your Mac and navigate Recovery Mode.
Using a second admin account to reset the main account password
If another person on your Mac has an admin account, they can reset your password without Recovery Mode. Have them log in with their account, then open System Settings and click General, then Users & Groups (or Users & Groups in older macOS versions). They should select your account from the list on the left, click the lock icon to unlock it with their password, then click Reset Password.
They can set a temporary password for you, which you then change to something you will remember after you log in. This is faster than Recovery Mode if another admin is available and willing to help.
What to do if you do not remember your Apple ID password either
If you cannot remember your Apple ID password and do not have access to Recovery Mode or another admin account, you will need to reset your Apple ID password through Apple's website. Go to iforgot.apple.com on another device or computer, enter your Apple ID email, and follow Apple's steps to verify your identity and set a new password.
Once you have a new Apple ID password, return to your Mac, restart it, and use the Apple ID login method described at the top of this article. This path takes the longest because it requires leaving your Mac and using another device, but it works when all other methods are blocked.
Why your Mac might not accept your Apple ID at login
Sometimes the login screen will not accept an Apple ID even though you typed it correctly. The most common reason is that your Mac is offline — Apple ID login requires an internet connection to verify your credentials with Apple's servers. Connect to Wi-Fi and try again.
Another reason is that your Apple ID has two-factor authentication turned on. If it does, you will see a prompt asking for a verification code. Check your iPhone, iPad, or another trusted device for the code, enter it on your Mac, and you will be let in. This is a security feature and works as intended.
If you see an error message saying your Apple ID or password is wrong, double-check that you are typing your full Apple ID (usually an email address) and your Apple ID password, not your Mac password. These are two different passwords.
Preventing this problem in the future
Once you are back in your Mac, set up Touch ID or Face ID if your Mac supports it. This removes the need to remember a password at all for everyday login. Go to System Settings, click Touch ID or Face ID, and follow the prompts to register your fingerprint or face.
You should also write down your Apple ID password and store it somewhere safe — not on your Mac. If you ever forget your Mac password again, your Apple ID password is your fastest way back in. Consider using a password manager like iCloud Keychain to store both your Apple ID password and your Mac password securely.
Frequently Asked Questions
Can I log in with my Apple ID if my Mac is offline?
No. Apple ID login requires your Mac to connect to Apple's servers to verify your credentials. If you are offline, use Recovery Mode to reset your Mac password instead, or connect to the internet and try again.
What is the difference between my Apple ID password and my Mac password?
Your Apple ID password is the password you use to sign in to iCloud, the App Store, and other Apple services. Your Mac password is the password you use to log in to your specific Mac computer. They are separate and can be different. At the login screen, you can use either one.
Will resetting my password in Recovery Mode erase my files?
No. Resetting your password through Recovery Mode only changes your login password. All your files, applications, and settings remain exactly as they were. You will not lose anything.
What if I see a message saying I need to update my password?
This usually means your Mac password has expired or your account requires a password change for security reasons. Use Recovery Mode to set a new password, or log in with your Apple ID if you remember it. After you are in, you can change your Mac password to something you prefer.
Can someone else reset my Mac password without my permission?
Only if they have physical access to your Mac and know the password of another admin account on it. If you are concerned about security, enable FileVault encryption in System Settings under Security & Privacy. This prevents password resets without the original password.