Local Tech Fix (626) 655-0020
All articles

Forgot Your Mac Password or Locked Out of Your MacBook? The Honest Way Back In

June 16, 2026

Good news first: unlike a locked iPhone, resetting a forgotten Mac password usually keeps all your files. We'll walk through every built-in way back in — and the one case where a backup is the only thing that saves you.

You're sitting at the login screen, you've typed the password you were certain was right, and the box just shakes at you again. It's an awful feeling — everything you do is behind that one password. So let's be straight with you, the way we would be in person, and walk through exactly how to get back in, in plain English, starting with the gentlest options.

Here's the reassuring part right up front, because it's genuinely different from a locked iPhone: on a Mac, resetting a forgotten login password does not, by itself, erase your files. Apple builds several ways to reset it and keep everything in place. There's one situation where data really is at risk — we'll be honest about it near the end — but for most people this is a recoverable afternoon, not a disaster. Two quick notes so you don't waste time: if you're locked out of a Windows PC instead, that's a completely different fix (we have a separate guide). And this is about the login password you type to sign in — not your Apple Account password, though as you'll see, the two are closely tied together.

First, look at the screen and stop guessing

Before anything else, stop typing. Mashing in guesses won't help and on some Macs it can lock the account for a while. The thing to watch for: after you enter the wrong password up to three times, the Mac usually shows a way forward — either a small question-mark icon next to the password field, or a message that it can offer reset options. Click that question mark. Depending on how your Mac is set up, you'll see one or more choices like "Reset it using your Apple ID" (now called your Apple Account), "Reset it using your recovery key," or "Restart and show password reset options."

Which of those you get depends on what your Mac knows about you — whether your login is tied to an Apple Account, whether FileVault disk encryption is switched on, and whether there's a recovery key on file. Don't worry about understanding all of that yet; just take note of which options appear, because each one is a different door back in, and we'll go through them from easiest to last-resort.

The easiest door: reset with your Apple Account

For most home users, the simplest route is the Apple Account reset, because most people link their Mac login to the same Apple Account they use for the App Store and iCloud. If you see "Reset it using your Apple ID" (or "Apple Account") after a few wrong tries, click it. The Mac will ask you to enter your Apple Account email or phone number and that account's password — not your Mac login, which is the one you've forgotten. You may get a verification code on your iPhone or another Apple device to confirm it's you.

Once that goes through, the Mac lets you set a brand-new login password right there, and then you're back in with all your files intact. This is the free, built-in version of exactly what the paid "Mac unlocker" apps are charging for — you already own it. The one thing it depends on is that you can actually get into your Apple Account. If you're not sure of that password, it's worth sorting out first (on another device, go to account.apple.com or iforgot.apple.com) — because, as you'll see, your Apple Account is the key that unlocks almost every path here.

If you turned on FileVault: your recovery key is gold

When you first set up a newer Mac, you may have switched on FileVault — Apple's full-disk encryption that scrambles everything on the drive so a thief can't read it. If you did, Apple showed you a recovery key: a long string of letters and numbers, and it told you to write it down or save it somewhere safe. This is the moment that key exists for. If you see "Reset it using your recovery key," click it, type that key in exactly, and you'll be able to choose your account and set a new password — files untouched.

A lot of people saved that key without realizing how important it was — check a password manager, a printout in a drawer, a photo on your phone, or (if you stored it there) your Apple Account. If FileVault is on and you genuinely have no recovery key, no working Apple Account, and no other way in, that's the one corner where this gets serious; we cover it honestly below. (If the idea of a forgotten encryption key sounds familiar, it's the same trap Windows users hit with BitLocker — we have a separate guide on that.)

Is there another account on this Mac? Use it

If more than one person uses the Mac — a partner, a family member, an old admin account you set up — and one of those accounts is an administrator whose password is known, you can reset yours without any keys or Apple Account at all. Log in to that working administrator account, then open System Settings, go to Users & Groups, click the info button (or the small "i") next to your locked account name, and choose to change or reset its password. The other admin sets a new password for your account, and you sign in with it.

One caveat worth knowing: a password reset done this way can leave your login keychain — the vault that stores your saved Wi-Fi, website, and app passwords — locked, because that vault was sealed with your old password. That's normal and not a sign anything is broken; the next section explains what you'll see and what to do about it.

When none of the login options appear: Recovery mode

Sometimes the login screen doesn't offer any reset options — the account isn't tied to an Apple Account, FileVault is off, and there's no other admin. In that case you reset the password from macOS Recovery, a separate startup environment built into every Mac. How you get there depends on the chip. On an Apple silicon Mac (the M1, M2, M3, M4 and later models — most Macs sold in the last several years), shut it down, then press and hold the power button until you see "Loading startup options," click Options, then Continue. On an older Intel Mac, turn it on and immediately hold Command (⌘) and R together until you see the Apple logo or a spinning globe.

Once you're in Recovery, you'll be asked to choose a user you know the password for — and right there is a "Forgot all passwords?" link. Click it and follow the Reset Password assistant, which walks you through Apple Account or recovery-key verification and lets you set a new password. (There's also a manual route some technicians use — opening Terminal from the Utilities menu and typing resetpassword — but the on-screen assistant does the same thing more safely, so start there.) Just like the other doors, this resets your password without erasing your files.

The thing that surprises people afterward: your keychain

However you reset the password, the first time you log back in your Mac may pop up a message saying it couldn't unlock your login keychain, and offer to create a new one. Don't panic — this is expected. Your keychain is the encrypted vault where the Mac kept all your saved passwords (Wi-Fi networks, websites, mail accounts), and it was locked with your old password, which no longer exists. Because that old password is gone, the Mac can't open the old vault, so it starts a fresh one.

In practice that means you're back in and working, but some saved passwords may not auto-fill for a bit and you'll re-enter a few as you go — your Wi-Fi, a website or two, your mail password. That's a minor nuisance, not lost data, and it settles down within a day of normal use. If you used iCloud Keychain (synced passwords across your Apple devices), most of those come right back once you're signed in. This is just the price of resetting a password you didn't know — and a good reason to use one of the easier doors above when you can, since the Apple Account reset tends to handle this more gracefully.

The honest hard truth — and where a backup is the only thing that saves you

Here's the one corner where this can go from annoying to genuinely painful, and you deserve it straight. If FileVault encryption is switched on AND you have no recovery key, no working Apple Account on the Mac, and no other administrator account — then there is no way to decrypt the drive, and therefore no way to reset into your data. The only path left is to erase the Mac in Recovery and reinstall macOS, which wipes everything. Apple built it that way on purpose: the whole point of FileVault is that without the password or the key, not even Apple can read the disk. No app, no call, no clever trick gets around it.

In that situation the only thing that saves your files is a backup you made earlier — a Time Machine drive or another copy somewhere. If you have one, the erase-and-reinstall is just a long chore and you restore afterward. If you don't, the data that lived only on that Mac is gone, and that's the brutal math. One more trap waits on the far side of an erase: on Apple silicon and recent Intel Macs, Activation Lock kicks in, and setting the Mac up again requires the Apple Account that was signed in on it. So before you ever erase, make sure you know that Apple Account password (reset it at iforgot.apple.com if not) — otherwise you trade a Mac you can't log into for one you can't even set up. This is exactly the kind of case worth bringing to a person before you do anything irreversible.

You don't need the paid "Mac unlock" apps

Search this problem and you'll be buried in tools promising to "unlock your Mac password in one click" or "remove the login password without losing data," for thirty or forty dollars. Be skeptical. Everything that can actually reset a Mac password is built into macOS and free — the Apple Account reset, the recovery key, another admin account, the Recovery "Forgot all passwords?" assistant. A paid app can't do anything those can't, because the limit isn't the software, it's Apple's encryption and account security.

And the specific promise to watch for is "unlock without losing data" on a FileVault-encrypted Mac with no key — that's the one thing that's genuinely impossible, so any tool claiming it is either selling you the same free reset with extra steps or simply won't work. Save your money. Use one of the built-in doors above, and if you're truly stuck behind FileVault with no key, no app changes that — only a backup does.

Once you're back in: make this the last time

After you're in, a few minutes of setup means you never go through this again. Set a password you'll genuinely remember but a stranger wouldn't guess, and add a password hint (System Settings, Users & Groups) so a nudge appears after a few wrong tries. If you keep forgetting it, turn on Touch ID for daily logins so you rarely type the password — but don't rely on the fingerprint alone, because a Mac still asks for the typed password after a restart, which is exactly when people get caught out.

Two things are worth pinning down while it's fresh. First, if FileVault is on, find your recovery key and store it where you'll actually find it later — a password manager is ideal, or save it to your Apple Account. Second, make sure you know your Apple Account password and that it's linked to this Mac, since it's the master key behind almost every recovery path here. And if you take nothing else from this: set up a Time Machine backup to an external drive. It's the one thing that turns the worst-case FileVault lockout from a heartbreak into a long-but-fine afternoon.

How we can help

A forgotten Mac password is mostly a do-it-yourself fix once you know the honest version: reset it with your Apple Account or your FileVault recovery key, or from another admin account, and your files stay put. Where people genuinely get stuck is the encryption side of it — FileVault is on, the recovery key is nowhere to be found, the Apple Account password is a mystery, and there's no backup. Those are the cases worth bringing to a person before anything gets erased.

We help folks across Southern California and the Coachella Valley get back into locked Macs the right way — sorting out Apple Account and FileVault recovery, salvaging data where it's technically possible, and getting Time Machine backups set up so it never happens twice. We don't sell computers, so we've no reason to push you toward a new one when yours just needs to be reset. And we'll always tell you honestly when it's a five-minute job you can do yourself versus something worth handing over.

Keep reading

Free calculators

Service areas we cover

Want a second opinion before you buy?

We don't sell hardware or warranties — call and we'll tell you what's worth buying and upgrading.

Call (626) 655-0020

Gear we recommend

All gear →

Need help with your website?

For web-side work — site builds, speed fixes, hacks, broken plugins, hosting issues — head to our sister site.

Visit HelpWithWeb.com →