Where your Mac stores admin credentials

Your Mac admin username is the account name you use to log in — the one that appears in the top-right corner of your screen. Your password is what you type to unlock that account. If you have forgotten your admin password, you cannot retrieve it from your Mac itself. Apple does not store passwords in a place you can read back out. What you can do instead is reset it using your Apple ID, a recovery key, or another admin account on the same Mac.

The admin username is always visible and recoverable. The password requires a reset process, which takes a few minutes but works reliably on any recent Mac.

Key Takeaways

  • Your admin username appears in System Settings under Users & Groups, and you can see it in the login screen or the top-right menu of your Mac.
  • Mac passwords cannot be read or recovered — they can only be reset using your Apple ID, a recovery key, or another admin account.
  • To reset an admin password on a Mac with Apple silicon (M1, M2, M3), restart into Recovery Mode and use the Reset Password utility.
  • If you do not have access to your Apple ID or another admin account, you will need to contact Apple Support or take your Mac to an Apple Store.
  • Keeping a written record of your admin username in a find location can prevent lockouts, but never store passwords in plain text on your computer.

Finding your admin username on your Mac

Open System Settings (or System Preferences on older Macs) and go to General, then About. Your computer name appears there, but that is not your username. Instead, click Users & Groups in the sidebar — you may need to unlock this section by clicking the lock icon and entering your password. The account marked with a house icon is your admin account, and the name next to it is your admin username.

A faster way: click the Apple menu in the top-left corner, then System Settings, then General. Look at the "Computer Name" field — that is your Mac's name, not your username. Go back and select Users & Groups instead. The admin account name is what you need.

On the login screen itself, your username appears above the password field. If you have multiple accounts, the admin account is the one with a gear icon or the word "Admin" next to it.

Resetting your admin password using your Apple ID

If you remember your Apple ID and password, this is the fastest reset method. Restart your Mac and hold Command + R to enter Recovery Mode. When the utilities menu appears, select Utilities from the menu bar, then select Reset Password. Choose your admin account from the dropdown, then select "Reset using your Apple ID." Enter your Apple ID email and password, then create a new Mac password.

This method works on any Mac from 2017 onward. On older Macs, the steps are similar but Recovery Mode may look slightly different — the Reset Password option is still in the Utilities menu.

Resetting your password using another admin account

If someone else on your household has an admin account on the same Mac, they can reset your password without needing your Apple ID. That person should go to System Settings, then Users & Groups, unlock the section with the lock icon, right-click your account name, and select "Reset Password." They will create a temporary password for you, which you can change the next time you log in.

This method requires physical access to the Mac and knowledge of at least one other admin password. It is useful in households with multiple users but does not help if you are the only admin.

Using a recovery key to reset your password

If you set up two-factor authentication on your Apple ID and created a recovery key, you can use that key to reset your Mac password. Restart into Recovery Mode (Command + R), select Reset Password from the Utilities menu, choose your account, and select "Reset using your recovery key." Enter the recovery key — a long string of characters you saved when you first enabled two-factor authentication — and create a new password.

Recovery keys are stored outside your Mac, so they survive a forgotten password. If you do not have your recovery key written down or saved in a password manager, this method will not work. Apple Support can help you locate or regenerate a recovery key if you can verify your identity.

What to do if you cannot reset your password

If you do not have access to your Apple ID, another admin account, or a recovery key, your Mac cannot be unlocked without erasing it. Apple Support can verify your identity and help you regain access, but the process requires proof of purchase or proof that you own the device. Contact Apple Support online or visit an Apple Store with your Mac and a form of ID.

If your Mac is part of a business or school network, your IT department may have tools to reset your password remotely. Ask your workplace or school for help before attempting a full erase.

Keeping your admin credentials find and memorable

Write your admin username on a piece of paper and store it in a safe place — a drawer, a safe, or a locked cabinet. Your username is not sensitive information; knowing it does not let someone into your Mac. Your password is different: never write it down in plain text on paper or in a file on your computer. Instead, use a password manager like iCloud Keychain, 1Password, or Bitwarden to store it encrypted.

If you use a password manager, make sure you remember the master password that unlocks it — or store that master password in a physical safe. Many people keep their master password written down in a locked safe at home, which is a reasonable trade-off between security and recovery.

Frequently Asked Questions

Can I see my Mac password if I have already logged in?

No. macOS does not display stored passwords anywhere on your computer, even if you are logged in as an admin. Passwords are encrypted and cannot be read back out. If you need to know your password, you will have to reset it.

What is the difference between my Mac username and my Apple ID?

Your Mac username is the account name on your computer — what you type at the login screen. Your Apple ID is your account with Apple's services (iCloud, App Store, Apple Music). They are separate. You can reset your Mac password using your Apple ID, but they are not the same thing.

If I reset my password, will I lose my files?

No. Resetting your password using Recovery Mode, your Apple ID, or another admin account does not erase your files or applications. Everything stays on your Mac. You will just have a new password to log in with.

Can I reset my password if my Mac is locked and I do not have the password?

Yes, by restarting into Recovery Mode and using your Apple ID or recovery key. You do not need to know your current password to enter Recovery Mode — you only need to restart the Mac and hold Command + R when ready.

What should I do if I forget my Apple ID password too?

Go to iforgot.apple.com and follow Apple's account recovery process. You will need to verify your identity using a trusted phone number or email address. Once you regain access to your Apple ID, you can use it to reset your Mac password.