Use Your Apple ID to reset your password from the login screen

If you see the login screen and do not remember your password, click the question mark icon or wait for it to appear after a few failed attempts. This opens a hint field — but more importantly, it reveals a "Reset Password" button below the password field. Click it, and macOS will walk you through resetting your password using your Apple ID.

You will need to enter the Apple ID email address and password associated with your Mac. If you have two-factor authentication turned on for that Apple ID, you will receive a verification code on another device — your iPhone, iPad, or another Mac. Enter that code, create a new Mac password, and you can log in when ready.

This method works on any Mac running macOS Big Sur or newer. It is the fastest route if you remember your Apple ID password and have access to a device that can receive the verification code.

Key Takeaways

  • The "Reset Password" button on the login screen lets you reset using your Apple ID, which works on macOS Big Sur and newer.
  • If you do not have an Apple ID set up on your Mac, you will need to use Recovery Mode instead.
  • Recovery Mode requires you to restart your Mac and hold Command-R, then use the Reset Password utility from the Utilities menu.
  • If you forget both your Mac password and your Apple ID password, you may need to contact Apple Support or take your Mac to an Apple Store.

Use Recovery Mode if you do not have an Apple ID on your Mac

Older Macs or those not connected to an Apple ID need a different approach. Restart your Mac and hold down Command-R as soon as you hear the startup sound or see the Apple logo. Keep holding until you see the macOS Utilities window.

From the Utilities menu at the top, select "Reset Password". A window will open asking you to choose your user account. Select the account you are locked out of, then click "Next". You will be asked to select your startup disk — usually "Macintosh HD" or similar. Click it, then create a new password and confirm it.

Click "Save" and restart your Mac. You can now log in with the new password you just created. This method works on any Mac with Recovery Mode, regardless of age or Apple ID setup.

What to do if you do not remember your Apple ID password either

If the Reset Password button asks for your Apple ID password and you cannot remember it, you have two paths. First, try the "Forgot Apple ID password?" link that appears on the same screen. Apple will send a reset link to the recovery email address on file for that Apple ID, or you can answer security questions if you set them up.

If you cannot recover your Apple ID password through those methods, you will need to use Recovery Mode instead (see the section above). Recovery Mode does not require your Apple ID, only access to your Mac's startup process. Once you reset your password through Recovery Mode, you can then reset your Apple ID password separately using any web browser.

Use a second administrator account if one exists on your Mac

If another person on your household has an administrator account on the same Mac, they can reset your password without Recovery Mode. Have them log in with their account, then go to System Settings (or System Preferences on older Macs) and select "Users & Groups" or "Users and Accounts".

They should click the lock icon to unlock the settings, then select your account from the list. They can click "Reset Password" and create a temporary password for you. You can then log in and change it to something only you know.

What happens if you cannot access Recovery Mode

Some Macs with Apple Silicon chips (M1, M2, M3, and newer) have additional security that can prevent Recovery Mode from working if you do not know your password. If you restart and hold Command-R but the Mac asks for your password before showing the Utilities window, you have hit this lock.

In this case, you will need to contact Apple Support or visit an Apple Store with proof of ownership. Bring your Mac and a photo ID. Apple can verify ownership and help you regain access, though the process may take longer than the methods above.

Prevent this from happening again

Once you are back in your Mac, set up a password manager to store your Mac password securely. Built-in options include iCloud Keychain (which syncs across your Apple devices) or third-party managers like Bitwarden or 1Password. These tools generate strong passwords and remember them for you.

You should also write down your Apple ID email address and store it somewhere safe — not on your Mac. If you ever need to reset your password, you will need this email address. Consider setting up security questions or a recovery email address on your Apple ID account as well, so you have multiple ways to prove your identity if you forget that password too.

Frequently Asked Questions

Can I reset my Mac password without restarting?

Yes, if you see the login screen and the "Reset Password" button appears. This works without restarting and is the fastest method. If you are already logged in but forgot your password for a different reason, you can change it through System Settings without restarting.

What if my Mac is encrypted with FileVault?

FileVault encryption does not prevent password resets. You can still use the "Reset Password" button on the login screen or Recovery Mode. FileVault protects your data if someone steals your Mac, but it does not block you from resetting your own password.

How long does it take to reset my password through Recovery Mode?

The process itself takes about five to ten minutes. Restarting your Mac and navigating Recovery Mode takes a few minutes, and creating a new password takes seconds. The longest part is usually waiting for your Mac to restart.

Will resetting my password delete my files?

No. Resetting your password through either the login screen or Recovery Mode does not delete any files or applications. Your documents, photos, and programs remain exactly as they were.

What if I see a message saying "Password could not be reset"?

This usually means your Mac cannot reach Apple's servers to verify your Apple ID. Check your internet connection and try again. If you are using Recovery Mode and still see this message, restart your Mac and try the Recovery Mode process again from the beginning.