Where to change your username and what you need first

You change your Microsoft account username through the Microsoft account website, not through Windows or Office. Go to account.microsoft.com, sign in with your current password, and look for the "Your info" section — that is where the username field lives. Before you start, know that Microsoft distinguishes between your username (the name you sign in with) and your display name (what appears to other people). This guide covers changing your username, which is the one you type into the sign-in screen.

You will need your current password and access to the email or phone number attached to your account. If you have two-factor authentication turned on — which most accounts do — you will also need to complete a verification step on your phone or through an authenticator app. Have those items ready before you begin, because the process will stop and ask for them partway through.

Key Takeaways

  • Your username is what you type to sign in, and you change it on account.microsoft.com under "Your info", not in Windows Settings.
  • Microsoft lets you change your username once every 30 days, so you cannot change it back when ready if you make a mistake.
  • Your old username stops working the moment you change it, so make sure all your devices know the new one before you sign out.
  • Changing your username does not change your email address or password — those stay the same unless you change them separately.
  • If you have a Microsoft 365 subscription or work account, you may not be able to change your username through this process.

Step-by-step: signing in and finding the username field

Open a web browser and go to account.microsoft.com. Click the "Sign in" button in the top right corner. Enter the email address or phone number you use to sign in, then your password. If you have two-factor authentication on, Microsoft will send a code to your phone or authenticator app — enter that code to finish signing in.

Once you are signed in, look at the left side of the page. You should see a menu with options like "Your info", "Security", "Privacy", and others. Click on "Your info". On this page, you will see your current username displayed near the top. It usually appears as a line that says something like "Username: yourname" or shows your email address if you sign in with email. Next to it, there should be a link or button that says "Edit" or "Change" — click that to open the username field.

Entering your new username and what Microsoft will check

When you click to edit your username, a text box will appear with your current username highlighted. Delete it and type your new username. Microsoft has rules about what usernames can contain: letters, numbers, periods, and hyphens are allowed, but spaces and special characters like @ or ! are not. Your username also has to be between 3 and 20 characters long. If you type something that breaks these rules, Microsoft will show an error message telling you what went wrong.

After you type your new username, Microsoft checks whether someone else has already taken it. If the name is available, you will see a green checkmark. If it is taken, you will see a red X and the message "This username is taken" — you will have to try a different one. This check happens in real time as you type, so you do not have to wait to find out. Once you see the green checkmark, you can move forward.

Confirming your identity before the change takes effect

Before Microsoft actually changes your username, it will ask you to prove you are the account owner. This is a security step. You will see a screen asking you to verify your identity — the method depends on what you have set up on your account. If you have two-factor authentication on, Microsoft will send a code to your phone or authenticator app. Enter that code in the box provided. If you do not have two-factor authentication, Microsoft may ask you to enter a code sent to your backup email address instead.

After you enter the verification code correctly, Microsoft will show you a confirmation screen with your new username. Read it carefully to make sure the spelling is correct — once you confirm, the change happens when ready and your old username stops working. Click the button to confirm the change. You will see a message saying your username has been updated.

What happens to your devices after you change your username

Your new username takes effect right away on the Microsoft account website, but your Windows PC, phone, or tablet may not know about it yet. The next time you sign out and try to sign back in on any device, use your new username instead of the old one. If you stay signed in on a device, it will keep working without asking you to sign in again — the change does not force you out.

If you have multiple devices, you do not have to update them all at once. However, the sooner you do, the less chance you have of accidentally typing your old username and getting confused. On a Windows PC, you can check which username is active by going to Settings > Accounts > Your info — it will show your current username there. On a phone or tablet, the username usually appears in Settings > Accounts or Settings > [Your Name] at the top of the screen.

The 30-day rule and what you cannot change this way

Microsoft enforces a 30-day waiting period between username changes. If you change your username today, you cannot change it again for 30 days. This rule exists to prevent account takeovers and confusion. If you realize you made a typo or do not like your new username, you will have to wait the full 30 days before you can change it again. There is no way to speed this up or get an exception, so take your time choosing a username you are happy with.

Changing your username does not change your email address, your password, or your phone number — those stay exactly the same. If you want to change your email address or password, you do that in different sections of the account website. Your username is only the name you type to sign in. If you have a work or school account through Microsoft 365, or if your account is managed by an organization, you may not be able to change your username through this process — your IT department or administrator controls it instead.

Troubleshooting: username not changing or verification code not arriving

If you click "Confirm" and nothing happens, or you see an error message, try refreshing the page and signing in again. Sometimes a browser glitch prevents the change from going through. If the page still will not let you change your username, clear your browser cache and cookies, then try again in a different browser. If you are using Internet Explorer, try Chrome or Firefox instead — older browsers sometimes have trouble with the Microsoft account website.

If Microsoft sends a verification code but you do not receive it, check your phone's text messages or your authenticator app — sometimes codes take a few seconds to arrive. If nothing shows up after two minutes, click "Send code again" or "Resend" on the screen. If you still do not receive a code, you may need to update your phone number or backup email address in the Security section of your account, then try changing your username again. If you are completely locked out, you can use the account recovery process on the Microsoft sign-in page to regain access.

Frequently Asked Questions

Can I change my username back to what it was before?

Not when ready. You have to wait 30 days after changing your username before you can change it again. If someone else takes your old username in the meantime, you cannot reclaim it. Choose your new username carefully because you are stuck with it for at least a month.

Will changing my username log me out of everything?

No. You will stay signed in on all your devices until you sign out. The next time you sign in on any device, you will use your new username. Devices you stay signed in on will keep working without interruption.

What if my username is taken when I try to change it?

Try a different username. You can add numbers, periods, or hyphens to make it unique — for example, if "john.smith" is taken, try "john.smith2" or "john-smith". Microsoft checks availability in real time, so you will know when ready if a name is available.

Do I need to change my password when I change my username?

No. Your password stays the same. Changing your username does not affect your password, email address, or any other account settings. If you want to change your password for security reasons, you can do that separately in the Security section of your account.

Can I change my username if I have a work or school account?

Probably not through this process. Work and school accounts are usually managed by your organization's IT department or administrator. Contact them to request a username change. Personal Microsoft accounts (the ones you create yourself) can be changed through the steps in this guide.