Unofficial archive. This is a read-only, community-run archive of the Apple Support Community. It is not affiliated with or endorsed by Apple Inc.

How to log in to a new Macbook Air M1 with forgotten Mac account password?

Hi there, I recently bought a new Macbook air M1 for my mother, to replace her old machine. I set it up as a new mac since I had no time machine on her old one.

The mac asked me for a Mac account pass and I thought I knew What I had put in. But I did not. The rest I jotted it down so I have her apple ID and pass, but now she cannot log into her new laptop since we don not know what I put as a first password, and when doing all the process of ressting it with terminal it takes me to a place where it asks for a recovery key I did not put either. How can I sort this out? Thanks in advance.


[Re-Titled by Moderator]

Original Title: Can't log in

8 replies

It sounds like the Mac login password was somehow “fumbled.”


Your process ahead is described here:


If you forgot your Mac login password - Apple Support


Don’t rush thru this procedure.


It covers a LOT of hardware and software. Not all steps will apply to your particular setup.




Also, MacBook Air M1s were produced in 2020-2022; are you sure that it’s “new” ???


As far as the File Vault Recovery Key, see this:


See the FileVault recovery key for your Mac in Passwords - Apple Support


If it’s asking for the File Vault Recovery Key (24-characters long), one was presumably created and displayed on the screen during setup.


Also, MacBook Air M1s were produced in 2020-2022; are you sure that it’s “new” ???


As far as the File Vault Recovery Key, see this:


See the FileVault recovery key for your Mac in Passwords - Apple Support


If it’s asking for the File Vault Recovery Key (24-characters long), one was presumably created and displayed on the screen during setup.


If it truly has a filevault key set on it then it was not refurbished properly and you should return it, or at least contact the vendor about what to do next. Note this warning:

WARNING: Don’t forget your recovery key. If you turn on FileVault and then forget your login password and can’t reset it, and you also forget your recovery key, you won’t be able to log in, and your files and settings will be lost forever. - Protect data on your Mac with FileVault - Apple Support


New, for her, I meant.

It is a refurbished certified machine.

I never set or put this key code, never had I done it in any of my other machines.

The code is set automatically by the machine if the individual setting it up selects “Enable File Vault”