What to do when you can't remember your password

If you've forgotten your password, your first move depends on what device you're locked out of and whether you set up a recovery method when you created the account. Most devices and services let you reset a password through email, a phone number, or security questions — but only if you registered those details beforehand. If you didn't, the process is slower and may require proof of ownership.

The fastest path is usually the one you set up first: check your email for a password reset link, or look for a "Forgot password?" button on the login screen. If that doesn't work, you'll need to use a backup method like a recovery phone number or a recovery code you saved earlier.

Key Takeaways

  • Most services send a password reset link to your registered email address when you click "Forgot password?" on the login screen.
  • If you can't access that email account, you can use a backup phone number or recovery codes you saved when you first set up the account.
  • For devices like Windows or Mac computers, you may need to use a local account recovery method or contact the manufacturer if you have no backup options.
  • Recovery codes — long strings of numbers or letters you save in a safe place — are the most reliable backup if your email and phone are both unavailable.
  • If you set up two-factor authentication, you'll need access to your phone or email to prove your identity, even after you reset your password.

Password reset through email

On almost every website and app, the "Forgot password?" link on the login screen will ask for your username or email address. Enter the email you used when you created the account. Within a few minutes, you should receive an email with a link that lets you set a new password.

Click the link in that email — don't copy and paste it if you can avoid it, because links sometimes break that way. You'll be taken to a page where you can type a new password. Make sure your new password is different from old ones you've used, and write it down somewhere safe until you're sure you'll remember it.

If you don't see the email after five minutes, check your spam or junk folder. Some email providers filter password reset messages by mistake. If it's not there, try the reset again, or move to a backup recovery method.

Using a backup phone number or recovery email

When you first created your account, you may have registered a backup phone number or a second email address. If the password reset email didn't arrive, the service may offer to send a code to that phone number instead, or to your backup email.

If you see an option to "verify with a phone number" or "use backup email," select it. You'll receive a code by text message or email. Enter that code on the login page, and you'll be able to set a new password.

This method works only if you still have access to that phone number or email account. If you've changed phone numbers or no longer use that email, you'll need to try a different recovery method.

Recovery codes and backup authentication methods

If you set up two-factor authentication or security keys when you created your account, you may have received a set of recovery codes — usually 8 to 10 long strings of numbers or letters. These codes are meant to be saved in a safe place, like a password manager or a locked drawer, for exactly this situation.

If you have those codes, you can often use one to regain access without needing your email or phone. Look for a "use a recovery code" option on the login screen, or contact the service's support team and tell them you have a recovery code. They can verify your identity using that code and help you reset your password.

If you don't have the recovery codes and you can't access your email or phone, you'll need to prove you own the account through other means — usually by answering security questions you set up, providing a government ID, or contacting support with details about your account.

Resetting a Windows computer password

If you've forgotten the password to your Windows computer itself (not just an online account), you have a few options depending on whether you set up a password reset disk or linked the computer to a Microsoft account.

The easiest method is to use a Microsoft account. If your Windows login is connected to your Microsoft email, you can click "I forgot my password" on the login screen. Windows will ask you to verify your identity through your email or phone, then let you set a new password. This works the same way as resetting any other online account.

If you use a local account (one that exists only on that computer) and you didn't create a password reset disk, you'll need to restart the computer in Safe Mode or use a Windows installation disk to reset the password. This process is more involved and may require help from someone with technical knowledge, or from Microsoft support.

Resetting a Mac password

On a Mac, if you've forgotten your login password, you can use your Apple ID to reset it. Restart the computer and hold Command + Q when you see the login screen. This opens the login options. Click the question mark icon, and macOS will ask for your Apple ID and password. Once you verify your identity, you can set a new Mac password.

If you don't remember your Apple ID password either, you'll need to reset that first on another device or computer. Go to iforgot.apple.com, enter your Apple ID email, and follow the steps to reset it using your phone number or recovery email.

If you didn't set up an Apple ID on your Mac, or if you're using a local account, you may need to use your Mac installation disk or contact Apple support for help.

When you can't access any recovery method

If you've forgotten your password and you don't have access to your email, phone, recovery codes, or security questions, you'll need to prove ownership of the account or device directly to the service or manufacturer.

Contact the support team for the service or device. Be ready to provide information like the email address on the account, the phone number you registered, the date you created the account, or recent activity you remember. Some services will ask for a government ID or a credit card you used to pay for the account.

This process can take several days or longer, because support teams verify your identity carefully to prevent someone else from taking over your account. Be patient, and keep copies of any emails or reference numbers they give you.

How to avoid this in the future

The best protection against a forgotten password is to use a password manager — a program like Bitwarden, 1Password, or KeePass that stores all your passwords in one encrypted place. You only have to remember one strong master password, and the manager fills in your passwords for you.

If you don't use a password manager, write your passwords down on paper and keep them in a locked drawer or safe at home. Never email them to yourself or store them in an unencrypted document on your computer.

When you create a new account, always register a backup email address and phone number, and save any recovery codes in a safe place. These take two minutes to set up and can save you hours of trouble later.

Frequently Asked Questions

How long does it take to reset a forgotten password?

If you have access to your registered email or phone, you can reset your password in minutes. If you need to contact support and prove your identity, it usually takes one to three business days, though some services take longer.

Can someone else reset my password if they have my email address?

No. They would need access to your email account to click the reset link. This is why protecting your email password is so important — if someone gets into your email, they can reset passwords for all your other accounts.

What's the difference between a password reset and account recovery?

A password reset lets you set a new password when you remember your username or email. Account recovery is what you do when you can't access the account at all and need to prove you own it. Recovery takes longer because the service has to verify your identity.

Should I write down my passwords?

Writing passwords on paper and storing them in a locked drawer at home is safer than storing them in an email or unencrypted file on your computer. A password manager is even better because it encrypts all your passwords in one place.

What if I'm locked out of my email account too?

If you can't access your email, you'll need to reset that password first using your phone number or recovery email. Once you regain access to your email, you can use it to reset passwords for all your other accounts.