What you can do when a device won't let you in
If you're locked out of a device you own, your options depend on what kind of device it is and what password you're trying to bypass. The most straightforward path is usually to use the account recovery method built into the device itself — a backup email, a phone number, or security questions you set up when you created the account. These exist specifically for situations like yours.
For computers and phones, the manufacturer provides official recovery tools. For Windows, that's your Microsoft account recovery page. For Mac, it's your Apple ID recovery process. For Android and iPhone, it's the same account system you use to sign in. These methods take longer than remembering your password, but they're designed to prove you own the device without requiring you to know the password.
The reason to start here: these official routes work reliably, don't risk damaging your device or losing your data, and don't require technical knowledge. They're also the only option that works if someone else set the password and locked you out of your own device.
Key Takeaways
- The fastest recovery method is usually the backup email or phone number you provided when you created your account — the manufacturer can send you a reset link there.
- If you don't remember that backup contact, security questions or a recovery code you saved during setup can work instead.
- Windows, Mac, Android, and iPhone all have official account recovery pages you can reach from the login screen without knowing the password.
- If you set up two-factor authentication, you'll need access to that second device or method to prove you own the account.
- Local account passwords on Windows can sometimes be reset using a password reset disk you created before you forgot the password, or by booting into Safe Mode.
Using your backup email or phone number
When you first created your account — whether it's Microsoft, Apple, Google, or another service — you provided a backup email address or phone number. This is the fastest way back in if you still have access to that email or phone.
On the login screen, look for a link that says "Can't sign in?", "Forgot your password?", or "Need help signing in?" Click it. The system will ask you to enter your username or email, then offer to send a reset link to your backup email or a code to your backup phone number. Check that email inbox or text messages, click the link or enter the code, and you'll be able to set a new password.
This works on Windows (using your Microsoft account), Mac (using your Apple ID), iPhone and iPad (using your Apple ID), and Android phones (using your Google account). The exact wording changes, but the process is the same: prove you control the backup contact, then reset the password.
Recovering with security questions or a recovery code
If you don't have access to your backup email or phone anymore, the next option is security questions. During account setup, you answered questions like "What was the name of your first pet?" or "What city were you born in?" On the password reset screen, the system may ask you to answer these questions instead of sending a code.
Some services also give you a recovery code — a long string of numbers or letters — when you first set up the account. If you saved this code somewhere safe (a notebook, a password manager, a file on another device), you can use it to reset your password without needing the backup email or phone. The code proves you had access to the account at the time it was created.
If you can't remember the answers to your security questions and don't have the recovery code, you'll need to contact the manufacturer's support team. Have your device serial number, proof of purchase, or other information that proves you own the device. This process takes longer — usually several days — but it's designed to prevent someone else from taking over your account.
Resetting a Windows local account password
If you use a local account on Windows (not connected to a Microsoft account), you have two additional options that don't require internet or a backup contact.
The first is a password reset disk. If you created one before you forgot your password, you can use it now. Insert the disk or USB drive at the Windows login screen, click "Reset password", and follow the prompts. The disk contains a key that lets you set a new password without knowing the old one. If you didn't create a reset disk, this option won't work — you can't create one after you've forgotten the password.
The second option is booting into Safe Mode with Command Prompt. This is more technical and carries a small risk of data loss if something goes wrong, so it's worth trying the account recovery method first. If you decide to try it, you'll need to restart your computer, press F8 or Shift+F8 during startup, select Safe Mode with Command Prompt, and use the net user command to reset the password. Instructions for this vary by Windows version, and it's straightforward to make a mistake, so look up the exact steps for your version before you try.
What to do if two-factor authentication is blocking you
If you set up two-factor authentication — a second verification step using your phone, an authenticator app, or a security key — you'll need that second device or method to reset your password, even if you have access to your backup email.
If you still have the phone or device that receives the second factor, use it. If you lost that device or no longer have access to it, look for a "Can't access your authentication method?" or similar link on the two-factor screen. This usually lets you verify your identity another way — by answering security questions, providing a recovery code, or contacting support.
If you saved recovery codes when you first set up two-factor authentication, this is where they become essential. These codes are usually a list of one-time passwords you can use if you lose access to your main authentication method. If you have them, enter one now. If you don't have them and can't access your second factor, you'll need to contact the manufacturer's support team with proof that you own the device.
Getting help from manufacturer support
If none of the above options work — you don't remember your backup email, you can't answer your security questions, you don't have your recovery code, and you can't access your two-factor device — the manufacturer's support team can help you regain access. This is a slower process, but it's designed to prevent someone else from taking over your account.
Contact Microsoft Support (for Windows), Apple Support (for Mac, iPhone, or iPad), or Google Support (for Android). Have your device serial number, proof of purchase, or billing information ready. They'll verify that you own the device and account, then help you reset your password. This usually takes several business days.
Be honest about what happened. If you forgot the password, say so. If someone else set it and locked you out, explain that. Support teams have different processes for different situations, and being clear about yours gets you to the right solution faster.
Protecting yourself from this happening again
Once you're back in, take a few minutes to set up recovery options so you don't get locked out again. Add a backup email address and phone number to your account. Write down your recovery codes and store them somewhere safe — a notebook in a drawer, a password manager, or a safe deposit box. If you use two-factor authentication, save the recovery codes it gives you.
Consider using a password manager like Bitwarden, 1Password, or KeePass. These programs remember your passwords for you, so you don't have to. They also generate strong passwords and fill them in automatically, which means you're less likely to forget them because you rarely type them.
If you're worried about forgetting your main password to the password manager itself, write it down and store it somewhere very find — a safe, a safe deposit box, or with a trusted family member. This is the one password worth writing down because it protects all the others.
Frequently Asked Questions
Can I reset my password if I don't have access to my backup email or phone?
Yes, if you set up security questions or saved recovery codes when you created the account. Answer the security questions or enter a recovery code on the password reset screen. If you didn't set those up and can't access your backup contact, you'll need to contact the manufacturer's support team with proof that you own the device.
How long does it take to regain access through manufacturer support?
Usually three to five business days, depending on how quickly you can provide proof of ownership and how busy the support team is. Having your device serial number, proof of purchase, or billing information ready speeds this up.
Will resetting my password delete my files?
No. Resetting your password through the official account recovery method doesn't touch your files or data. They stay on your device and you'll have access to them once you sign in with your new password.
What if I'm locked out of the email address I used as my backup contact?
If you can't access that email anymore, use your security questions or recovery code instead. If you don't have those, contact the manufacturer's support team. They can verify your identity another way and help you regain access to both accounts.
Can I use these methods if someone else set the password on my device?
Yes, but you'll need to prove you own the device. If you can access your backup email or phone, use the standard password reset. If not, contact manufacturer support with proof of ownership like your serial number or receipt. Support teams handle these situations regularly.