What you can do if you forget your admin password

If you have forgotten the administrator password on your Mac, you have three main paths: use your Apple ID to reset it, answer your security questions if you set them up, or use Recovery Mode to create a new administrator account. Which one works depends on what you set up when you first configured your Mac and whether you still have access to the email or phone number tied to your Apple ID.

The fastest route for most people is the Apple ID reset, because it works from the login screen itself and takes about ten minutes. Recovery Mode takes longer but works even if you cannot remember your Apple ID password. Creating a new admin account is the slowest option but is useful if you want to preserve your old account's files while regaining access to the computer.

Key Takeaways

  • You can reset your administrator password using your Apple ID directly from the login screen without restarting your Mac.
  • If you set up security questions during Mac setup, you can answer them at the login screen to reset your password without needing your Apple ID.
  • Recovery Mode lets you create a new administrator account or reset your password, but requires you to restart your Mac and wait through the boot process.
  • If you use FileVault encryption, you will need your Apple ID or recovery key to regain access, even after resetting your password.

Using your Apple ID to reset the password at the login screen

At the Mac login screen, click the question mark icon or wait for the password hint to appear. Below the password field, you should see a link that says "Reset it with your Apple ID" or "If you forgot your password". Click that link.

Enter your Apple ID email address and the password for that Apple ID account. Your Mac will send a verification code to the phone number or email address associated with your Apple ID. Enter that code when prompted. You can then create a new administrator password for your Mac.

This method works only if you remember your Apple ID password and still have access to the phone number or email where Apple sends the verification code. If you have changed your phone number since setting up your Mac, or if you cannot access that email account, you will need to use one of the other methods.

Answering security questions if you set them up

When you first set up your Mac, you may have been asked to create security questions and answers — typically three questions like "What was the name of your first pet?" or "What city were you born in?". If you did this, you can use those answers to reset your password without needing your Apple ID.

At the login screen, click the question mark icon or wait for the hint to appear. Look for a link that says "Answer security questions" or similar. Click it and answer the three questions you set up. If your answers match what you entered during setup, you can create a new administrator password.

This method is fast and does not require internet access or a second device. However, it only works if you actually set up security questions when you configured your Mac — many people skip this step. If you are not sure whether you did, try clicking the question mark icon; if no security question option appears, move to the Recovery Mode method.

Using Recovery Mode to create a new administrator account

Recovery Mode is a special startup environment on your Mac that lets you perform maintenance tasks, including creating a new administrator account. To enter Recovery Mode, shut down your Mac completely. Then turn it back on and when ready hold down Command and R together until you see the Apple logo or a spinning globe.

Your Mac will boot into Recovery Mode, which may take two to five minutes. Once you see the macOS Utilities window, click Utilities in the menu bar and select Terminal. In the Terminal window, type the command resetpassword and press Enter. This opens the Reset Password tool.

In the Reset Password tool, select your Mac's hard drive from the dropdown menu (usually called "Macintosh HD" or similar), then select the administrator account whose password you forgot. Enter a new password twice to confirm it, then click Reset Password. Restart your Mac and log in with your new password.

Recovery Mode works even if you cannot remember your Apple ID or security questions. However, if your Mac uses FileVault encryption (which encrypts your entire hard drive), you will be asked for your Apple ID password or a recovery key before you can access Recovery Mode. If you do not have either, you will need to contact Apple Support.

What happens if your Mac uses FileVault encryption

FileVault is a built-in encryption tool that scrambles everything on your Mac's hard drive. If FileVault is turned on, your Mac will ask for your Apple ID password or a recovery key before letting you into Recovery Mode. This is a security feature — it prevents someone else from using Recovery Mode to access your files.

If you forgot your administrator password and FileVault is on, you have two options: enter your Apple ID password (which you can reset at iforgot.apple.com if needed), or enter the recovery key that Apple gave you when you first turned on FileVault. The recovery key is a long string of letters and numbers that you should have written down or saved somewhere safe.

If you do not have your Apple ID password, recovery key, or access to the phone number or email tied to your Apple ID, you will need to contact Apple Support. They can verify your identity and help you regain access to your Mac, but the process takes longer than doing it yourself.

Resetting your Apple ID password if you need it

If you remember your administrator password but forgot your Apple ID password, or if you need your Apple ID password to use Recovery Mode, you can reset it at iforgot.apple.com. Enter your Apple ID email address and follow the prompts. Apple will send a verification code to your phone or email.

You can also reset your Apple ID password directly on your Mac by opening System Settings (or System Preferences on older Macs), clicking your name at the top of the sidebar, then clicking Password. You will be asked to enter your current administrator password, then you can create a new Apple ID password.

What to do if none of these methods work

If you cannot use your Apple ID, do not have security questions set up, cannot access Recovery Mode because of FileVault, and do not have your recovery key, your options narrow significantly. At this point, contacting Apple Support is the most straightforward path. You will need to prove you own the Mac — usually by providing your serial number and the original receipt or proof of purchase.

Apple Support can walk you through additional verification steps and may be able to help you regain access. The process typically takes several days to a week. In some cases, if you cannot prove ownership, Apple may recommend erasing your Mac and starting fresh, which will delete all your files.

Frequently Asked Questions

Can I reset my administrator password without restarting my Mac?

Yes, if you remember your Apple ID password or set up security questions. Both methods work from the login screen without restarting. Recovery Mode requires a restart, but it works even if you cannot remember your Apple ID.

Will resetting my password delete my files?

No. Resetting your administrator password or creating a new administrator account does not delete any files. Your old files remain on the Mac. If you create a new account, you can access your old account's files by logging into the old account once you regain access to it.

What is a recovery key and where do I find it?

A recovery key is a long code that Apple gives you when you first turn on FileVault encryption. It is usually a string of letters and numbers separated by hyphens. You should have saved it in a safe place — check your email, password manager, or any notes you made when setting up FileVault. If you cannot find it, you will need your Apple ID password to access Recovery Mode.

Can I reset the administrator password for someone else's Mac?

No. All of these methods require either the administrator password, the Apple ID password, security question answers, or a recovery key — all of which are tied to the person who set up the Mac. If you need access to someone else's Mac, they will need to reset it themselves or contact Apple Support.

How long does it take to regain access through Apple Support?

Apple Support's process typically takes several days to a week, depending on how quickly you can provide proof of ownership and complete their verification steps. If you can use one of the self-service methods above, you can regain access in minutes to an hour.