Security

Password Reset for a Microsoft Account Online: Step by Step

To reset your Microsoft account password online, go to the sign-in page, select Forgotten your password?, choose where Microsoft should send a verification code, enter the code and type a new password. If you no longer have access to any listed email address or phone number, use Microsoft's sign-in helper instead.

This guide covers personal Microsoft accounts: the ones used for Outlook.com, Xbox, OneDrive, Microsoft 365 at home and Windows sign-in. Work and school accounts follow a different route, described near the end. The steps below follow Microsoft Support pages as read in November 2026. Microsoft changes its sign-in screens often, so button labels may differ slightly.

Pick the right method

Your situationUse this
You know the current password and want a new oneChange it at account.microsoft.com, under Security
You forgot the password and can receive a code by email or phoneThe standard reset flow (below)
You forgot it and cannot receive a code, but made a recovery code earlierThe recovery code route
You forgot it and have no access to any listed contactThe sign-in helper
It is a work or school accountpasswordreset.microsoftonline.com, or your administrator

How to reset a forgotten Microsoft account password online

Microsoft describes the reset as four steps:

  1. Start the reset. On the sign-in page, enter your account name. On the Enter password window, select Forgotten your password?. If that window is not open, select Reset password, enter the username and select Next.
  2. Verify your identity. Microsoft says it must verify your identity before you can continue. Choose how you want to receive a verification code, then select Next.
  3. Get the code. Microsoft shows a partly hidden email address or phone number. Retype the first part of the email address, or the last four digits of the phone number, and select Get code. Then check that inbox or phone.
  4. Set the new password. Type or paste the code, select Next, enter the new password and select Next again.

The retyping step is a check that you recognise the contact. If the hint looks wrong to you, for example an old work address you left years ago, do not guess. Go to the sign-in helper route below.

You can also start from a browser at account.live.com/ResetPassword.aspx, which Microsoft lists as the page to open from any browser when you are not signed in to Windows.

Change the password if you still know it

This is not a reset, but people search for it under the same phrase, so it is worth separating. If you know the current password:

  1. Sign in at account.microsoft.com and open Security.
  2. Select the Change Password link at the top of the page.
  3. Enter the new password and select Save.

There is an optional checkbox on that page that prompts you to update the password every 72 days. Microsoft's page does not state any length limit or character requirements, so pick a long, unique password and store it in a password manager. For how to judge strength, see how to create a strong password.

Reset it from Windows

If your Windows PC signs in with a Microsoft account, Microsoft lists three ways to reset the password when you are signed out:

  • At the sign-in screen, select I forgot my password.
  • Select Sign-in options, choose Web sign-in, sign in, then select Forgot my password.
  • From any other device with a browser, open account.live.com/ResetPassword.aspx.

If you are already signed in to Windows, open Settings, then Accounts, then Sign-in options. Select Password, then Change. If you do not remember the current password, select Forgot my current password and verify your account to create a new one.

Microsoft also notes that if you forgot the account password but know your PIN, you can use these Settings steps to change the password. A PIN is separate from the password, and the page does not give steps for resetting the PIN itself. For that, see how to change or reset a Windows Hello PIN.

A local Windows account, one that is not tied to Microsoft, works differently: you answer the security questions you set when you created it. The online reset does not apply to those accounts.

If you cannot receive a verification code

The standard flow breaks when the email address or phone number on the account is out of date. Microsoft points to three fallbacks:

  • No sending option appears, or you cannot reach any listed option. Use the sign-in helper that Microsoft links from its reset page.
  • You do not recognise any of the listed options. Microsoft links a separate helper for this case.
  • The code never arrives. Microsoft has a dedicated troubleshooting page for verification code problems. Check the spam folder and the phone's signal first, and confirm you retyped the hint exactly.

Microsoft's reset page does not describe what the helper asks or how long it takes, so treat any figure from a third-party site with caution. Use a device and network you normally sign in from, and give details you are sure of.

Use a recovery code

A recovery code is a 25-digit code you generate ahead of time. If you made one, it can stand in for the email or text code. Microsoft's steps:

  1. Enter your username at account.microsoft.com/account.
  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. At the Do you have an account recovery code? prompt, enter the code. It is not case-sensitive, and spaces or dashes are not required.
  5. Once the code is accepted, set a new password.

You generate a code on the Manage how I sign in page at account.live.com/proofs/manage/additional: scroll to Recovery code and select Generate a new code. Microsoft advises printing it and keeping it somewhere safe, not on a device you use to sign in. You cannot retrieve or download an existing code, and creating a new one invalidates all earlier codes. Menu steps can vary with your account's security level and the contacts you have added.

Work or school accounts

If you sign in with an address issued by an employer or school, the personal flow is the wrong tool. Microsoft says customer support cannot help with a work or school password. If your organization has turned on self-service reset, go to passwordreset.microsoftonline.com. Otherwise contact your administrator or help desk, who can reset it for you.

After the reset

Expect to be asked for the new password on each device and app that used the old one, including Outlook, OneDrive, Xbox and Windows itself. Update any password manager entry at the same time so the old one does not get autofilled.

Then look at the account's security settings while you are signed in. Check that the recovery email and phone number are current, because those are what a future reset depends on. Consider generating a recovery code and storing it on paper. Microsoft's change-password page also mentions that you can remove your password or require two-step sign-in for additional security.

If you reuse passwords across sites, change those too. For a comparable process on another provider, see how to change your Gmail password.

If the reset still fails

  • Microsoft Support cannot do it for you. Its pages state that agents are not allowed to send password reset links or access and change account details, and that support cannot help you retrieve or circumvent a lost password. Contacting support will not shortcut the process.
  • The account name is not recognised. You may have signed up with a different address. Microsoft has a help page for finding the account you use with Microsoft 365.
  • The reset page shows contacts you no longer own. Use the sign-in helper rather than guessing the hint.
  • You received a code you did not request. Someone may be trying to reset your account. Do not share the code with anyone, including people who say they are from Microsoft. Sign in and change your password.

Frequently asked questions

Can Microsoft Support reset my password for me?
No. Microsoft's help pages say support agents are not allowed to send password reset links, or access and change account details, and that support cannot help you retrieve or circumvent a lost or forgotten password. The reset has to go through the self-service flow.
What is the difference between changing and resetting a Microsoft account password?
Changing needs your current password: you sign in at account.microsoft.com, open Security and choose Change Password. Resetting is for when you have forgotten it, and requires a verification code sent to the email address or phone number on the account, or a recovery code.
Does this work for a work or school account?
Not through the personal flow. Microsoft says customer support cannot help with a work or school password. Use passwordreset.microsoftonline.com if your organization has enabled self-service reset, or ask your administrator or help desk.
What is a Microsoft account recovery code?
It is a 25-digit code you generate in advance on the Manage how I sign in page. It lets you reset the password when you cannot receive a verification code. Microsoft says generating a new code invalidates all earlier ones, and an existing code cannot be retrieved.

Sources