Reset your Mac OS X admin password following this simple and easy guide

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 admin account on the computer. If you know your password, you can change it from the Users & Groups menu.

Method 1
Method 1 of 4:

Using Recovery Mode

  1. 1
    Reboot your computer. If you can't change your password using your Apple ID, you can use Recovery Mode to reset it. Recovery Mode needs to be accessed as your computer is starting up.
  2. 2
    Hold . Command+R as soon as you hear the chime. Continue holding the keys until you see the loading bar appear. This will boot your Mac into Recovery Mode. It may take a while to load.[1]
    Advertisement
  3. 3
    Click the "Utilities" menu and select "Terminal." You'll see the Utilities menu in the bar at the top of the screen.
  4. 4
    Type .resetpassword and press Return. This will open the Reset Password utility.
  5. 5
    Select your hard drive. If you have multiple drives in your Mac, you'll need to select the one that your operating system is on. This will typically be labeled "Macintosh HD."
  6. 6
    Select the user account you want to change the password for. Use the drop-down menu to select your user account.
  7. 7
    Create a new admin password. Enter your new admin password twice to create it.
  8. 8
    Enter an optional password hint. This hint can be displayed if you're having difficulty logging in.
  9. 9
    Click "Save" to save your new password. It will be applied when you reboot your computer.
  10. 10
    Click the Apple menu and select "OS X Utilities" → "Quit OS X Utilities." Opt to restart your Mac when prompted. This will reboot your computer and apply your new password.
  11. 11
    Log in with your new password. After rebooting, select your user account and log in with your new password.[2]
  12. Advertisement
Method 2
Method 2 of 4:

Using Your Apple ID

  1. 1
    Try entering a wrong password three times. If you enabled this security feature when you first set up your account, you'll be able to use your Apple ID to reset your password. This only works if this feature is enabled to begin with.
    • If you have access to your Mac, you can turn this setting on by clicking the Apple menu and selecting "System Preferences." Click the "Users & Groups" option, then select your account. Click the padlock button to unlock the settings, then click "Allow user to reset password using Apple ID."
  2. 2
    Click the link that appears to reset your password. This will appear after entering your password incorrectly three times. If this option does not appear, this function has not been enabled for your account and you'll need to use another method in this article.
  3. 3
    Enter your Apple ID password. To reset your admin password, you'll need to enter your Apple ID password. This is the Apple ID that is associated with your Mac user account.
  4. 4
    Create a new admin password. After entering your Apple ID password, you'll be prompted to create a new admin password. You'll need to enter it twice to create it.
  5. 5
    Use your new password after rebooting. You'll have to reboot your computer after creating a new admin password. Once your computer reboots, enter the new password you created to log in.
  6. 6
    Create a new Keychain. When you log in after using your new password, you'll likely be prompted that your Keychain cannot be accessed. This is because the Keychain is only secured with your original admin password, and cannot be accessed with the new password for security reasons. You'll need to create a new Keychain for your passwords.[3]
  7. Advertisement
Method 3
Method 3 of 4:

Using a Different Admin Account

  1. 1
    Log in with the secondary admin account. You'll need to have a second account with administrator privileges enabled on your computer, and you'll also need to know its admin password.
    • If you're logged in on your account, log off and then select the other admin account.
  2. 2
    Click the Apple menu and select "System Preferences." This will open the system settings.
  3. 3
    Select "Users & Groups." All of the users on your computer will be displayed.
  4. 4
    Click the padlock at the bottom of the window. This will allow you to make changes to the Users & Groups settings. You'll be prompted for the admin password for the account you're using again.
  5. 5
    Select your original account. You'll find this listed in the menu on the left. You'll see your account settings appear.
  6. 6
    Click the "Reset Password" button. This will allow you to create a new password for the account.
  7. 7
    Create a new admin password for your original account. You'll need to enter the password twice to confirm it. Click "Change Password" to save it.
  8. 8
    Log out and log in with your original account and new password. You'll be able to log in using the password you just created.
  9. 9
    Create a new Keychain. When you log in with your new password, you'll be prompted to update your Keychain password or create a new one. You won't be able to update the password since you don't know the old one. You'll need to create a new Keychain that you'll using moving forward.[4]
  10. Advertisement
Method 4
Method 4 of 4:

Changing Your Password if You Know It

  1. 1
    Click the Apple menu and select "System Preferences." This will open your system settings. This method will only work for changing a password when you know the original. If you can't remember your password, use one of the other methods in this article.
  2. 2
    Select "Users & Groups." This will allow you to change settings for the users on your computer.
  3. 3
    Click the padlock in the lower-left corner and enter your current password. This will allow you to make changes to the settings.
  4. 4
    Select your user account and click "Change Password." A new window will appear for you to change your password in.
  5. 5
    Enter your old password in the first field. This is the password you are currently using.
  6. 6
    Create a new password. You'll need to enter it twice to verify it. Click "Change Password" to save it.
  7. 7
    Add a hint (optional). You can add a hint for your password that can be displayed if you are having trouble logging in. This is recommended so that you don't have to go through the trouble of resetting your password if you ever forget it.
  8. 8
    Start using your new password immediately. Your password will be applied immediately, and you'll use it whenever you're prompted for your password.
  9. Advertisement

Expert Q&A
Did you know you can get expert answers for this article? Unlock expert answers by supporting wikiHow

  • Question
    How do I reset my administrator password if I forgot it?
    Luigi Oppido
    Luigi Oppido
    Computer & Tech Specialist
    Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years.
    Luigi Oppido
    Computer & Tech Specialist
    Expert Answer

    Support wikiHow by unlocking this expert answer.

    If you have a Mac and you need to reset the local password, restart the computer, then hit command+R, which is going to go into internet recovery. Launch the terminal, which will bring up a command prompt, then type "resetpassword" as one word. Then, type your new password into the Reset Password dialogue box that pops up.
  • Question
    My computer prompt is 'bash-3.2# '. When I type in the launchctl and systems/Library etc. command, it says either "not recognized" or "access denied". Do you know why ?
    Community Answer
    Community Answer
    Did you forget the "load" command? Be sure to type it all in correctly as shown above!
  • Question
    Will these steps work on a Macbook Air?
    Liza Gaylord
    Liza Gaylord
    Community Answer
    Yes, Macbook Airs have the same operating system (OSX) as other Macbooks. This should work for all Apple computers.
Advertisement

About This Article

Luigi Oppido
Co-authored by:
Computer & Tech Specialist
This article was co-authored by Luigi Oppido. Luigi Oppido is the Owner and Operator of Pleasure Point Computers in Santa Cruz, California. Luigi has over 25 years of experience in general computer repair, data recovery, virus removal, and upgrades. He is also the host of the Computer Man Show! broadcasted on KSQD covering central California for over two years. This article has been viewed 1,311,219 times.
How helpful is this?
Co-authors: 38
Updated: August 13, 2022
Views: 1,311,219
Categories: Mac OS X
Advertisement