The fastest way depends on what you remember and what system you use
If you have forgotten your password, the path forward depends on three things: whether you use Windows or Mac, whether you can access another account on that computer, and whether you set up a password reset disk or recovery email beforehand. Windows and Mac both have built-in recovery paths, but they work differently and take different amounts of time. On Windows, you can reset from the login screen itself if you set up a security question or recovery email. On Mac, you can use your Apple ID or a recovery key. If neither of those options is available to you, you will need to restart your computer in recovery mode and create a new password from there.
The method you choose will determine how long the process takes and what information you need on hand. Some paths take minutes; others require you to have prepared beforehand. Understanding which option applies to your situation now will save you time and frustration.
Key Takeaways
- Windows lets you reset your password from the login screen if you provided a recovery email or phone number when you set up your account.
- Mac users can reset using their Apple ID, or by restarting into Recovery Mode and creating a new password without knowing the old one.
- If you have access to another administrator account on the same computer, you can reset the forgotten password from that account's settings.
- Password reset disks and recovery keys, created before you forget your password, are the fastest recovery method — keep them somewhere safe.
- If none of these paths work, you may need to reinstall your operating system, which erases the drive.
Windows: resetting from the login screen
When you reach the Windows login screen and cannot remember your password, look for the text "I forgot my password" below the password field. Click it. Windows will ask you to verify your identity using either a security code sent to your recovery email address or a code sent to your phone number — whichever you provided when you created the account.
If you set up a security question during account creation, Windows may ask you to answer it instead. Once you verify your identity, you will be taken to a screen where you can type a new password. This new password takes effect when ready, and you can log in right away. This method works only if you provided a recovery email or phone number at the time you set up your Windows account.
Windows: using another administrator account
If you have access to a different administrator account on the same computer, you can reset the forgotten password without leaving the computer. Log in using the account you do remember. Then open Settings, go to Accounts, and select "Other people." Find the account with the forgotten password and click it. Select "Reset password." Windows will ask you to create a new password for that account.
You will not need to know the old password to do this. Once you create the new password, log out and log back in using the account you just reset. The new password is now active. This method is often the fastest if you have another working account available.
Mac: resetting with your Apple ID
On a Mac, if you have forgotten your login password, restart the computer and wait for the login screen to appear. Look for a question mark icon or a "Reset Password" option on the login screen — the exact appearance depends on your macOS version. Click it. Your Mac will ask you to enter your Apple ID and password. Once you do, you can create a new login password for your Mac account.
This method requires that your Mac account is linked to an Apple ID, which most modern Macs are by default. If your Mac is not linked to an Apple ID, you will need to use Recovery Mode instead. The entire process typically takes five to ten minutes if you remember your Apple ID credentials.
Mac: using Recovery Mode
If you cannot reset your password using your Apple ID, restart your Mac and hold down Command and R together as it starts up. Keep holding until you see the Apple logo or a spinning globe. This boots your Mac into Recovery Mode. Once Recovery Mode loads, click Utilities in the menu bar, then select Terminal. In the Terminal window, type resetpassword and press Enter. A password reset window will open, allowing you to select your account and create a new password without knowing the old one.
After you create the new password, close Terminal and restart your Mac normally. You can now log in with the new password. Recovery Mode works on any Mac, regardless of whether it is linked to an Apple ID. This method does not require internet access and does not erase your files.
Using a password reset disk (Windows only)
If you created a password reset disk before you forgot your password, you can use it to reset your password from the Windows login screen. Insert the disk into your computer. At the login screen, click "I forgot my password," and Windows will detect the reset disk. Follow the prompts to create a new password. This method is faster than email or phone verification because it does not require internet access or waiting for a code to arrive.
If you have not yet created a reset disk, you can only do so while you are logged in to your account. Open Control Panel, go to User Accounts, and select "Create a password reset disk." Windows will guide you through saving a file to a USB drive or external disk. Store this disk somewhere safe in case you need it later. Creating one takes about five minutes and can save you significant time if you ever forget your password.
When you cannot use any recovery method
If you have no recovery email, no phone number on file, no access to another administrator account, and no password reset disk, your only option is to reinstall your operating system. This erases everything on your computer's drive, including all your files, programs, and settings. You will need a blank USB drive and access to another computer to read the Windows or macOS installer.
For Windows, go to microsoft.com/software-read/windows and read the Windows installation tool. For Mac, restart your computer in Recovery Mode (Command and R), click Utilities, and select Reinstall macOS. Both processes will guide you through creating a new account and password. This is a last resort and should only be done if you have backed up your important files to an external drive or cloud storage beforehand. The reinstall process typically takes one to two hours depending on your internet speed.
Frequently Asked Questions
Can I reset my password if I do not have internet access?
On Windows, you can use a password reset disk if you created one beforehand — this does not require internet. On Mac, Recovery Mode does not require internet either. If you do not have either of these, you will need internet access to verify your identity through email or phone, or to read an operating system installer.
What if I forgot my Apple ID password too?
Go to iforgot.apple.com on another device and follow Apple's account recovery process. You will need to verify your identity using a trusted phone number or recovery email linked to your Apple ID. Once you regain access to your Apple ID, you can use it to reset your Mac login password.
Will resetting my password delete my files?
No. Resetting your password changes only the password itself. Your files, programs, and settings remain on your computer. The only exception is reinstalling your operating system, which erases the entire drive — that is why it should be a last resort.
How do I prevent this from happening again?
On Windows, make sure your account has a recovery email and phone number set up in Settings. On Mac, link your account to an Apple ID. Both systems also let you create a recovery key — write this down and store it somewhere safe. These steps take five minutes and can save you hours of trouble later.