The Two Ways to Change Your Username

Windows 11 gives you two separate paths to change your username, and which one you use depends on what kind of account you have. If you sign in with a Microsoft account (the kind that uses an email address), you change the name through Microsoft's website, and the change shows up on your PC automatically. If you use a local account (a username and password stored only on your computer), you change it directly in Windows Settings on that machine.

The Microsoft account route is more common because Windows 11 pushes you toward Microsoft accounts during setup. But many people still use local accounts, especially on older machines or in workplaces. The steps are different enough that you need to know which one you have before you start.

Key Takeaways

  • Microsoft accounts change through the Microsoft website, while local accounts change through Windows Settings on your PC.
  • To find out which type you have, open Settings, go to Accounts, and look at the top of the page — it will say either your email address or a local username.
  • Changing a Microsoft account name takes a few minutes on the web and syncs to your PC within hours.
  • Changing a local account name requires you to be signed in as an administrator on that computer.

How to Tell Which Account Type You Have

Open Settings by pressing the Windows key and typing "settings", then click the Settings app. On the left side, click Accounts. At the top of the main panel, you will see either an email address (like yourname@outlook.com) or a straightforward username. An email address means you have a Microsoft account. A plain name with no @ symbol means you have a local account.

Write down which type you have, because the next steps are completely different. If you are not sure whether you are signed in as an administrator, stay in Settings, click Accounts again, then scroll down to find "Your info". If it says "Administrator" under your name, you have admin rights on this machine.

Changing a Microsoft Account Username

Go to account.microsoft.com in your web browser and sign in with the email address and password you use on Windows 11. Once you are signed in, look for Your info on the left side of the page and click it. Near the top, you should see your current name. Click Edit name (or the pencil icon next to your name).

Type your new first name and last name in the boxes that appear. You can change just the first name, just the last name, or both. Click Next, then Save. The website will ask you to confirm your identity — you may need to enter a code sent to your email or phone. Once you confirm, the change is complete on Microsoft's servers.

Your Windows 11 PC will pick up the new name within a few hours. You do not need to restart, but if you want to see the change right away, you can sign out and sign back in. The name will appear on your lock screen, in the Start menu, and anywhere else Windows displays your account name.

Changing a Local Account Username

Open Settings and go to Accounts. On the left side, click Other people (or Family & other people depending on your Windows version). You will see a list of accounts on this PC. Find your own account name in the list and click it. Click Rename.

Type the new username you want and click Next. Windows will ask you to confirm. Click Rename again. The change takes effect when ready — you will see the new name the next time you sign in, and it will appear throughout Windows.

If you do not see a Rename button, you are not signed in as an administrator. You will need to ask someone with admin rights on this computer to make the change for you, or you can contact your IT department if this is a work machine.

What Happens to Your Files and Folders

Changing your username does not rename your user folder on the hard drive. Your files stay in the same place and work exactly as before. Windows keeps track of your account by an internal ID number, not by the name you see on screen, so renaming the account does not break anything.

If you ever need to find your user folder (the one that holds your Documents, Downloads, Desktop, and other personal folders), it will still have your old username in the path. For example, if your old username was "john" and you change it to "johnny", your files are still in C:\Users\john\. This is normal and does not cause problems. You can still access everything the same way you always have.

Troubleshooting Common Problems

If you changed your Microsoft account name on the website but it has not appeared on your PC after several hours, sign out completely and sign back in. Go to Settings, click Accounts, then Sign out. Wait a few seconds, then sign back in with your email and password. Windows will sync the new name from Microsoft's servers.

If you are trying to rename a local account and the Rename button is grayed out or missing, you do not have administrator rights. Only an admin can rename accounts. If this is your personal computer, you may have accidentally set up a standard account instead of an admin account. You will need to create a new admin account or ask someone else with admin rights to rename your account for you.

If you forgot your password and cannot sign in to change your username, you will need to reset your password first. For a Microsoft account, go to account.microsoft.com and use the "Can't access your account" link. For a local account, you will need to use a password reset disk (if you created one earlier) or have another admin on the machine reset it for you.

Frequently Asked Questions

Will changing my username log me out of Windows?

No. For a Microsoft account, the change happens on the web and syncs in the background — you stay signed in the whole time. For a local account, the change takes effect when ready but you stay signed in. You will see the new name the next time you restart or sign out and back in.

Can I change my username to something with spaces or special characters?

Microsoft account names can include spaces and most punctuation. Local account usernames have more restrictions — Windows does not allow certain characters like / \ : * ? " < > |. Stick to letters, numbers, hyphens, and underscores for local accounts to avoid problems.

What if I share this computer with other people?

Changing your username only affects your own account. Other people's accounts and usernames stay the same. Each person on the computer has their own separate account, and changes to one do not touch the others.

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

No. Your password stays the same. Changing your username and changing your password are two separate things. You can do one without doing the other.