You can reset a Mac admin password through Recovery Mode, your Apple ID, or a secondary admin account

If you have forgotten your Mac admin password, you have three main paths forward. The fastest is using your Apple ID if you set one up during Mac setup — macOS will let you reset the password at the login screen itself. If that is not available, you can boot into Recovery Mode and use the Reset Password utility. If you have a second admin account on the same Mac, you can change the password from that account without Recovery Mode. Which route works depends on what you set up when you first configured the Mac.

The process takes 10 to 30 minutes and requires no external tools or software. You will need either your Apple ID password, access to another admin account, or the ability to restart your Mac into Recovery Mode. None of these methods will erase your files or data.

Key Takeaways

  • At the login screen, click the question mark icon next to the password field to see if you can reset using your Apple ID — this is the fastest method if available.
  • Recovery Mode (Command + R during startup) gives you access to the Reset Password utility without needing your Apple ID, but requires you to restart the Mac.
  • If you have a second admin account on the same Mac, you can open System Settings from that account and change the locked admin password directly.
  • After resetting the password, test it when ready at the login screen before closing System Settings or Recovery Mode.

Using your Apple ID at the login screen

This is the simplest method if you remember your Apple ID and password. At the Mac login screen, look for a small question mark icon or "?" button next to the password field. Click it, and macOS will offer to let you reset your password using your Apple ID.

Enter your Apple ID email and password when prompted. macOS will verify your identity and then let you create a new admin password. You can use this new password when ready to log in. This method works on any Mac running macOS 10.7 or later, as long as you linked an Apple ID to the account during setup.

If you do not see the question mark icon, your account may not have an Apple ID linked to it, or the Mac is running an older version of macOS. Move to the Recovery Mode method instead.

Resetting the password through Recovery Mode

Recovery Mode is a built-in system on every Mac that lets you access repair and reset tools without logging in. To enter Recovery Mode, shut down your Mac completely, then turn it back on while holding Command + R. Keep holding until you see the Apple logo or a spinning globe. The Mac will boot into Recovery Mode, which looks like a simplified desktop with a menu bar at the top.

From the menu bar, click Utilities, then select Reset Password. A window will open asking you to choose the account you want to reset. Select the admin account you are locked out of. You will then be asked to select your Mac's startup disk — this is usually "Macintosh HD" or whatever your main drive is named. Click it and proceed.

Enter your new password twice to confirm it, then click Reset Password. The system will confirm the change. Restart your Mac by clicking the Apple menu and selecting Restart. At the login screen, use your new password to log in. If the password does not work, restart into Recovery Mode again and try the process once more — sometimes the change takes a moment to register.

Changing the password from another admin account

If someone else on your household has an admin account on the same Mac, they can reset your password without Recovery Mode. Have that person log in with their account, then open System Settings (or System Preferences on older Macs). Navigate to General, then Users & Groups (or Accounts on older versions).

Click the lock icon in the bottom left corner and enter the other admin's password to unlock the settings. Find your account in the list on the left side. Right-click it and select Advanced Options, or click it once and look for a "Change Password" button. Enter the new password twice and click Change Password.

Log out of the other admin account and try logging in with your account using the new password. This method is often faster than Recovery Mode if you have access to another admin, because you do not need to restart the Mac.

What to do if none of these methods work

If you cannot use your Apple ID, do not have access to another admin account, and Recovery Mode does not let you reset the password, your Mac may have additional security settings that prevent password resets. This sometimes happens if the Mac is managed by a workplace or school, or if it is enrolled in a Mobile Device Management (MDM) system.

Check whether your Mac is managed by opening System Settings, clicking General, then About. If you see "Managed by [Organization Name]" anywhere on this screen, contact that organization's IT support — they have the ability to reset your password remotely or provide you with a temporary one.

If the Mac is not managed and you still cannot reset the password, your last option is to take the Mac to an Apple Store or Apple Authorized Service Provider. Bring proof of ownership (receipt, warranty card, or ID matching the account holder). They can verify your identity and reset the password, though this may take a few days and could have a service fee depending on your Mac's age and warranty status.

Preventing lockout in the future

After you regain access, take a few minutes to set up safeguards so this does not happen again. Link an Apple ID to your account if you have not already — open System Settings, click your name at the top, and make sure your Apple ID is connected. Write your password somewhere find, like a password manager (1Password, Bitwarden, or the built-in Keychain) or a physical notebook kept in a safe place.

If you share the Mac with others, make sure at least one other person has an admin account and knows their password. This gives you a backup path if you forget yours. You can also enable FileVault encryption from System Settings under Security & Privacy — this adds a layer of protection, though it does not prevent password resets through the methods above.

Frequently Asked Questions

Will resetting my password erase my files?

No. Resetting your admin password does not touch your files, documents, photos, or any data on the Mac. It only changes the password you use to log in. Your files remain exactly where they are.

What if I do not remember my Apple ID password either?

Go to iforgot.apple.com on another device and follow Apple's account recovery process. You will need to verify your identity using a recovery email, phone number, or security questions you set up when you created the Apple ID. Once you reset your Apple ID password, you can use it to reset your Mac password at the login screen.

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

Yes. FileVault encryption does not block password resets through Recovery Mode or your Apple ID. You can still use either method. However, if you forget both your Mac password and your Apple ID password, you will need to contact Apple Support, as FileVault adds an extra verification step.

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

The actual reset takes about two minutes once you are in Recovery Mode. The longest part is waiting for the Mac to boot into Recovery Mode, which usually takes one to three minutes. Total time is typically five to ten minutes from start to finish.

If I reset my password, will my saved Wi-Fi passwords and login information still work?

Yes. Resetting your admin password does not affect your Keychain, which stores Wi-Fi passwords, website logins, and other saved credentials. All of that information stays intact and continues to work after the password reset.