Forgot Your Mac's Password Before Selling? Here's What to Do

Locked out of a Mac you want to sell? Here are the recovery routes in order — and the Find My step you still must not skip, even after a full erase.

Encore Editorial · Nov 17, 2026 · 4 min read

The faint glow of a login screen reflected on a dark desk, keyboard keys dimly lit

A forgotten password feels like a dead end, and for a Mac you're hoping to sell, it's an anxious one — you can't wipe it, you can't demonstrate it works, and you may wonder if the machine is now worthless. It isn't. If you forgot your Mac's password before selling, there's a clear ladder of recovery options, from a quick reset at the login screen to a full erase as a last resort. The important thing is to work through them in order, and to not forget the one step that matters even after the machine is blank.

Everything below follows Apple's official guidance for a forgotten Mac login password. Work top to bottom and stop at the first one that gets you in.

First, rule out the simple mistakes

Before anything drastic, restart the Mac and try again carefully. Apple's first reminder is deceptively useful: you must enter your Mac login password, "not the password, email address, or phone number of your Apple Account." People routinely confuse the two. Check that Caps Lock is off and that the keyboard language in the Input menu is the one you think it is. If there's no obvious restart option, hold the power (or Touch ID) button for up to ten seconds, then turn the Mac back on.

Use the reset options at the login window

If the password still won't take, look for the small question mark next to the password field. Clicking it shows your hint, and after a few failed attempts it may surface a reset message. Apple's steps: try up to three times, and if nothing appears, restart and try again. Follow whatever reset prompt you're offered — depending on how the Mac was set up, that may mean signing in with your Apple Account, entering a FileVault recovery key, or selecting your startup disk. Then you create a new login password and you're back in.

The FileVault recovery key is worth a note, because people mix it up with other codes. It's a 24-character string, distinct from an Apple Account recovery key. On a Mac running macOS Tahoe 26 or later, Apple says it may be stored in the Passwords app on another device you're signed into with iCloud Passwords & Keychain turned on — so check your iPhone or iPad before giving up on it.

Reset from macOS Recovery

If the login window won't cooperate, the next rung is macOS Recovery. Start up from Recovery, choose the "Forgot all passwords?" option, and sign in with your Apple Account if prompted. From there you can open Terminal, type resetpassword, select the forgotten-password option, and create a new one. This is the route that handles most lockouts where you still control the associated Apple Account.

Resetting the password is not the same as removing the Mac from your account. Even a Mac you've successfully reset — or fully erased — can still be tied to your Apple Account and Activation Lock. A buyer who can't get past Activation Lock has a brick. Clearing it is a separate, mandatory step.

The last resort: erase the Mac

If none of the reset paths work, you can still regain a usable machine by erasing it. Apple is blunt about what this does: it "permanently removes each user account, its password, and its data from your Mac." Erase it from Recovery, then reinstall macOS. If the Mac asks for activation afterward, you'll sign in with your Apple Account — which is both the proof the machine is yours and the reminder that your account is still attached to it.

Because this wipes everything, it's only painless if your data is already backed up or migrated. If there's anything on the machine you still need, handle that first; our guide on signing out of iCloud and turning off Find My before selling covers the surrounding cleanup once you're back in control of the Mac.

Don't skip Find My and Activation Lock

This is the step that undoes an otherwise perfect recovery. Regaining access — or even erasing the Mac — does not automatically remove it from your Apple Account or clear Activation Lock. As Apple's instructions for removing Activation Lock explain, turning off Find My is what disables it: on the Mac, open System Settings, click your name, choose iCloud, find Find My Mac, and turn it off with your Apple Account password. If the Mac is already out of your hands or won't boot, you can do it from iCloud.com/find by selecting the Mac and clicking Remove, which also takes it off your account's device list. Apple's own pre-sale checklist treats signing out of iCloud as a required step for exactly this reason.

Selling a Mac you were locked out of

Once you've reset or erased the machine and cleared it from Find My, a password you'd forgotten is a non-issue — the Mac is clean and ready for a new owner. If the recovery process left you with a machine that's wiped but otherwise fine, you can get an instant offer and move it along without the headache of a private buyer poking at a lock screen. The only hard requirement on your side is that Activation Lock is off; get that right and the earlier password drama simply disappears from the equation.

Get an instant offer on your Mac

A real number in about 30 seconds — working or not. Free prepaid shipping, no seller fees, paid the day it arrives.*

Get my offer

Paid same day your Mac is delivered*