Where Your Username Appears in File Explorer
Your Windows username shows up in File Explorer in two places: the folder path at the top (where it says C:\Users\YourName) and in the sidebar under "Quick access" when you see your user folder. Changing your username updates both of these locations. The process itself happens in Windows Settings, not in File Explorer — File Explorer just displays what your system already knows.
Windows 11 distinguishes between your local account username (the name on your computer only) and your Microsoft account name (the email address you use to sign in). If you sign in with a Microsoft account, you have two separate names to manage. This guide covers both scenarios.
Key Takeaways
- Local account usernames are changed through Settings > Accounts > Other users, and the change appears in File Explorer when ready.
- Microsoft account names cannot be changed directly in Windows — you must change them through your Microsoft account online, and the change syncs to File Explorer within a few hours.
- Changing your username does not move or rename your user folder (C:\Users\OldName stays the same), so File Explorer paths may not update fully.
- You cannot change the username you are currently signed in as — you must use a different administrator account or create a temporary one first.
Changing a Local Account Username
Open Settings by pressing Windows key + I. Go to Accounts in the left sidebar, then select Other users. You will see a list of all user accounts on your computer. Click the account you want to rename, then click Rename. Type the new username and press Enter.
The change takes effect when ready. File Explorer will show the new name the next time you open it or refresh the window (press F5). Your user folder path (C:\Users\) keeps the old name — Windows does not rename the folder itself, so shortcuts and file paths pointing to the old location still work.
If you do not see a Rename button, the account you are trying to change is a Microsoft account, not a local account. Skip to the next section for those steps.
Changing a Microsoft Account Username
Microsoft account usernames are tied to your email address and cannot be changed from your computer. You must change them through your Microsoft account online. Go to account.microsoft.com in a web browser and sign in with the account you want to change.
Click Your info in the left sidebar. Under your email address, click Manage your Microsoft account. Look for the option to change your account name or email alias. Microsoft allows you to add an alias (a different email address associated with the same account) or change your primary email, depending on your account type. Follow the prompts to make the change.
Once you save the change online, it syncs back to your Windows 11 computer within a few hours. File Explorer will show the updated name after you sign out and sign back in, or after you restart your computer.
Why Your User Folder Name Might Not Change
The folder at C:\Users\YourName is separate from your username. When you change your username, Windows updates what appears in File Explorer and Settings, but the actual folder keeps its original name. This is intentional — it prevents broken shortcuts and file paths.
If you need the folder name to match your new username exactly, you must rename it manually. Right-click the folder in File Explorer, select Rename, and type the new name. You may need administrator permission, and you cannot rename the folder while you are signed into that account — you must sign in as a different administrator first.
What Happens If You Cannot Access the Rename Option
If you are trying to change the username you are currently signed in as, Windows will not let you. You must sign out, then sign in as a different administrator account. If you only have one account, create a temporary local administrator account first: go to Settings > Accounts > Other users > Add account, choose I don't have this person's sign-in information, then Add a user without a Microsoft account. Make it an administrator account.
Once you have a second administrator account, sign into it, then go back to Settings > Accounts > Other users and rename your original account. After you rename it, you can delete the temporary account if you no longer need it.
Updating Shortcuts and Saved Paths After a Username Change
Some programs save file paths using your old username. If a shortcut or saved location stops working after you rename your account, you may need to update it manually. Right-click the shortcut, select Properties, and look at the Target field. If it contains your old username, edit it to use the new one and click explore.
For saved network locations or mapped drives, open File Explorer, right-click the location in the sidebar, and select Remove. Then add it again with the updated path. Most modern programs update these paths automatically, but older software sometimes does not.
Frequently Asked Questions
Will changing my username delete my files or programs?
No. Your files, programs, and settings stay exactly where they are. The username change only affects what appears in File Explorer and Settings. Your user folder keeps its original name, so all file paths continue to work.
Can I change my username back to what it was before?
Yes. Follow the same steps — go to Settings > Accounts > Other users, click the account, and select Rename. You can change it as many times as you want. For Microsoft accounts, change it back through account.microsoft.com.
Why does File Explorer still show my old username sometimes?
If you changed a Microsoft account username, the change takes a few hours to sync. Restart your computer or sign out and sign back in to speed it up. If you changed a local account and the old name still appears, press F5 to refresh File Explorer.
Do I need to change my password when I change my username?
No. Your password is separate from your username and does not change automatically. You can change your password separately if you want to, but it is not required when you rename your account.