The fastest way: use your Apple ID to reset the admin password

If you remember your Apple ID and password, you can reset your Mac admin password from the login screen without needing another account or recovery tools. Click "Reset Password" on the login screen, then choose "Reset using your Apple ID". Enter your Apple ID credentials, and macOS will let you create a new admin password when ready.

This method works on any Mac running macOS Big Sur or newer. You do not need to restart into Recovery Mode or use another computer. The process takes about two minutes.

If you do not see a "Reset Password" button on your login screen, your Mac may be running an older version of macOS, or your account may not be linked to an Apple ID. In that case, move to the Recovery Mode method below.

Key Takeaways

  • Your Apple ID is the fastest reset path if you remember it — you can reset the admin password directly from the login screen without restarting.
  • Recovery Mode (Command-R at startup) lets you reset the password using your Mac's built-in tools, but requires you to restart and wait for the recovery environment to load.
  • If you have another admin account on the same Mac, you can change the forgotten password from System Settings without Recovery Mode.
  • If you have no other admin account and cannot remember your Apple ID, you will need to erase and reinstall macOS, which deletes all files on the drive.
  • Write down your Apple ID and a recovery phone number now, before you need them — they are your fastest way back in if you forget the password later.

Using Recovery Mode if you cannot use your Apple ID

If you do not remember your Apple ID or your Mac is too old to support Apple ID reset, restart your Mac and hold Command-R when ready after you hear the startup sound. Keep holding until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode, a separate environment where you can reset passwords.

Once Recovery Mode loads, open the Utilities menu and select "Reset Password". Choose your admin account from the list, then create a new password. You do not need to know the old password. Click "Save" and restart your Mac normally.

Recovery Mode takes five to ten minutes to load on most Macs, depending on your internet speed and drive size. If your Mac does not enter Recovery Mode, try restarting again and holding Command-R longer — some Macs require you to hold the keys for up to 30 seconds.

Resetting the password from another admin account

If you have a second admin account on the same Mac and you can log into it, you can reset the forgotten password without Recovery Mode. Log in with the account you remember, then open System Settings and go to General > Users & Groups (or Accounts, depending on your macOS version).

Click the lock icon in the bottom left to unlock the settings. Select the admin account with the forgotten password, then click "Reset Password". Enter a new password and click "Change Password".

This method is faster than Recovery Mode because you do not need to restart. However, it only works if you have access to another admin account on the same Mac.

What to do if you have no other admin account and no Apple ID

If you cannot remember your Apple ID, do not have another admin account, and your Mac is too old for Apple ID reset, your only option is to erase the drive and reinstall macOS. This deletes all files, photos, documents, and programs on your Mac. You will need another Mac or a Windows computer to create a bootable installer.

To erase and reinstall, restart your Mac and hold Command-R to enter Recovery Mode. Open Disk Utility, select your main drive, and click "Erase". Then use Reinstall macOS from the Utilities menu. The process takes one to three hours depending on your internet speed and drive size.

Before you erase, check whether you have a Time Machine backup or iCloud backup of your files. If you do, you can restore them after reinstalling macOS. If you do not have a backup, the files are permanently lost.

Preventing lockout: what to set up now

The easiest way to avoid this situation is to link your admin account to your Apple ID right now, before you forget the password. Open System Settings, go to General > Users & Groups, select your account, and click "Edit". If your Apple ID is not already linked, click "Link Apple ID" and sign in.

Also add a recovery phone number to your Apple ID account. Go to appleid.apple.com, sign in, click "Account", then "Edit" next to "Recovery Phone Number". This gives you a second way to verify your identity if you forget your Apple ID password too.

If you use a password manager like 1Password, Bitwarden, or Dashlane, store your Apple ID password there. Password managers are encrypted and much harder to lose than a written note, and you can access them from another device if you are locked out of your Mac.

Why your Mac asks for an admin password in the first place

The admin password protects your Mac from changes that could break it or expose your data — installing software, changing network settings, adding new user accounts, and accessing other people's files all require admin permission. This is a security feature, not an inconvenience. It means someone who borrows your Mac cannot quietly install spyware or delete your files.

The trade-off is that if you forget the password, you cannot make those changes yourself either. That is why Apple built in multiple ways to reset it: your Apple ID, Recovery Mode, and another admin account. Each one is a backup in case you lose the others.

Frequently Asked Questions

Can I reset the admin password if my Mac is encrypted with FileVault?

Yes. FileVault encryption protects your files, but the password reset tools work the same way. If you use Apple ID reset or Recovery Mode, you will be asked for your FileVault password after you create the new admin password. If you do not remember that either, you will need to erase and reinstall.

What if I see "This user account is managed by your organization" on the login screen?

Your Mac is managed by a workplace or school, and you cannot reset the password yourself. Contact your IT department or help desk — they have the ability to reset it for you. Do not try Recovery Mode or erase the drive, as that may violate your organization's policies.

Does resetting the admin password delete my files?

No. Using your Apple ID, Recovery Mode, or another admin account to reset the password leaves all your files, photos, and programs untouched. Only the erase-and-reinstall method deletes everything, and you should only do that if you have no other option.

Can I reset the password if I do not have internet?

Apple ID reset requires internet to verify your identity. Recovery Mode can work without internet if your Mac is old enough to have a local recovery partition, but most modern Macs read Recovery Mode from Apple's servers. If you have no internet, try the other admin account method, or connect to WiFi and try again.

What if I forgot both my admin password and my Apple ID password?

Go to iforgot.apple.com and reset your Apple ID password using your recovery email or recovery phone number. Once you have access to your Apple ID again, you can use it to reset your Mac admin password from the login screen.