The fastest way to reset a Mac Air password
If you remember your Apple ID password, you can reset your Mac Air login password in about five minutes without erasing anything. Restart your Mac, hold Command + Q when you see the login screen, and you'll reach the password reset option. You'll need your Apple ID email and password — the same account you use for the App Store or iCloud.
If you don't remember your Apple ID password, or if you don't have an Apple ID set up on this Mac, the process takes longer but still works. You have two main paths: using Recovery Mode (built into your Mac) or using another Mac or iPhone you own. Both are free and don't require you to erase your drive unless you've forgotten everything and have no other devices.
Key Takeaways
- If you know your Apple ID password, restart your Mac, press Command + Q at the login screen, and reset your password in minutes.
- If you don't know your Apple ID password, you can reset it through Apple's website using a trusted phone number or recovery email before trying the Mac.
- Recovery Mode lets you reset a forgotten password without another device, but takes 15 to 30 minutes and requires internet access.
- If you have another Mac or iPhone signed into the same Apple ID, you can reset the password from that device in under five minutes.
- If you've forgotten both your Mac password and your Apple ID password and have no other devices, you will need to erase the Mac and set it up again.
Reset using your Apple ID password (the quickest method)
This works if you remember the password for your Apple ID — the account you use for iCloud, the App Store, or Apple Music. Restart your Mac completely. When the login screen appears with the username field, hold down Command + Q. A new window will open asking for your Apple ID.
Type your Apple ID email address and the password you use for that account. Click the arrow or press Enter. Your Mac will verify the account, then ask you to create a new login password. Type a password you'll remember, confirm it, and click Reset Password. You can now log in with your new password. This entire process takes about three to five minutes.
Reset your Apple ID password first if you've forgotten it
If you don't remember your Apple ID password, you need to reset that before you can use the method above. Go to iforgot.apple.com on any device with internet access — a phone, tablet, or another computer. Enter your Apple ID email address and click Continue.
Apple will ask you to verify your identity. You can choose to receive a code by text message to a phone number Apple has on file, or by email to a recovery email address you set up. Enter the code you receive, then create a new Apple ID password. Once that's done, go back to your Mac and use the Command + Q method described above with your new password.
Use Recovery Mode if you have no other devices
Recovery Mode is a built-in tool on your Mac that lets you reset a password without needing another device. Restart your Mac and when ready hold Command + R until you see the Apple logo or a spinning globe. Keep holding until the macOS Utilities window appears — this usually takes 30 to 60 seconds.
Click Utilities in the menu bar at the top, then select Terminal. A black window will open. Type resetpassword and press Enter. A password reset window will open. Select your Mac from the dropdown menu, enter a new password twice, and click Reset Password. Restart your Mac and log in with the new password.
Recovery Mode requires a working internet connection. If your Mac can't connect to Wi-Fi, you may see a message asking you to choose a network — do that before you open Terminal. The entire process takes 15 to 30 minutes depending on your internet speed.
Reset the password from another Mac or iPhone
If you have another Mac or iPhone signed into the same Apple ID, you can reset the password from that device in under five minutes. On the other Mac, open System Settings (or System Preferences on older versions), click your name at the top left, then click Password. Enter your current Mac password, then click Change Password. Create a new password and click Change.
On an iPhone or iPad, open Settings, tap your name at the top, then tap Password & Security. Tap Change Password, enter your device passcode, then create a new password. The password resets across all your Apple devices within a few minutes. Go back to your Mac Air and log in with the new password.
What to do if you've forgotten everything
If you don't remember your Mac password, your Apple ID password, and you have no other devices to help you reset, your only option is to erase the Mac and set it up again. This erases all files on the drive, so only do this if you have backups elsewhere or if the Mac is new and empty.
Restart your Mac and hold Command + R to enter Recovery Mode. Click Utilities, then Disk Utility. Select your main drive (usually called Macintosh HD), click Erase, choose a format (APFS is standard for newer Macs), and confirm. Close Disk Utility, then click Reinstall macOS and follow the prompts. When setup is complete, you'll create a new login password and Apple ID, or sign into an existing Apple ID you remember.
Prevent this from happening again
Write down your Apple ID password or store it in a password manager like iCloud Keychain, 1Password, or Bitwarden. If you use iCloud Keychain (built into your Mac), your passwords sync across all your Apple devices, so you can always reset one from another.
Set up a recovery email and recovery phone number on your Apple ID account at appleid.apple.com. These let you reset your Apple ID password if you forget it, without needing to contact Apple Support. Check that at least one of these is current and that you still have access to it.
Frequently Asked Questions
Can I reset my password without restarting the Mac?
No. The password reset options only appear at the login screen, which you reach by restarting. If you're already logged in and have forgotten your password, you don't need to reset it — you're already using the Mac. If someone else needs to log in, they'll need to restart.
Will resetting my password erase my files?
No. Resetting your login password does not erase anything on your Mac. Your files, apps, and settings stay exactly as they are. Only if you erase the entire drive in Recovery Mode (the last resort) will you lose data — and that's only if you have no backups.
What if I see a message about a locked account?
If your account is locked after too many wrong password attempts, restart your Mac and wait at least 15 minutes before trying again. The lock lifts automatically. If you still can't log in, use the Command + Q method or Recovery Mode to reset the password.
Do I need internet to reset my password?
You need internet if you're using the Apple ID method or Recovery Mode. If you have another Mac or iPhone on the same Wi-Fi network, you don't need internet — the devices can communicate locally. If your Mac has no internet access at all, you'll need to use another device or erase and set up the Mac again.
Can Apple Support reset my password for me?
Apple Support can help you reset your Apple ID password, but they cannot reset your Mac login password directly. They can guide you through the steps above or help you recover your Apple ID if you've lost access to your recovery email and phone number. Contact them through support.apple.com.