How to reset MacBook password using Apple Account or trusted device?

My son may have changed his Mac password when half asleep. He has no idea what it is. We tried several typical passwords. Of course, he got the computer when he was a teenager and can't find the recovery key. We've looked everywhere. It could be in a file cabinet in storage (we moved into a temporary place). After 3 hours at the Apple store, we bought a new computer because he needed it for college. My Apple ID is logged into his computer (according to support) and his old iPad is a trusted device. Can we use one of those methods to reset the password? (We were at a store in another state). What else is a trusted device for? I have a really hard time believing we are SOL.


[Re-Titled by Moderator]

Original Title: Locked out of Mac

iPad, iPadOS 17

Posted on Aug 26, 2026 5:55 PM

Reply
Question marked as Top-ranking reply

Posted on Aug 26, 2026 10:39 PM

Hi,

You can reset your MacBook login password directly from the login window using your Apple Account and a trusted device for verification.

Reset from the Login Window

1) Type a wrong password on your Mac login screen three times until a reset message appears.

2) Click the question mark button or the reset message next to or above the password field.

3) Click the arrow next to the restart option to reboot your Mac into the recovery assistant.

4) Enter your Apple Account email and password when prompted.

5) Type the verification code sent to your trusted device or phone number.

6) Select the user account you want to change.

7) Enter and verify your new password, then add an optional hint.

8) Click Next, then click Restart to log in with your new password


Or if you don't have trusted devices.

1) Turn off your Mac completely.

2) Turn it on while entering recovery mode:

Apple Silicon: Press and hold the power button until startup options load, select Options, and click Continue.

Intel: Press and hold Command + R while turning on the Mac.

3) Go to the top menu bar, select Utilities, and open Terminal.

4) Type resetpassword and press Return.

5) Choose the option for forgetting passwords or log in with your Apple Account to complete the reset.


3 replies
Question marked as Top-ranking reply

Aug 26, 2026 10:39 PM in response to frustr8ted_mom

Hi,

You can reset your MacBook login password directly from the login window using your Apple Account and a trusted device for verification.

Reset from the Login Window

1) Type a wrong password on your Mac login screen three times until a reset message appears.

2) Click the question mark button or the reset message next to or above the password field.

3) Click the arrow next to the restart option to reboot your Mac into the recovery assistant.

4) Enter your Apple Account email and password when prompted.

5) Type the verification code sent to your trusted device or phone number.

6) Select the user account you want to change.

7) Enter and verify your new password, then add an optional hint.

8) Click Next, then click Restart to log in with your new password


Or if you don't have trusted devices.

1) Turn off your Mac completely.

2) Turn it on while entering recovery mode:

Apple Silicon: Press and hold the power button until startup options load, select Options, and click Continue.

Intel: Press and hold Command + R while turning on the Mac.

3) Go to the top menu bar, select Utilities, and open Terminal.

4) Type resetpassword and press Return.

5) Choose the option for forgetting passwords or log in with your Apple Account to complete the reset.


Aug 28, 2026 12:34 PM in response to frustr8ted_mom

frustr8ted_mom wrote:
When I hit the question mark, the only option I get is to enter the recovery key.
The other things you recommended give me a screen that asks if I forgot my password or if it doesn't work. Both of those selections lead me to enter the recovery key. I am never given an opportunity to enter an Apple ID or trusted device or select a different user.

Here is an Apple article with the various methods & options to reset the macOS login password:

If you forgot your Mac login password - Apple Support


The second section from the bottom of that article mentions using another trusted device to get the Recovery Key.

How to reset MacBook password using Apple Account or trusted device?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.