Reset a Lost Admin Password on Mac OS X

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.

Steps

Using Your Apple ID

  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. 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. 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. 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. 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. 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.[1]

Using Recovery Mode

  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. 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.[2]
  3. Click the "Utilities" menu and select "Terminal." You'll see the Utilities menu in the bar at the top of the screen.
  4. Type .resetpassword and press Return. This will open the Reset Password utility.
  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. Select the user account you want to change the password for. Use the drop-down menu to select your user account.
  7. Create a new admin password. Enter your new admin password twice to create it.
  8. Enter an optional password hint. This hint can be displayed if you're having difficulty logging in.
  9. Click "Save" to save your new password. It will be applied when you reboot your computer.
  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. Log in with your new password. After rebooting, select your user account and log in with your new password.[3]

Using a Different Admin Account

  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. Click the Apple menu and select "System Preferences." This will open the system settings.
  3. Select "Users & Groups." All of the users on your computer will be displayed.
  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. Select your original account. You'll find this listed in the menu on the left. You'll see your account settings appear.
  6. Click the "Reset Password" button. This will allow you to create a new password for the account.
  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. 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. 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]

Changing Your Password if You Know It

  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. Select "Users & Groups." This will allow you to change settings for the users on your computer.
  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. Select your user account and click "Change Password." A new window will appear for you to change your password in.
  5. Enter your old password in the first field. This is the password you are currently using.
  6. Create a new password. You'll need to enter it twice to verify it. Click "Change Password" to save it.
  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. Start using your new password immediately. Your password will be applied immediately, and you'll use it whenever you're prompted for your password.

Tips

  • Writing your password down somewhere discreet (e.g., the inside cover of a favorite book) will prevent accidental lock-outs.
  • If you have FileVault enabled, you won't be able to unlock the "reset password" utility without the verification code and password issued to you when you initially set up FileVault. Absent this information, your files will be unrecoverable.

Related Articles

Sources and Citations