Tech Tips & Guides

How to Reset a Forgotten Mac Login Password

Tech GuidePublished 4 June 2026Updated 1 July 20268 min read
A generic modern aluminium laptop closed on a clean studio desk under soft light, representing a locked-out Mac
📑 On this page

Forgetting your Mac login password is common, and in most cases you can get back in without erasing anything. The important part is choosing the right method for your Mac, because a few steps differ between Apple Silicon Macs (M1, M2, M3, M4, M5 and newer, from 2020 onward) and older Intel Macs, and because some methods have a hidden cost: your saved passwords.

Before you try anything, check one thing: is this a work or school Mac? If your Mac is managed by a company or institution (MDM), you usually cannot reset the password yourself, and you should contact your IT administrator. Forcing a reset can lock you out of company data. If it is your own personal Mac, work through the methods below in order, from least disruptive to most. For related fixes, our macOS repair hub covers the common software lock-outs.

Fingertips resting on the blank keys of an open laptop, two keys showing small amber indicator lights

Before You Reset: Make Sure It Really Is the Password

Apple's own instructions start before any reset, because three ordinary things make a correct password look wrong. Each takes seconds, and any of them can end this without touching your account.

  1. Check you are typing the right password

    Apple is explicit about this one: enter your Mac login password — not the password, email address or phone number of your Apple Account. They are two different credentials and people mix them up constantly.
  2. Check Caps Lock

    Passwords are case-sensitive. If Caps Lock is on, the password field shows a Caps Lock symbol — look for it before you try again.
  3. Check your keyboard language

    Apple says to check the Input menu in the corner of the login window and make sure the keyboard is set to the right language. If your Mac carries a second input source — common here, where many people keep Pinyin, Jawi or Tamil alongside English — the characters you type may not be the ones you think.
  4. Restart once, properly

    Apple's first step is a clean restart: if there is no restart option on screen, press and hold the power (or Touch ID) button for up to 10 seconds until the Mac turns off, then turn it on again so it starts up to the login window.
A fingertip hovering over the small recessed button at the top right of a laptop keyboard deck

Start here: try the hint and the login-screen reset

Do not jump straight to erasing or Recovery — the gentlest fixes live on the login screen and keep your files intact.

Which method should you use?

  • Apple ID reset — use if the account is linked to your Apple Account and you have a trusted device to receive a code. Keeps your files.
  • Second admin account — use if another administrator account already exists on the Mac. Keeps your files.
  • FileVault recovery key — use if you saved the recovery key when you turned on encryption. Keeps your files.
  • macOS Recovery — the last resort when none of the above are available. Keeps your files, but resets the login keychain.
  • Erase and reinstall — only if every credential is truly lost. This deletes your data.
  1. Click the question mark first

    Apple's instruction is to look for the question mark next to the password field and click it — you do not have to guess wrong first. Clicking it may show a password hint you set when the account was created, and it may show a reset message.
  2. Take whichever reset message appears

    Apple lists three: "Restart and show password reset options", "Reset it using your recovery key", or "Reset it using your Apple ID". Click the one you get. ⛔ If you see none, Apple says to check again after entering a password up to three times — and stop there. Repeated attempts can lock the account, and then, in Apple's words, you must "wait until the stated time has elapsed" before trying again.
  3. If the prompts ask for more than a password

    The flow varies by Mac. Apple names what you may be asked for: your startup disk ("select a volume to recover", usually Macintosh HD); your FileVault recovery key; permission to deactivate this Mac — allow it, Apple states plainly that this is temporary; and permission to create a new keychain — allow that too, and read the keychain section below before you worry about it.
  4. Follow the on-screen prompts

    You may be asked to sign in to your Apple Account and enter a verification code sent to your other Apple devices, then choose which user to reset and set a new password.

The Apple ID route only works if that user account was linked to your Apple Account and, on newer macOS, if you have another trusted Apple device to receive the code. If nothing appears after several tries, move on to the next method rather than guessing endlessly.

One pair of hands sliding an open laptop across a desk towards another pair reaching for it

How to reset a Mac admin password from another admin account

If someone else has an administrator account on the same Mac, or you have a spare admin account you can still log in to, this is the cleanest fix and does not touch your files. From that account you can reset the admin password for the locked-out user in a couple of clicks.

  1. Log in to the other administrator account.
  2. Open the Apple menu, then System Settings (macOS Ventura and later) or System Preferences on older versions.
  3. Go to Users & Groups.
  4. Select the account you are locked out of and choose the option to change or reset the password for that user.
  5. Set a new password, add a hint, and log out.

One thing to know: even when an admin resets another user's password this way, that user's login keychain still gets locked, because the keychain is protected by the old password. We explain what that means further down.

A hand lifting a folded blank slip of paper from an open desk drawer, above a plain green notebook

Use your FileVault recovery key

If you turned on FileVault disk encryption and chose to store a recovery key (Apple describes it as a 24-character alphanumeric code, and it is not the 28-character recovery key you can set on an Apple Account — one cannot stand in for the other) rather than link it to iCloud, you can use that key to unlock the disk and reset your password. This is a different code from your Apple Account recovery key, so check you have the right one.

On Apple Silicon Macs (M1/M2/M3/M4/M5 and newer)

  1. Power on from a fully shut-down state and wait for the login window.
  2. Enter a wrong password a few times, or click the ? at the right of the password field, until an option to reset with your recovery key appears.
  3. Choose the option to reset it using your Recovery Key, then type the recovery key exactly and set a new password.

On Intel Macs

  1. At the login window, select your user and enter a wrong password until the reset options appear (or click the ? button in the password field).
  2. Choose the option to reset using your Recovery Key.
  3. Enter the recovery key, then create a new password.

If you cannot find your recovery key, do not give up on it yet — Apple now publishes somewhere else to look. On a Mac running macOS Tahoe 26 or later, the key "may be available in the Passwords app on one of your other devices": sign that iPhone, iPad or other Mac into the same Apple Account, open Passwords, type "recovery key" in the search field, and if your Mac's name appears, tap the dots in the Recovery Key field to reveal it. If it is genuinely nowhere, try macOS Recovery next. There is no back door to a FileVault key by design; that is the whole point of encryption.

A fingertip pressing and holding a key at the top-right corner of a laptop keyboard, screen dark

How to reset a Mac password using macOS Recovery

If none of the above worked, macOS Recovery has a built-in password reset assistant. The catch is that entering Recovery is completely different on Apple Silicon versus Intel, so use the right steps for your Mac. Not sure which you have? Click the Apple menu, then About This Mac; a chip named M1/M2/M3/M4/M5 means Apple Silicon, and anything else is an Intel Mac.

Entering Recovery on Apple Silicon

  1. Shut the Mac down fully. If it will not shut down normally, Apple says to press and hold the power button for up to 10 seconds until it turns off. (On laptops with Touch ID, that is the Touch ID button.)
  2. Press and hold the power button again and keep holding it until you see "Loading startup options" — or the Options icon, which is what appears on some models — then release.
  3. Click Options, then the Continue button that appears beneath it. If asked to select a volume to recover, choose your startup disk (usually Macintosh HD).

Entering Recovery on Intel

  1. Turn on or restart the Mac.
  2. Immediately press and hold Command (⌘)-R.
  3. Keep holding until the Apple logo or a spinning globe appears, then release. If asked to select a network, choose one from the Wi-Fi menu — Intel Recovery often needs it.
  4. If the keys do nothing, it is probably the keyboard

    Apple's own troubleshooting for this: on a Mac laptop use the built-in keyboard, not an external one. If your keyboard is wireless, plug it in if you can, or borrow a wired one. An external keyboard may also need a few seconds after power-on before the Mac recognises it, so wait a moment before pressing the keys.

Once you are in Recovery

macOS Recovery includes the Reset Password assistant (the resetpassword tool). Once you reach the screen asking you to pick a user you know the password for:

  1. When you are asked to select a user you know the password for, click "Forgot all passwords?" and follow the prompts.
  2. If you were not offered those steps, open Utilities > Terminal from the menu bar, type resetpassword and press Return. In the window that opens, Apple says to choose a reset option first"I forgot my password" or "My password doesn't work when logging in" — then click Next and follow the prompts.
  3. Choose your user, set a new password and hint, then quit and restart.
  4. If asked for a FileVault recovery key or your Apple Account credentials, provide them to continue.

If your Mac keeps looping or never reaches Recovery, the problem may be a deeper boot fault rather than the password. Our macOS repair hub covers those startup issues, and we offer free diagnostics if you would rather have it checked.

The last resort: erasing the Mac, and what it costs you

⛔ Read this before you do it. Apple's own words: erasing "will permanently remove each user account, its password and its data from your Mac". If anything on that Mac matters and you have no backup, stop here — a locked account is not the same as a lost disk, and a technician can often still read the drive. Once you erase, that option is gone.

  1. Start Recovery again and choose Erase Mac

    Shut the Mac down, start up from macOS Recovery again, and when it asks you to select a user you know the password for, choose Erase Mac from the Recovery Assistant menu at the top of the screen — not from the main window.
  2. Confirm, and let it restart

    Click Erase Mac, then click Erase Mac again to confirm. Apple says the Mac restarts by itself once it is done.
  3. If it restarts to a question mark

    Turn the Mac off, start up from macOS Recovery again, then reinstall macOS from Recovery. A flashing question mark means there is no system left to boot, which is expected after an erase.
  4. If it restarts to an Activate Mac window

    Choose a Wi-Fi network from the Wi-Fi menu, then enter your Apple Account details when asked — Apple is specific that this is the Apple Account, not your old login name and password. Once activated, click Exit to Recovery and reinstall macOS.
Four plain unmarked keys on a metal keyring lying on the corner of a pale wooden desk

The honest catch: your new login keychain

This is the part that surprises people most. When you reset a password without knowing the old one, macOS cannot unlock your existing login keychain, because that keychain was encrypted with the old password. So it quietly creates a brand-new, empty login keychain.

  • Wi-Fi and website passwords, secure notes and certificates stored in the old keychain may become inaccessible.
  • Apps that relied on those saved credentials may ask you to sign in again.
  • Your actual documents, photos and files are not deleted by a password reset; it is the saved-password vault that is affected.
  • If you later remember the old password, you may be able to unlock the old keychain in the Keychain Access app, so do not rush to delete it.

A few other things to expect: on a Mac with Activation Lock or FileVault, you may be asked for the linked Apple Account credentials or recovery key. There is no way around these by design. If you have truly lost every credential, the only way back in may be to erase the Mac, which does delete your data. Before you commit to that, it is worth a free second opinion, and if the files matter, ask about data recovery first.

A technician's gloved hands steadying an open laptop with a dark screen on a grey bench mat

When to let a professional take over

If you have tried the hint, the Apple ID reset, a second admin account, the FileVault recovery key and macOS Recovery and still cannot get in, stop before you erase anything, because erasing deletes your data permanently.

Bring it to Esmond Service Centre for free diagnostics at our Alexandra Retail Centre (ARC) or Sin Ming Lane branch, or WhatsApp 8828 8180. Our Apple-trained technicians can check whether the account, FileVault or Activation Lock is the blocker and, where files are at risk, advise on data recovery first.

For a no-obligation assessment you can request a free quote; we will tell you straight what is recoverable before any work begins.

Esmond Liu, Founder & Lead Technician Trainer at Esmond Service Centre

Reviewed and published by Esmond Liu, Founder & Lead Technician Trainer at Esmond Service Centre, on June 4, 2026

Need a professional to take a look?

Esmond Service Centre's experienced technicians can diagnose and fix it fast — free diagnostics, repairs from $65.

Get a Free Repair Quote

Frequently Asked Questions

Can I reset my Mac password without losing my files? +
Yes. Resetting the login password does not delete your documents, photos or apps. What it can affect is your old login keychain of saved passwords, which becomes locked because it was tied to the previous password. Your actual data stays on the disk.
How many wrong password attempts before the reset option appears? +
About three. After roughly three wrong attempts at the login screen, most Macs show a message offering to reset your password using your Apple ID, or an option to restart into reset options. If nothing appears after several tries, use a second admin account, your FileVault recovery key, or macOS Recovery instead.
What if I don't have another admin account or a recovery key? +
Try the login-screen Apple ID reset option first, then macOS Recovery and "Forgot all passwords?". If your Mac has FileVault or Activation Lock and you have lost every credential, there may be no way in short of erasing, so get it checked before doing that.
How do I know if my Mac is Apple Silicon or Intel? +
Click the Apple menu, then About This Mac. If it lists a chip such as M1, M2, M3, M4 or M5, it is Apple Silicon and you enter Recovery by holding the power button. If it shows an Intel processor, you hold Command-R at startup instead.
The reset-using-Apple-ID option never appears. Why? +
That option only shows if the account was linked to your Apple Account and, on recent macOS, if you have another trusted Apple device to receive the verification code. If it does not appear after several wrong attempts, use a second admin account, your FileVault recovery key, or macOS Recovery instead.
Is the FileVault recovery key the same as my Apple ID recovery key? +
No, and mixing them up is a common trap. The FileVault key is a long alphanumeric string generated when you turned on disk encryption. The Apple Account recovery key is a separate code for your Apple ID. Only the FileVault key unlocks the disk at the login window.
My Mac is from my company. Can I reset it myself? +
Usually not, and you should not try. Work and school Macs are often managed by MDM, which can restrict or reverse password resets and may lock company data. Contact your IT administrator, who can reset it properly or issue a recovery step for your device.
Will resetting my password remove Activation Lock? +
No. Activation Lock is tied to your Apple Account, not your login password, and it is deliberately impossible to bypass without the associated Apple ID and password. If Activation Lock is the blocker, you will need those Apple Account credentials to proceed.
What is the resetpassword command in Terminal? +
It is Apple's built-in Reset Password assistant, launched from Utilities > Terminal inside macOS Recovery by typing resetpassword and pressing Return. It opens a graphical tool to choose a user and set a new password; it is an official Apple feature, not a hack.
After resetting, my Mac keeps asking for a keychain password I don't know. What do I do? +
That is the old login keychain refusing your new password, because it was locked with the password you replaced. If you remember the old password you can unlock it in Keychain Access; if not, open Keychain Access, and from its settings reset the default keychains so macOS starts a fresh one, then let apps ask you to sign in again. Your documents, photos and files are untouched by any of this.

Need expert help with your device?

Bring it to Esmond Service Centre at Sin Ming or Alexandra — free diagnostics, repairs from $65, many done in 1–2 hours.

WhatsApp us