Reset Your iMac Without the Password Using Recovery Mode
You can reset your iMac password without knowing the current one by using Recovery Mode, a built-in tool that starts your Mac from Apple's system files instead of your normal drive. Recovery Mode lets you access password reset tools and account management without logging in first. The process takes 15 to 30 minutes and works on any iMac made in the last ten years.
The steps differ slightly depending on whether your iMac has an Apple Silicon chip (M1, M2, M3) or an Intel processor. Both routes use Recovery Mode, but the startup method is different. You will need physical access to the iMac and the ability to restart it.
Key Takeaways
- Recovery Mode is built into every iMac and does not require a password to enter — you start it by holding keys during startup.
- On Intel iMacs, hold Command + R during startup; on Apple Silicon iMacs, hold and release the power button until "Loading startup options" appears.
- Once in Recovery Mode, use the Utilities menu to open Terminal or Account Reset, both of which let you create a new password without the old one.
- If you have a second admin account on the iMac, you can reset the forgotten password from that account without using Recovery Mode.
- If Find My Mac is turned on, Apple's servers have a record of your account — you may be able to reset through iCloud.com instead.
How to Enter Recovery Mode on an Intel iMac
Shut down your iMac completely. Press the power button to turn it on, then when ready hold down Command + R (the Command key and the R key together). Keep holding both keys until you see the Apple logo or a spinning globe on the screen. This usually takes 10 to 20 seconds. Release the keys once the Recovery Mode window appears.
You will see a macOS Utilities window with several options. The window shows "Utilities" in the menu bar at the top. You are now in Recovery Mode and can proceed to reset your password using either Terminal or Account Reset, described in the sections below.
How to Enter Recovery Mode on an Apple Silicon iMac
Shut down your iMac completely. Press and hold the power button on the back of the iMac (or on the keyboard if you have a wireless one). Hold it until you see text that says "Loading startup options" — this takes about 10 seconds. Release the button. A window will appear showing your startup disks and a gear icon labeled "Options."
Click the gear icon, then click "Continue." You will be asked to select a user account and enter a password. If you do not remember the password, look for a link or button that says "Reset Password" or similar — the exact wording varies by macOS version. If that option does not appear, restart and try the Terminal method described below instead.
Reset the Password Using Account Reset (Easiest Method)
In Recovery Mode, click the Utilities menu at the top of the screen, then select Reset Password. A window will open asking you to choose which user account to reset. Select the account you cannot log into, then click the arrow or "Next" button.
The tool will ask you to select your startup disk (usually "Macintosh HD" or similar). Click it, then click "Next." You will then be prompted to create a new password. Type a password you will remember, type it again to confirm, and click "Reset." The tool will confirm that the password has been changed. Restart your iMac and log in with the new password.
Reset the Password Using Terminal (If Account Reset Is Not Available)
In Recovery Mode, click Utilities in the menu bar, then select Terminal. A black command-line window will open. Type the following command exactly as shown and press Enter:
resetpassword
The Reset Password window will open — this is the same tool described in the section above. Follow those steps to create a new password. If the command does not work, try typing launchctl load /System/Library/LaunchDaemons/com.apple.loginwindow.plist and pressing Enter, then closing Terminal and trying the Utilities menu again.
Reset Using a Second Admin Account (If You Have One)
If another person on your iMac has an admin account and you know their password, you do not need Recovery Mode. Log in with that account, click the Apple menu in the top left, select System Settings (or System Preferences on older macOS), then click General or Users & Groups.
Find the account you need to reset in the list on the left, click it, then click the lock icon at the bottom and enter the admin password. Look for a button that says "Reset Password" or a gear icon with a menu. Click it and set a new password. The forgotten account will be able to log in with the new password on the next restart.
Reset Through iCloud If Find My Mac Is Enabled
If you set up Find My Mac on your iMac and remember your Apple ID password, you can reset your account password through iCloud.com without touching the iMac. Go to iCloud.com on any other device, sign in with your Apple ID, click "Find My," then select your iMac from the device list.
Click "Erase Mac" or "Reset Password" if that option appears (availability depends on your macOS version and iCloud settings). If you choose to reset the password, you will be asked to create a new one. The change takes a few minutes to sync to your iMac. This method works only if Find My Mac was turned on before you forgot the password.
What to Do If None of These Methods Work
If Recovery Mode will not start, the reset tools are not available, and you do not have a second admin account or iCloud access, your iMac may have a firmware password set. A firmware password prevents Recovery Mode from starting without the correct code. You will need to contact Apple Support or visit an Apple Store with proof of ownership — they can help you regain access.
If you own the iMac but cannot prove it, Apple may ask for a receipt, credit card statement, or other documentation showing the purchase. This is a security measure to prevent unauthorized access to stolen devices. Bring whatever documentation you have.
Frequently Asked Questions
Will resetting my password delete my files?
No. Resetting your password changes only the login credentials — your documents, photos, applications, and all other files remain on the iMac. You will be able to access them once you log in with the new password.
Can I reset the password if I do not remember my Apple ID?
Yes. Recovery Mode and the second admin account method do not require your Apple ID. The iCloud method does require it. If you forgot your Apple ID password, go to iforgot.apple.com to reset that separately before trying the iCloud method.
How long does it take to reset the password?
The actual reset takes 2 to 5 minutes once you are in Recovery Mode. Getting into Recovery Mode and restarting the iMac adds another 10 to 20 minutes. The entire process usually takes 20 to 30 minutes from start to finish.
What if my iMac asks for a recovery key instead of a password?
A recovery key is a 28-character code separate from your password, usually used with FileVault encryption. If you have the recovery key, you can use it to unlock the iMac instead of resetting the password. If you do not have it, you will need to use Recovery Mode as described above.
Can I reset the password remotely without being at the iMac?
Only through iCloud.com if Find My Mac is enabled and you remember your Apple ID password. All other methods require you to be at the iMac and able to restart it. Remote access tools like TeamViewer or Apple Remote Desktop require you to already be logged in, so they do not help if you are locked out.