The fastest way: Settings on Windows 11

Open Settings by pressing the Windows key and typing "settings", then press Enter. Go to Accounts in the left sidebar, then select Your info. You will see your current username at the top of the page. Click the Rename button next to it.

A dialog box will appear asking you to confirm the new name. Type your new username — Windows allows letters, numbers, and some symbols, but spaces and special characters like @ or # will not work. Click Next, then Finish. Windows will ask you to sign out and back in for the change to take effect. Save any open work first, then sign out.

When you sign back in, your new username will be active. This method changes the display name that appears on the sign-in screen and in Settings — the name other people see when you share files on a network. It does not change your Microsoft account email address, which remains the same.

Key Takeaways

  • The Settings method (Accounts > Your info > Rename) is the simplest way and works for most people in a few minutes.
  • Your new username takes effect after you sign out and sign back in — save your work before you do this.
  • Changing your username in Settings does not change your Microsoft account email or password.
  • If you use a local account instead of a Microsoft account, the process is the same but the change happens when ready without signing out.
  • Usernames cannot contain spaces or special characters like @, #, or &, so stick to letters, numbers, hyphens, and underscores.

What happens to your files and folders

Your personal files stay where they are. Windows stores your documents, pictures, and downloads in a folder path that includes your old username — for example, C:\Users\OldName\Documents. When you change your username in Settings, Windows does not automatically rename this folder path.

This means your files are still there and you can still reach them the same way. Shortcuts and programs that point to your old user folder will still work. If you ever need to see the actual folder name on your computer, you can open File Explorer and navigate to C:\Users\ — you will see the old folder name is still there in the background, even though your display name has changed.

Changing your username on a local account

If you sign in with a local account (a username and password you created on this computer, not a Microsoft account), the process is the same: Settings > Accounts > Your info > Rename. Type your new name and click Next, then Finish. A local account username change takes effect when ready — you do not need to sign out and back in.

Local accounts are less common on new Windows 11 machines, which usually come set up with a Microsoft account. To check which type you have, open Settings > Accounts > Your info and look at the top of the page. If it shows an email address, you have a Microsoft account. If it shows just a username, you have a local account.

Changing your Microsoft account email address instead

If you want to change the email address you use to sign in to Windows (not just the display name), that is a different process and happens in your Microsoft account settings, not in Windows Settings. Go to account.microsoft.com in a web browser, sign in with your current email, and look for Your info or Account settings. You can add a new email address or change your primary email there.

Changing your Microsoft account email is separate from changing your Windows username. You can change your display name in Windows Settings and your email address in your Microsoft account independently. Both changes are permanent, so double-check the spelling before you confirm.

If you cannot find the Rename button

On some Windows 11 machines, especially those managed by a school or workplace, the Rename button may be grayed out or missing. This happens when your computer is controlled by a network administrator who has locked down account changes. In that case, you will need to contact your IT department or administrator to change your username for you.

If you own the computer and the button is still missing, restart Windows and try again. Sometimes a temporary glitch prevents the button from appearing. If it still does not show up after a restart, your account may have been set up in a way that does not allow self-service renaming — contact Microsoft support or your device manufacturer for next steps.

What you cannot change with the Rename button

The Rename button in Settings changes only your display name — the friendly name that appears on the sign-in screen and in Windows menus. It does not change your actual user folder name (C:\Users\YourName\), your password, your PIN, or your Microsoft account email address. If you need to change any of those, you will use a different method.

Your password and PIN are changed in Settings > Accounts > Password or Settings > Accounts > Sign-in options. Your Microsoft account email is changed at account.microsoft.com. The user folder name itself cannot be changed through the Windows interface — it stays tied to your original account name in the background, even after you rename your display name.

Frequently Asked Questions

Do I lose my files if I change my username?

No. Your files stay in the same place and remain accessible. The folder path in C:\Users\ keeps the old name in the background, but Windows knows where to find everything. Shortcuts and programs continue to work normally.

Can I change my username without signing out?

If you have a local account, yes — the change takes effect when ready. If you have a Microsoft account, you must sign out and sign back in for the new name to appear everywhere in Windows. Save your work first.

What characters are allowed in a Windows 11 username?

You can use letters, numbers, hyphens, and underscores. Spaces and special characters like @, #, &, or ! are not allowed. Windows will warn you if you try to use a forbidden character.

If I change my username, does my password change too?

No. Your password stays the same. You sign in with the same password you used before, just with your new username displayed. If you want to change your password, do that separately in Settings > Accounts > Password.

Can I change my username back to the old one?

Yes. Go back to Settings > Accounts > Your info > Rename and type your old username. Windows treats it like any other name change and will ask you to sign out and back in if you have a Microsoft account.