How to Reset Admin Password on Mac

You power on your Mac for the first time this year after not using it for weeks over the holidays, only to have it request your admin password, which you’ve suddenly forgotten. Instead of wasting time trying to recall your old password, it might make more sense to reset it. While your admin password on a Mac may protect your device from unauthorized access, it won’t prevent bad actors from breaching it. Use MacKeeper’s Antivirus tool to keep threats at bay.

System Requirements: macOS 10.11 or later

60+ million downloads

i

AV-TEST certified

AV-TEST is an independent lab that checks the effectiveness of antivirus apps against real malware samples.

i

Notarized by Apple

Notarization by Apple is a security measure to check if software is free from malicious components.

i

Trustpilot is an independent digital platform that hosts insightful and honest consumer reviews.

How to Reset Admin Password on Mac
Written by   Aya Masango
Published: January 08, 2026

There are several ways to reset a Mac administrator password. If it’s linked to your Apple ID account, enter the incorrect password a few times to get a password reset prompt, and then reset it with your Apple ID. You can also use another admin account on your Mac. To reset it in Recovery Mode, press the Command + R keys, enter Terminal, and enter the command resetpassword to change your password. If you can’t enter Recovery Mode, consider using an external boot drive. Otherwise, try using Single User Mode.

Why reset the admin password on a Mac?

Many scenarios call for resetting your Mac’s password, such as forgetting your admin password, the Mac password not working, inheriting the Mac from someone else, or buying it from someone who forgot to wipe their Mac. Another reason is if the Mac was previously used by a former employee who has either left the company or received another Mac.

A note from our experts: 

 

Setting an admin password alone isn’t enough to keep your Mac and data safe from hackers and bad actors. If privacy is important to you, consider using MacKeeper’s Antivirus software. It scans your Mac and files for viruses that can compromise your privacy and helps you quickly get rid of them to secure your Mac. Think of it as an additional layer of security to safeguard yourself against online threats. MacKeeper is notarized by Apple, making it a trusted solution for optimizing your Mac and keeping it secure.

 

Here’s how to protect your Mac with MacKeeper’s Antivirus tool today:

  1. Download and install the MacKeeper app on your MacBook Pro, MacBook Air, Mac mini, or iMac device.
  2. Open the app and click on the Antivirus option in the left sidebar, followed by Launch Antivirus > Start Scan, and don’t forget to enable real-time protection.
MacKeeper’s Antivirus tool is open on a Mac. Click the Start Scan and Enable buttons to protect your data in addition to resetting admin password.

How to change the admin password on a Mac?

We know and can suggest many ways to change the admin password on macOS. For instance, you can reset your password with your Apple ID via a password reset prompt after entering the incorrect one multiple times, provided your password is connected to your Apple ID. You can also reset it from another administrator’s account and with Terminal in Recovery Mode. Recovering your admin password from FileVault is also an option, as well as resetting your admin password using Single-User mode.

1. Using your Apple ID

Our admin account is linked to our Apple ID, making it the easiest option for resetting our admin password with our Apple ID account. In addition to streamlining your Apple accounts through synchronization, Apple ID gives you centralized control, including helping you regain access to your MacBook computer. Please note that this method only works for users who’ve turned on Apple ID password recovery for your account.

 

Here’s how you can reset your Mac’s admin password using Apple ID:

  1. Click on the question mark icon next to the password reset field.
  2. Choose the Reset it using your Apple ID option and follow the on-screen instructions to reset your password.
A Mac admin password prompt appears on the screen. Click on the question mark and choose the Apple ID option to reset admin password on Mac.

2. Reset admin password using Recovery Mode (with Terminal)

When we can’t reset our admin password with Apple ID, we do it in macOS Recovery. Mac’s Recovery Mode is a built-in tool that helps you regain access to your device when locked out, including using Terminal commands.

 

Follow these steps to reset your admin password with Terminal in Recovery Mode:

  1. Restart your Mac and immediately hold down the Command + R keys until the Apple logo appears or you hear a chime.
  2. Select Utilities > Terminal from the macOS Utilities window.
  3. Enter the Terminal command resetpassword and press Return.
  4. Pick your disk and account from the drop-down list. Now, type your new password, confirm it, and click on Next.
A Mac keyboard mock-up is depicted. Hold down the Command + R keys until the Apple logo appears or you hear a chime to reset admin password.
Step 1. Restart your Mac and immediately hold down the Command + R keys
The macOS Utilities window appears on a Mac screen. Select Utilities and Terminal from the menu bar to reset admin password on a Mac.
Step 2. Select Terminal from the macOS Utilities window
A Terminal window is opened in macOS Utilities. Enter the Terminal command resetpassword and press Return to reset admin password on a Mac.
Step 3. Enter the Terminal command resetpassword and press Return

3. Use another admin account

Since we share our Macs with others, we have multiple admin accounts, which comes in handy in instances like this, where one user has forgotten their admin password on a Mac. So we reset it using another admin account in macOS users and groups.

 

To reset your admin password from another admin account, do this:    

  1. Sign in to the other admin account.
  2. Click on the Apple menu and choose the System Settings option.
  3. Select Users & Groups, navigate to the locked account, click on the information icon next to it, and select the Reset Password option.
  4. Enter a new password and confirm it.
The Apple menu is open on a Mac. Select the System Settings option from the drop-down menu to reset admin password on a Mac.
Step 1. Click on the Apple menu > System Settings
Users & Groups settings appear on a Mac. Find the locked account, click on the information icon next to it, and select the Reset Password option.
Step 2. Select Users & Groups > information icon > Reset Password

4. Recover your admin password from FileVault

When previous methods fail, we turn to Mac’s FileVault to find our password on a Mac. Introduced in Mac OS X 10.3, FileVault is a disk encryption program that protects your data using encryption, including a 256-bit key. During the encryption process, FileVault automatically creates a recovery key, which you can use to reset the login password for your locked account.

 

Use this approach to recover your admin password from FileVault:

  1. Ensure you have your FileVault recovery key on hand and restart your Mac.
  2. Choose your account and reset your password.
  3. Hit the question mark icon next to the password field and select the option to Reset it using your Recovery Key.
  4. Enter your recovery key, reset your admin password, and log in with it.

5. Reset your admin password using Single-User mode

When all else fails, we use Mac’s Single-User mode to reset our Mac admin password as a last resort. It provides direct command-line access to the Unix system to reset the password and regain access to Mac devices, especially on older macOS versions.

 

Here’s how to reset your admin password using Mac’s Single-User mode:

  1. Restart your Mac and hold down the Command + S keys at startup. You’ll now enter Single-User mode.
  2. Enter the command mount –uw / and press Return.
  3. Now enter the command in launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist and press Return.
  4. Type in passwd [username] and hit the Return key (replace [username] with the name of your account).
  5. Reset your password.
  6. Type in reboot and press Return.
  7. Log in with your new admin password.
A Mac keyboard mockup is depicted. Restart your Mac and hold down the Command + S keys at startup to reset admin password.
Step 1. Restart your Mac and hold down the Command + S keys at startup
A command window appears in Single-User mode. Enter the command mount –uw / and press Return to reset admin password on a Mac.
Step 2. Enter the command mount –uw / and press Return
A command screen appears in Single-User mode. Enter the command shown on the image and press Return to reset admin password on a Mac.
Step 3. Enter the command in launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist and press Return
A Single-User mode command window is depicted. Enter the command shown on the image and press Return to reset admin password on a Mac.
Step 4. Type in passwd [username] and hit the Return key (replace [username] with the name of your account)

Resolving Keychain issues after reset

Are you suddenly getting requests to enter your old Keychain password? This is a common occurrence after recovering your Mac password, one we’ve experienced too, as your macOS Keychain password is linked to your admin password by default. As such, if you reset your Mac admin password without knowing the old one (for instance, via Apple ID or Recovery Mode), Keychain cannot automatically update.

 

Here’s how to fix your Keychain issues after resetting your Mac’s admin password:

  1. Open Finder > Applications > Utilities > Keychain Access.
  2. In the menu bar, select Keychain Access > Settings or Preferences > Reset My Default Keychain.
  3. Enter your new administrator password. This will prompt your Mac to generate a new default keychain.
The Keychain Access utility is open in Mac’s Finder. Open Keychain Access to reset it after changing admin password on Mac.
Step 1. Open Finder > Applications > Utilities > Keychain Access
The Keychain Access utility is open in Mac’s Finder. Click on Reset Default Keychains if needed after changing admin password on Mac.
Step 2. Select Keychain Access > Settings or Preferences > Reset My Default Keychain

Easily reset your admin password on a Mac

Whether you can't remember your admin password on a Mac, or whatever your reasons for changing your Mac’s admin password, there are several ways to reset it—including using your Apple ID, resetting your password in Recovery Mode, and more. Use the easy-to-follow guidelines in this article to reset your password and regain access to your Mac in no time.

 

Remember: it takes more than securing your Mac account with a password to safeguard your data. Use MacKeeper’s Antivirus tool to keep your data and device free of unwanted viruses that can compromise your privacy.

Use your Mac to the fullest! Sign up and get:
Effective tips on how to fix Mac issues
Reliable advice on how to stay safe online
Mac-world news and updates

Thank you!

You’ll love exploring your Mac with us.

Oops, something went wrong.

Try again or reload a page.

Here’s another sign you need to upgrade your macOS ASAP:

30% off your MacKeeper subscription

Сopy the code now and use it in the MacKeeper checkout after the upgrade.

Copy Code

Please be aware that this code cannot be combined with any other discounts, offers, or promotions.

Contents

Unlocked
PC

MacKeeper - your all-in-one solution for more space and maximum security.

Try Now

Read more

How to Format External Hard Drive on Mac
How to Format External Hard Drive on Mac
macOS Sierra Factory Reset
macOS Sierra Factory Reset
arrow

Run Application

step_1

Click Continue

step_2

Click Install

step_1

Your macOS version is lower than OS 10.11. We’d like to offer you MacKeeper 4 to solve the cleaning, privacy, and security issues of your macOS.