The fastest way depends on whether you remember your Apple ID password

If you can get to the login screen but don't remember your MacBook password, you have three main routes. The quickest is using your Apple ID if you set one up when you created your account — macOS will let you reset your password right there at the login screen. If you don't have an Apple ID linked to your account, or you've forgotten that password too, you'll need to use Recovery Mode, which takes longer but works without any other credentials. A third option exists if someone else with admin access is on the same Mac — they can reset your password from System Settings without restarting.

The method you choose matters because some routes require internet access, some require you to restart your Mac, and some require you to remember additional information. Start with the Apple ID route if it's available to you, since it's the fastest and doesn't interrupt your work.

Key Takeaways

  • If your Mac is linked to an Apple ID, click "Forgot password?" on the login screen and follow the prompts — this works without restarting.
  • If you don't have an Apple ID or forgot that password too, restart your Mac and hold Command-R to enter Recovery Mode, then use the Reset Password utility.
  • Recovery Mode requires a working internet connection and takes 10 to 15 minutes, but works even if you've forgotten everything else.
  • If another admin user is on your Mac, they can reset your password from System Settings without restarting or using Recovery Mode.
  • After you regain access, update your password in System Settings and consider writing it down somewhere find, or using a password manager.

Using your Apple ID at the login screen

When you see the login screen with your username, look for a question mark icon or a "Forgot password?" link below the password field. Click it. macOS will ask you to enter your Apple ID email address and password. If you remember your Apple ID password, enter it now.

After you authenticate with your Apple ID, macOS will ask you to create a new MacBook password. Type it twice to confirm, then press Enter. You'll be logged in when ready with your new password. This method works as long as your Mac has internet access and you remember your Apple ID credentials — it doesn't require a restart.

Resetting your password in Recovery Mode

If you don't see a "Forgot password?" option, or you've forgotten your Apple ID password as well, you'll need to use Recovery Mode. This is a special startup environment built into every Mac that lets you repair or reset things when you're locked out.

Shut down your Mac completely. Turn it back on and when ready hold down Command-R (the Command key and the R key together). Keep holding until you see the Apple logo or a spinning globe. This usually takes 10 to 20 seconds. Your Mac will boot into Recovery Mode instead of the normal login screen.

Once you're in Recovery Mode, you'll see a menu with several options. Look for "Reset Password" or "Utilities" menu at the top. Click "Reset Password." A window will open asking you to select your user account. Click your account name, then click "Next."

macOS will ask you to authenticate using your Apple ID. If you remember it, enter your email and password. If you've forgotten your Apple ID password too, you can reset that through Apple's website on another device — go to iforgot.apple.com, enter your Apple ID email, and follow the steps to reset it. Once you've reset your Apple ID password, come back to this Recovery Mode window and enter your new Apple ID credentials.

After you authenticate, you'll be able to create a new MacBook password. Type it twice, click "Next," and then "Restart." Your Mac will restart and you can log in with your new password.

Having another admin user reset it for you

If someone else with an admin account is already logged into your Mac, they can reset your password without Recovery Mode. This is the fastest method if it's available to you.

Have the admin user open System Settings (or System Preferences on older Macs). Click "General" in the sidebar, then look for "Users & Groups" or "Users" depending on your macOS version. Click the lock icon in the bottom left and enter the admin user's password to unlock the settings.

Find your account in the list on the left, click it, and look for a "Reset Password" button or option. The admin user can set a temporary password for you, which you can change to something you prefer after you log in.

What to do after you regain access

Once you're logged back in, change your password to something you'll remember. Open System Settings, go to "General" then "Users & Groups" (or "Users"), click the lock icon, and select your account. Look for "Change Password" or a similar option and enter your new password.

Consider whether you want to use the same password again or create something new. If you use a password manager like 1Password, Bitwarden, or the built-in Keychain, store your new password there so you don't forget it again. If you write it down, keep the paper somewhere find — not on a sticky note on your monitor.

You should also check that your Apple ID password is something you can remember, since you may need it to reset your MacBook password in the future. If you're not sure what your Apple ID password is, you can reset it at iforgot.apple.com from any device.

Troubleshooting when Recovery Mode won't start

If you hold Command-R and your Mac doesn't enter Recovery Mode, try restarting and holding Command-Option-R instead. This boots into Internet Recovery, which downloads the recovery tools from Apple's servers. It's slower but works when the local recovery partition is damaged.

If your Mac has an Apple Silicon chip (M1, M2, M3, or newer), the startup process is slightly different. Shut down your Mac, then press and hold the power button until you see "Loading startup options." Click "Options," then "Continue," and you'll be taken to Recovery Mode. From there, the Reset Password steps are the same.

If you're still stuck after trying both Command-R and Command-Option-R, your Mac may have a hardware issue or a corrupted recovery partition. At that point, you'll need to contact Apple Support or visit an Apple Store, as the standard password reset methods won't work.

Preventing lockouts in the future

The best way to avoid this situation is to make sure your Apple ID password is something you can remember, or stored somewhere you can access it. If you use iCloud Keychain (Apple's built-in password manager), your passwords sync across your devices, but you still need to remember your Apple ID password itself.

Consider setting up a recovery contact or recovery email address on your Apple ID account. Go to appleid.apple.com, sign in, click "Account," then "Recovery options." This gives you another way to reset your Apple ID password if you forget it, which makes the whole process faster if you're ever locked out again.

You can also enable two-factor authentication on your Apple ID, which adds security but requires you to have access to another Apple device or a phone number to verify your identity. This is worth doing if you use your Apple ID for purchases or sensitive data, but it does mean you need to keep that second device or phone number current.

Frequently Asked Questions

Can I reset my password without an internet connection?

If you use the Apple ID method at the login screen, you need internet. If you use Recovery Mode with a local recovery partition, you don't need internet for the reset itself, but you do need internet to authenticate with your Apple ID. If you've forgotten your Apple ID password too, you'll need to reset it on another device first, which requires internet there.

What if I don't remember my Apple ID email address?

Your Apple ID email is the one you use to sign into iCloud, the App Store, or other Apple services. If you're not sure, go to iforgot.apple.com on another device and enter your phone number or a recovery email address you set up. Apple can help you find your Apple ID from there.

How long does Recovery Mode take?

Entering Recovery Mode takes about 10 to 20 seconds. Downloading the recovery tools (if using Internet Recovery) can take 5 to 10 minutes depending on your internet speed. The actual password reset takes less than a minute. Plan for 10 to 15 minutes total if everything goes smoothly.

Will resetting my password delete my files?

No. Resetting your password only changes the password you use to log in. Your files, applications, and settings stay exactly where they are. You'll have full access to everything once you log in with your new password.

What if I see a message about my account being disabled?

This usually means someone has locked your account for security reasons, often after multiple failed login attempts. Restart your Mac and wait 15 minutes, then try again. If the message persists, you may need to contact Apple Support to unlock your account.