With macOS Catalina and many recent macOS - the built in tools guide everyone how to reset admin permissions without needing any of the single user mode boot tricks of old (left at the bottom for posterity and people running OS that were shipped before 2015)

Now - follow the official Apple triage steps: https://support.apple.com/en-us/HT202860

Instead of single user mode, boot to recovery and use the Terminal Utility. Then you can remove the .AppleSetupDone file from:

/Volumes/Macintosh\ HD\ -\ Data/private/var/db 

There are many ways to reset the login password without installation media, here are three:

Change the password in single user mode

  1. Hold +S on startup
  2. mount -uw / (fsck -fy is not needed)
  3. launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist (or /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist in 10.6)
  4. dscl . passwd /Users/username (without a trailing slash) and enter a new password. You can ignore the error about com.apple.DirectoryServices.plist.
  5. reboot

Create a new admin account

  1. Hold +S on startup
  2. mount -uw / (fsck -fy is not needed)
  3. rm /var/db/.AppleSetupDone
  4. reboot
  5. Go through the steps of creating a new account. You can leave all fields in the personal information step blank.
  6. After logging in to the new account, go to the Users & Groups preference pane
  7. Select the old account, press the Reset Password... button, and enter a new password

Restart and enter Recovery mode (for 10.7 Lion and newer OS only)

  1. Hold +R on startup
  2. Open Terminal from the Utilities menu
  3. Type resetpassword and follow the instructions

Using iCloud Recovery Mode (10.9.x & newer)

  1. After incorrectly entering a user password three times at the Mac login screen, a message appears saying "If you forgot your password, you can reset it using your Apple ID"
  2. Click the arrow button to bring up a "Reset Password" dialog
  3. Enter the Apple ID login information that is tied to the OS X user account and click “Reset Password”
  4. Click “OK” to confirm the new keychain creation
  5. Enter and verify a new password, fill out the password hint field, and again click on “Reset Password”
  6. Click “Continue Log In” to login as the user account with the reset password
Answer from Lri on Stack Exchange
🌐
Apple Community
discussions.apple.com › thread › 253803374
Reset my admin Password - Apple Community
How do I Reset my Password On my Standard account My MacOS Monterey Is Not letting me on my admin account I tried using command S and R it Didint work so I tried resetting the entire laptop and I couldn’t bc it said type admin password 1162 2 · I forgot my admin password I wanted to log in to my account because I have two accounts on a macbook but the password I entered does not work (this is the correct password).
🌐
Apple Support
support.apple.com › en-us › 102633
If you forgot your Mac login password - Apple Support
If asked to select a volume to recover, select your startup disk, such as Macintosh HD. If asked to select a user you know the password for, click “Forgot all passwords?”.
People also ask

What should I do if I forgot the Mac admin password?
If you’ve forgotten your admin password, here are ways to reset it: · Apple ID: Enter the wrong password a few times to trigger a reset via your Apple ID. · Another Admin Account: Log in to another admin account and reset the password in System Settings > Users & Groups. · Recovery Mode: Restart the Mac, press and hold Command + R to enter Recovery Mode, then use Terminal with the resetpassword command.
🌐
setapp.com
setapp.com › how-to › how-to-reset-admin-password-on-mac
How to reset admin password on Mac in a few simple steps
How do I find my Mac admin password?
If you’ve forgotten your Mac admin password, you won’t be able to recover it directly due to security measures. However, here are ways to reset it: · Using Apple ID: If linked to your account, try entering the wrong password a few times, and you’ll get a prompt to reset it with your Apple ID. · Another Admin Account: If another admin account exists on your Mac, log in to it and reset the password in System Settings > Users & Groups.
🌐
setapp.com
setapp.com › how-to › how-to-reset-admin-password-on-mac
How to reset admin password on Mac in a few simple steps
Can I reset a Mac without the admin password?
Yes, you can reset your Mac without needing the admin password. If you can access Recovery Mode by pressing Command + R during startup, go to Terminal and use the resetpassword command to change your password. · If Recovery Mode isn’t accessible, you may try other methods like Single User Mode or using an external boot drive. Alternatively, try using your Apple ID or another admin account if available.
🌐
setapp.com
setapp.com › how-to › how-to-reset-admin-password-on-mac
How to reset admin password on Mac in a few simple steps
🌐
Setapp
setapp.com › how-to › how-to-reset-admin-password-on-mac
How to reset admin password on Mac in a few simple steps
November 8, 2024 - Another Admin Account: Log in to another admin account and reset the password in System Settings > Users & Groups. Recovery Mode: Restart the Mac, press and hold Command + R to enter Recovery Mode, then use Terminal with the resetpassword command.
Top answer
1 of 2
57

With macOS Catalina and many recent macOS - the built in tools guide everyone how to reset admin permissions without needing any of the single user mode boot tricks of old (left at the bottom for posterity and people running OS that were shipped before 2015)

Now - follow the official Apple triage steps: https://support.apple.com/en-us/HT202860

Instead of single user mode, boot to recovery and use the Terminal Utility. Then you can remove the .AppleSetupDone file from:

/Volumes/Macintosh\ HD\ -\ Data/private/var/db 

There are many ways to reset the login password without installation media, here are three:

Change the password in single user mode

  1. Hold +S on startup
  2. mount -uw / (fsck -fy is not needed)
  3. launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist (or /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist in 10.6)
  4. dscl . passwd /Users/username (without a trailing slash) and enter a new password. You can ignore the error about com.apple.DirectoryServices.plist.
  5. reboot

Create a new admin account

  1. Hold +S on startup
  2. mount -uw / (fsck -fy is not needed)
  3. rm /var/db/.AppleSetupDone
  4. reboot
  5. Go through the steps of creating a new account. You can leave all fields in the personal information step blank.
  6. After logging in to the new account, go to the Users & Groups preference pane
  7. Select the old account, press the Reset Password... button, and enter a new password

Restart and enter Recovery mode (for 10.7 Lion and newer OS only)

  1. Hold +R on startup
  2. Open Terminal from the Utilities menu
  3. Type resetpassword and follow the instructions

Using iCloud Recovery Mode (10.9.x & newer)

  1. After incorrectly entering a user password three times at the Mac login screen, a message appears saying "If you forgot your password, you can reset it using your Apple ID"
  2. Click the arrow button to bring up a "Reset Password" dialog
  3. Enter the Apple ID login information that is tied to the OS X user account and click “Reset Password”
  4. Click “OK” to confirm the new keychain creation
  5. Enter and verify a new password, fill out the password hint field, and again click on “Reset Password”
  6. Click “Continue Log In” to login as the user account with the reset password
2 of 2
9

I'm sorry to hear about your father.

It is possible to reset the admin password to a Mac quite easily providing you have the correct install disc to match the version of the software that is running on the computer. Resetting the password does not delete any of the information on the Mac, but it will prevent you from gaining access to other passwords that are saved in the system for things like mail accounts or wifi keys that have previously been entered and saved by the original user. Once you have changed the password you will be prompted to create a new Keychain, which is the name of the place where these other passwords are saved.

Once you have admin access you can create or delete accounts. There is a support article on the Apple website with info on how to reset the password here: http://support.apple.com/kb/HT1274

If you don't have the install disc or need more help, I'd suggest booking an appointment at the Genius Bar at your local Apple Store and they will help you reset it at no charge.

🌐
Asurion
asurion.com › connect › tech-tips › how-to-remove-or-change-macbook-password
Need to remove or change your MacBook password? Here's how | Asurion
5 days ago - Sign in to the admin account and open System Preferences. Click Users & Groups. Locate the Other Users menu and click the user whose password needs to be changed. Click Change Password, enter a new one and confirm it. If your Mac user account is linked to your Apple ID, you should be able to ...
🌐
SimpleMDM
simplemdm.com › blog › how-to-reset-mac-passwords
How to reset Mac passwords | SimpleMDM
Enter your admin user credentials. ... Click Reset Password. First, make sure the Apple Account option is enabled: ... Go to System Settings. Click on Users & Groups. Click the i button next to a user account.
🌐
CNET
cnet.com › tech › computing › laptops › forgot your mac password? here are 4 easy ways to regain access
Forgot Your Mac Password? Here are 4 Easy Ways to Regain Access - CNET
April 11, 2025 - To do so, from that same Users & Groups screen, click on the lock and enter your admin name and password when prompted. Next, select the user you need to reset the password for and then click on the button labeled Reset Password and follow the instructions. Remember to write down the new passwords you create for other users on your Mac.
Find elsewhere
🌐
NordPass
nordpass.com › blog › how to reset mac password
How to reset or change your Mac password | NordPass
Here’s how you can reset a Mac password with another admin account: Log in to your alternative user account. From the Apple menu bar, go to “System Preferences.” ... Click the “Lock” icon.
🌐
Currys
currys.co.uk › techtalk › computing › forgot-your-mac-password-heres-how-to-reset-it.html
Forgot your Mac password? Here's how to reset it | Currys
October 28, 2025 - Restart your Mac and hold down the Command and R keys until you see the Apple logo. From the Utilities menu, pick ‘Terminal’. Type ‘resetpassword’ and hit enter. Follow the instructions on the screen to reset your password.
🌐
Disk Drill
cleverfiles.com › home › extra tools › 5 ways to reset & change a lost admin password on mac
How to Reset & Change Admin Password on Mac OS X
June 3, 2021 - A question mark will appear in the password field along with a popup box saying, “If you forgot your password, you can reset it using your Apple ID”. Choose to reset your password using your Apple ID. Enter your Apple ID login information. Create a new admin password.
Top answer
1 of 2
1

There are at least three ways to reset the login password of an account.

Using Reset Password.app on the recovery partition:

  1. Hold command-R on startup.
  2. Select Utilities > Terminal.
  3. Run resetpassword, which opens the Reset Password application.
  4. Select the volume and account and reset the password.

Using dscl in single user mode:

  1. Hold command-S on startup.
  2. Run mount -uw /.
  3. Run launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist in 10.7 or later or launchctl load /System/Library/LaunchDaemons/com.apple.DirectoryServices.plist in 10.6 or earlier.
  4. Run dscl . passwd /Users/username password where username is the name of the account and password is the new password.
  5. Run reboot.

Creating a new admin account:

  1. Hold command-S on startup.
  2. Run mount -uw /.
  3. Run rm /var/db/.AppleSetupDone.
  4. Run reboot.
  5. Go through the steps of creating a new account.
  6. Reset the password of the old account from the Users & Groups preference pane.

If FileVault 2 is enabled, you need to enter a password to start up in single user mode, and the list of accounts in Reset Password.app will be empty, so none of these methods can be used.

None of the methods above resets the password of the login keychain. If automatic login is enabled, you can print the password of the login keychain by running a command like this in single user mode before resetting the login password:

sudo ruby -e 'key=[125,137,82,35,210,188,221,234,163,185,31];IO.read("/etc/kcpassword").bytes.each_with_index{|b,i|break if key.include?(b);print [b^key[i%key.size]].pack("U*")}'

2 of 2
3

To reset password, You can force reseting admin password even if you forgot the password. This is not impacted to the installed application.

Steps:

  1. Boot Mac by pressing "command + R" until apple logo comes up which is "OSX Recovery" mode
  2. Go Utility Menu>Run Terminal
  3. Type "resetpassword" command
  4. Choose HDD and admin account which is initially created.

I'm quite new user for Mac so I'm not sure when it's implemented like this way but I heard old OSX has a menu in the recovery system(command + R) not like this way as I mentioned.

To install OSX, You can ask genius bar@apple store to install or you can install it via internet(Wired Lan) by pressing command+R option which is calls OSX recovery mode.

To backup the local disk, It's possible to backup local disk using the function called "Time Machine" on external drive and possible to restore.

FYI http://support.apple.com/kb/HT4718?viewlocale=en_US

🌐
Wikihow
wikihow.com › computers and electronics › operating systems › mac › mac os x › how to reset a lost mac admin password with terminal & more
How to Reset a Lost Mac Admin Password with Terminal & More
July 15, 2025 - If you're logged into your Mac with your Apple ID account, you may be able to use it to reset your admin password. If you aren't you can use Recovery Mode on your Mac to open the Reset Password utility. You can also reset a password with another ...
🌐
HelloTech
hellotech.com › home › how to reset your admin password on a mac
How to Reset Your Admin Password on a Mac : HelloTech How
January 26, 2023 - Note: If you have several user accounts or an older Mac, you will have to select “forgot all passwords,” then select the user account you want to reset the password for. Finally, you will have to click the Apple icon in the upper-left corner and select Restart from the drop-down menu. Finally, click Restart. Once you get to the Login screen, select the admin user you just reset the password for and type your new password.
🌐
Quora
quora.com › How-can-you-reset-your-Macs-administrator-password-if-you-forgot-it
How to reset your Mac's administrator password if you forgot it - Quora
Answer: Shut down your Mac. As you power it back on, hold down the command and “R” keys simultaneously until you see the Apple logo and about 10 seconds worth of the progress bar. Let go of the keys and wait as the Mac boots into recovery mode.
🌐
JustAnswer
justanswer.com › mac-computers › htct4-forgot-admin-password-new-macbook-pro-can-t.html
I forgot my admin password on my new Macbook Pro and can’t reset to factory settings
To reset a MacBook Pro without the admin password, restart and enter Recovery Mode by holding Command + R. Use Disk Utility to erase the startup disk, then reinstall macOS. If FileVault is enabled, you’ll need the Apple ID or recovery key.
🌐
Lifewire
lifewire.com › reset-mac-administrator-accounts-password-2259977
Forgot Your Password? How to Reset Your Mac's Administrator Password
September 27, 2024 - Select I forgot my password from the available options. Enter the password for the account's Apple Account. Apple sends an authentication code to another Apple device registered to the same Apple Account. If you don't own another Apple device, you can opt to receive the code by phone or SMS text. Enter the code in the field provided. Enter the new password and, optionally, a password hint. Restart the Mac. Your administrator password has been reset.
🌐
ITU Online
ituonline.com › itu online › blogs › how do i find my administrator name and password : a step-by-step guide on macos administrator username retrieval
How Do I Find My Administrator Name And Password : A Step-by-Step Guide On MacOS Administrator Username Retrieval - ITU Online IT Training
February 19, 2025 - In extreme cases where none of the above methods work (say, FileVault is on and you forgot both password and recovery key… yikes), you might have to erase the Mac and reinstall macOS. If you have a Time Machine backup or iCloud synced data, you can recover your files afterward. This is truly the nuclear option and not something we’d ever jump to without exhausting other avenues. In 20 years, I’ve almost never seen a situation get this far when proper precautions are in place. Those are the primary ways to get past a forgotten admin password on a Mac.
🌐
iBoysoft
iboysoft.com › home › mac data recovery tips › forgot mac air password? recover/reset mac admin password
Forgot Mac Air Password? Recover/Reset Mac Admin Password
August 5, 2025 - When the four macOS Utilities show up, it means that you are in macOS Recovery Mode. Now, try the following steps to reset your admin password with Terminal: Select Utilities > Terminal from the menu bar in Recovery Mode.
🌐
LastPass
blog.lastpass.com › posts › forgot-mac-password
Forgot Mac Password? Here's How to Reset It Easily - The LastPass Blog
December 4, 2024 - If an Activation Lock window pops ... with the password reset, be sure to click “Exit.” · Choose Apple menu > Restart, then log in with your new password....
🌐
Reddit
reddit.com › r/mac › admin password forgotten
r/mac on Reddit: Admin password forgotten
January 24, 2025 -

My friend has a MacBook with current OS. Two profiles on it. One for everyday stuff and one for admin and files. He was tired and messing around with admin settings and decided to change the password. Next morning, no idea what the password is and can’t backup the computer without logging into that profile. He can still access the other profile, but does not have admin privileges on his laptop anymore. It is not a work laptop. I am sure I’m not getting the full story or details because he is very stressed about this. I’ve tried searching for solutions or options but nothing has worked. Please help? He’s visiting while traveling and I’d love to help sort this out before he leaves town because I’ve never seen him stressed like this before.