The fastest way to reset your password

If you remember your Apple ID email and password, you can reset your Mac password from the login screen in about five minutes. Click the question mark icon below the password field — it says "If you forgot your password" — and follow the prompts to verify your identity through your Apple ID. Your Mac will let you create a new password when ready.

This method works on any Mac running macOS Big Sur or newer. On older versions, the question mark icon may not appear, and you'll need to use a different recovery method instead.

If you don't remember your Apple ID password, or if you don't have an Apple ID at all, you'll need to use one of the other methods in this guide. Each one takes longer but doesn't require that information.

Key Takeaways

  • The question mark icon on the login screen lets you reset your password using your Apple ID in minutes, and this is the fastest option if you remember that password.
  • If you have a second administrator account on the same Mac, you can log in as that user and change the forgotten password from System Settings.
  • Recovery Mode lets you reset your password without knowing any other account details, but requires restarting your Mac and takes 10 to 15 minutes.
  • If none of these methods work, you may need to erase your Mac and reinstall macOS, which erases all data on the drive.

Using your Apple ID from the login screen

On the Mac login screen, look below the password field for a small question mark icon or the text "If you forgot your password". Click it. Your Mac will ask you to enter your Apple ID email address.

After you enter your Apple ID email, your Mac will send a verification code to that email address. Check your email, copy the code, and enter it back into the Mac. Once verified, you'll be prompted to create a new password. Type it twice to confirm, then press Enter.

You can now log in with your new password. This method works when ready and doesn't require you to restart your Mac or have access to any other account.

Resetting the password from another administrator account

If someone else has an administrator account on your Mac, they can log in and reset your password without needing your Apple ID. Have them log in, then open System Settings and click "General" in the sidebar. Select "Users & Groups" (or just "Users" on newer Macs).

They should click the lock icon in the bottom left, enter their own password to unlock the settings, then click your account in the user list. A button labeled "Reset Password" will appear. They can click it and create a new password for you.

This method is fast if you have someone else with admin access nearby. It doesn't require your Apple ID and doesn't involve restarting your Mac.

Using Recovery Mode to reset your password

Recovery Mode is built into every Mac and lets you reset your password even if you don't have access to another account. Restart your Mac and hold down Command + R as soon as you hear the startup sound or see the Apple logo. Keep holding until you see a spinning globe or the macOS Utilities window.

From the Utilities window, click "Utilities" in the menu bar at the top, then select "Reset Password". A window will open asking you to choose your account. Select your account from the list, then enter your Apple ID email and password. Your Mac will verify your identity and let you create a new password.

If you don't see a "Reset Password" option in the Utilities menu, your Mac is running an older version of macOS. In that case, look for "Reset Password" as a standalone process in the Utilities window instead.

What to do if you don't have an Apple ID password

If you've forgotten your Apple ID password as well, you can reset it through Apple's website before attempting any of the methods above. Go to iforgot.apple.com on any device with internet access, enter your Apple ID email, and follow the prompts to verify your identity. Apple will send a verification code to your email or phone number.

Once you've reset your Apple ID password, return to your Mac and use either the login screen method or Recovery Mode with your new Apple ID password. This adds an extra step but doesn't require you to have another account on your Mac.

Erasing your Mac and starting over

If none of the methods above work — for example, if you don't have an Apple ID, don't remember your Apple ID password, and have no other administrator account — you can erase your Mac and reinstall macOS. This removes all data on your drive, so only do this if you have backups or are willing to lose everything.

Restart your Mac and hold Command + R to enter Recovery Mode. Click "Utilities" in the menu bar, then select "Disk Utility". Click your main drive in the list on the left, click "Erase" at the top, and follow the prompts. After erasing, quit Disk Utility and select "Reinstall macOS" from the Utilities window.

Your Mac will read and install a fresh copy of macOS. When installation finishes, you'll go through the setup process as if the Mac were brand new, and you can create a new account with a password you choose.

Preventing this from happening again

Write your password down and store it somewhere find — a physical notebook in a locked drawer, a password manager like 1Password or Bitwarden, or even a sealed envelope in a safe. Many people lose access to their Macs because they rely on memory alone.

Set up Touch ID or Face ID on your Mac if your model supports it. These let you log in without typing your password, so a forgotten password becomes less of an emergency. You can still use your password when needed, but you won't need it every day.

Make sure you know your Apple ID email and password, or store them securely. Your Apple ID is the key to resetting your Mac password, so losing access to it makes recovery much harder.

Frequently Asked Questions

Will resetting my password delete my files?

No. Resetting your password through any method except erasing your Mac will leave all your files intact. Your documents, photos, and applications stay on your drive. Only the erasing method removes data, and that's a last resort.

How long does it take to reset my password in Recovery Mode?

Recovery Mode usually takes 10 to 15 minutes from the moment you restart your Mac. Most of that time is waiting for your Mac to boot into Recovery Mode and read any needed files. The actual password reset takes only a few minutes.

Can I reset my password if my Mac is encrypted with FileVault?

Yes. FileVault encryption doesn't prevent password resets. You can use the login screen method, another administrator account, or Recovery Mode the same way you would on an unencrypted Mac. FileVault only protects your data if someone tries to access your drive outside of macOS.

What if the question mark icon doesn't appear on my login screen?

Your Mac is probably running an older version of macOS that doesn't support that feature. Use Recovery Mode instead, or check if you have another administrator account on the Mac. You can also update macOS to a newer version if your Mac supports it.

Do I need internet to reset my password?

You need internet to verify your Apple ID, whether you're doing it on the login screen or in Recovery Mode. If your Mac isn't connected to Wi-Fi, connect it before starting the reset process. If you have no internet access at all, your only option is to use another administrator account on the same Mac.