Home › Knowledgebase › KB-124

How to reset the Mac login password when you've forgotten it

Summary

This guide helps you troubleshoot and resolve: How to reset the Mac login password when you've forgotten it. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

If you've forgotten your Mac login password, your files are still safe and Apple provides built-in recovery tools to help you regain access. This guide walks you through resetting both a standard user password and an admin password using Recovery Mode and your Apple ID.

Small-business note: If this Mac is company-managed or bound to a Mobile Device Management (MDM) solution, password resets may need to be handled by your IT administrator. Before attempting any of the methods below, check with your administrator or Open a Ticket for assistance.

Before You Start

Confirm the following before beginning the reset process:

Method 1: Reset Using Your Apple ID

This is the quickest method if your user account is linked to an Apple ID and you are running macOS Catalina (10.15) or later.

Step-by-Step Instructions

  1. On the login screen, click the ? icon next to the password field, or wait for a message that says "reset it using your Apple ID" after a failed login attempt.
  2. Click the arrow next to "reset it using your Apple ID" or the equivalent prompt.
  3. Enter your Apple ID email address and password, then follow the on-screen prompts.
  4. Choose a new password when prompted, and add a hint if desired.
  5. Click Reset Password, then log in with your new credentials.
If you do not see the Apple ID reset option, your account may not be linked to an Apple ID, or FileVault may be blocking the reset. In that case, use Method 2 below.
Resetting your login password without knowing the old password will create a new login keychain. You may be prompted to re-enter passwords for saved websites, email accounts, Wi-Fi networks, and apps.

Method 2: Reset Using Recovery Mode

Use this method if you cannot use your Apple ID, or if your Mac runs an older version of macOS.

Step-by-Step Instructions

  1. Click the Apple menu in the top-left corner and choose Shut Down. Wait for your Mac to fully power off.
  2. Turn your Mac back on and immediately hold the appropriate key combination:
    • Intel-based Macs: Hold Command (⌘) + R
    • Apple Silicon Macs (M1, M2, M3, M4): Press and hold the power button until "Loading startup options" appears.
  3. From the Utilities menu in the macOS Recovery window, select Terminal.
  4. Type resetpassword and press Return.
  5. The Reset Password assistant will open. Select the user account you want to reset. You may need to unlock the disk first using your Apple ID or FileVault recovery key.
  6. Enter a new password, add a password hint, then click Next.
  7. Click Restart when prompted. Your Mac will reboot and you can log in with the new password.
On Apple Silicon Macs, you may be asked to select a user before the Utilities menu appears. Choose a user you know the password for, or select "Forgot all your passwords?" to continue.
If FileVault is enabled, resetting the login password via Recovery Mode does not remove the requirement to unlock the disk at startup. You will still need your FileVault recovery key or Apple ID credentials to boot the Mac.
Resetting your login password without knowing the old password will create a new login keychain. You may be prompted to re-enter passwords for saved websites, email accounts, Wi-Fi networks, and apps.

Method 3: Reset Using Another Admin Account

If your Mac has more than one administrator account and you can log in to another one, you can reset the password from there.

Step-by-Step Instructions

  1. Log in to a separate administrator account on the same Mac.
  2. Open System Settings. On older macOS versions, open System Preferences instead.
  3. On macOS Ventura, Sonoma, Sequoia, and later, navigate to System Settings > Users & Groups. Click the information () button next to the user account you need to reset, then click Change next to Password.
  4. On older macOS versions, navigate to System Preferences > Users & Groups, click the lock icon in the bottom-left, and authenticate with the other admin's password.
  5. Select the account you need to reset, then click Reset Password or right-click the user and choose Reset Password.
  6. Enter a new password and hint, then click Change Password.
Resetting another user's login password without knowing their old password will create a new login keychain for that user. They may need to re-enter passwords for saved accounts, Wi-Fi, and email.

Troubleshooting

The Apple ID Reset Option Doesn't Appear

This usually means the account isn't linked to an Apple ID, or you're running an older version of macOS. Try Method 2 (Recovery Mode) instead.

You've Forgotten Your Apple ID Password

If you do not know your Apple ID password, go to iforgot.apple.com on another device to recover or reset it. If the Mac is company-managed, contact your IT administrator or Open a Ticket for assistance.

You're Prompted for a FileVault Recovery Key

If FileVault is enabled, you'll need to enter the recovery key before you can reset any password. You can retrieve this key by signing in to icloud.com/find with your Apple ID, selecting the relevant device, and choosing the option to retrieve the recovery key. Alternatively, check with your IT administrator if the device is company-managed.

Recovery Mode Won't Load

If your Mac doesn't enter Recovery Mode, try the following:

  • Ensure you're holding the keys immediately after pressing the power button.
  • For Intel Macs, try Command (⌘) + Option + R or Command (⌘) + Option + Shift + R to boot into internet recovery.
  • Disconnect any external devices that might interfere with the boot process.

Your New Password Isn't Accepted

Make sure your new password meets the minimum length requirement and that Caps Lock isn't enabled. Try resetting again, and avoid using a password you've recently used for the same account.

No Admin Account and No Apple ID Available

If no admin account and no Apple ID are available, a new admin account can sometimes be created via Recovery Mode using the resetpassword tool or by deleting the AppleSetupDone file. However, this is an advanced procedure and professional assistance is recommended. Open a Ticket if you need help.

If you've tried all methods and still can't regain access, your Mac may need to be wiped and restored from a backup. This will erase all data on the drive. If you need assistance, Open a Ticket and our team can guide you through your options.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket