Fix-it guideSecurity

Locked out of your Microsoft account? How to get back in

Technical Terrence · November 29, 2026

You forgot the password, the code goes to an old phone number, or the password just stopped working. Now you can’t get into Outlook.com, Hotmail, Xbox, or Windows sign-in.

Microsoft gives you a few ways back in. Try them in this order, from quickest to slowest. The last one, the account recovery form, works, but it takes time and only if you give it good information.

This guide is for personal Microsoft accounts (Outlook.com, Hotmail, Live, Xbox, and the account you use to sign in to Windows at home). If it’s a work or school account, stop here and contact your IT department. Your organization manages those passwords, not Microsoft’s consumer support.

A Microsoft sign-in window with the account covered and Forgot password highlighted, plus a reminder that this is for personal accounts only.

Before you start

  • Use a device and network you’ve used before. Microsoft recommends filling out recovery from a device you’ve signed in on, at a place you normally use it, like home or work.
  • Never pay anyone to recover your account. Microsoft says its support agents aren’t allowed to send password reset links or change account details. Anyone who calls or messages offering to “unlock” your account for a fee is a scam.
  • If you think someone else got in, this is also the right guide. When you’re back in, finish with I clicked a phishing link. Now what? for the clean-up steps.

1. Reset the password with a code

If you still have the phone or backup email on the account, this is the fast way.

  1. Go to the Microsoft sign-in page and enter your email, phone, or Skype name.
  2. On the password screen, select Forgot password?
  3. Choose where to get a verification code, such as a text to your phone or an email to your backup address.
  4. Microsoft asks you to confirm part of it, like the first part of the email address or the last four digits of the phone number. Type it and select Get code.
  5. Enter the code, select Next, and set a new password.

If you have two-step verification turned on, you’ll need two codes from two different methods to reset the password.

If you just know the password and want to change it, sign in at account.microsoft.com/security and select Change password instead.

2. Use a recovery code, if you saved one

A Microsoft recovery code is a 25-digit code you can create ahead of time. If you printed one and kept it somewhere safe, now is when it pays off.

  1. Start signing in and enter your username.
  2. Select Other ways to sign in, then Use my password, then Forgot password?
  3. Select Use a different verification option, then I don’t have any of these.
  4. When you’re asked Do you have an account recovery code?, enter it. Spaces and dashes don’t matter.
  5. Set a new password.

The exact screens can vary depending on how your account is set up. Once you’re back in, make a new recovery code from your Microsoft account security settings.

The sign-in path to enter a Microsoft recovery code, ending at Do you have an account recovery code, with the code field covered.

3. Try the Sign-in Helper

If you don’t see a code option, don’t recognize the phone or email on the account, or the password suddenly stopped working, use Microsoft’s Sign-in Helper. You can reach it from the Can’t sign in? links on Microsoft’s account help pages.

It asks for your email or phone number and then points you to the right next step for your situation, which might be unblocking the account, resetting the password, or the recovery form.

4. Fill out the account recovery form

This is the last resort when nothing above works. Microsoft reviews the answers and replies within 24 hours.

Important: If you turned on two-step verification and can’t use any of your other verification methods, Microsoft says it can’t help you through the form. That’s why it’s worth saving a recovery code now (see the quick tip below).

Get ready first

  1. Have a working email address that isn’t the locked one. Microsoft will send the result there. A friend’s or family member’s address is fine. You can also create a free Outlook.com address just for this.
  2. Gather details only the real owner would know. Microsoft’s questions can include:
    • Old passwords you’ve used on this account (check your browser’s saved passwords)
    • Contacts you’ve emailed from this account
    • Exact subject lines of recent emails you sent
    • Skype contacts or Xbox console details, if you used those
  3. Guess if you’re not sure. Microsoft says wrong answers don’t count against you. Fill in everything you can, and use “add more” when it’s offered.

Fill it out and wait

  1. Open the account recovery form from Microsoft’s Help with the Microsoft account recovery form page.
  2. Enter the account you’re recovering and your working contact email. Confirm that email with the code Microsoft sends.
  3. Answer the questions as completely as you can.
  4. Submit, then watch the contact email. Microsoft says it replies within 24 hours.

If it can’t verify you, you can try again, up to two times per day. Each time, add more detail: older passwords, more contacts, more exact subject lines.

A two-part graphic for the Microsoft account recovery form: gather a working email and details only the owner would know, then submit and wait up to 24 hours.

5. Once you’re back in

Do these right away so this doesn’t happen again:

  1. Check your security info at account.microsoft.com/security under Manage how I sign in. Remove any phone or email you don’t recognize and add current ones.
  2. Create a recovery code and keep it somewhere safe, not on the same device you sign in with.
  3. Look at Recent activity for sign-ins that weren’t you. See Check recent sign-ins on your Microsoft account.
  4. If someone else was in the account, Microsoft resets some settings. Check mail forwarding and automatic replies, and scan your PC with Windows Security (Scan options > Full scan) before you change passwords on other sites.
  5. Consider a passkey so you don’t need to remember the password at all. You can add one in your Microsoft account security settings.

What not to do

  • Don’t pay a “recovery service” or call a phone number from a search ad. Microsoft agents can’t send reset links.
  • Don’t create a new account and abandon the old one until you’ve tried the form a few times. Purchases, files, and mail stay with the old account.
  • Don’t leave fields blank on the recovery form if you can make a reasonable guess.

Last updated: November 29, 2026

Sources checked