The fastest way: Settings on Windows 11

Open Settings by pressing the Windows key and typing "settings", then press Enter. Go to Accounts on 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, type your new username, then click Next. Windows will ask you to sign out and back in — click Sign out now, and when you log back in, your new username will be active.

This method works on any Windows 11 machine where you know your password. The change takes effect when ready after you sign back in, and all your files, programs, and settings stay exactly where they are. Your old username folder on the hard drive does not rename itself, but Windows points to it correctly behind the scenes, so you will not notice the difference.

If the Rename button is greyed out, you are likely using a Microsoft account rather than a local account. Microsoft accounts require a different process, covered below.

Key Takeaways

  • The Settings app is the simplest route: go to Accounts, select Your info, and click Rename.
  • Microsoft accounts cannot be renamed in Settings — you must change the display name on the Microsoft account website instead.
  • Local accounts can be renamed in Settings, but the old username folder remains on your hard drive and does not automatically rename.
  • After renaming, sign out and back in for the change to take effect across all your programs and files.
  • If you cannot remember your password, use the password reset disk or recovery options before attempting to rename.

Renaming a Microsoft account username

If you signed into Windows with an email address (a Microsoft account), the Rename button in Settings will not work. Instead, you need to change your display name on the Microsoft account website. Go to account.microsoft.com in your browser, sign in with your email and password, and select Your info on the left. Click Manage your Microsoft account, then find the Name section and click Edit name. Type your new first and last name, click Next, and confirm the change.

The display name you set on the Microsoft website is what appears in Windows Settings and on your sign-in screen. This change can take a few minutes to show up on your computer. If you want to change the email address itself (not just the display name), you will need to add a new email alias to your Microsoft account or switch to a different Microsoft account entirely — both of those are more involved processes handled on the Microsoft account website.

Using the Local Users and Groups tool for local accounts

If you have a local account (not a Microsoft account) and prefer a more direct method, you can rename it through the Local Users and Groups tool. Press the Windows key and type "lusrmgr.msc", then press Enter. You may see a prompt asking for permission — click Yes. In the window that opens, click Users on the left, find your account name in the list, right-click it, and select Rename. Type your new username and press Enter.

This method bypasses Settings entirely and changes the username at the system level. The change takes effect the next time you sign in. Local Users and Groups is not available on Windows 11 Home edition — only on Pro, Enterprise, and Education versions. If you have Home edition and need this tool, the Settings method described at the top is your only option.

What happens to your old username folder

When you rename your account, Windows creates a link between your new username and your old user folder (usually located at C:\Users\oldusername). Your files, desktop, documents, and program settings all stay in that old folder. Windows knows to look there even though the folder name has not changed, so you will not lose anything or have to move files manually.

If you want to rename the folder itself to match your new username, you can do that manually, but it is not necessary and carries a small risk of breaking something if you make a mistake. Most people leave the old folder name alone and let Windows handle the connection invisibly. If you do decide to rename the folder, make sure you are logged into a different administrator account first, because you cannot rename your own active user folder while you are signed in.

Troubleshooting: Rename button is greyed out

If the Rename button in Settings appears greyed out or inactive, you are almost certainly using a Microsoft account. The Settings rename feature only works for local accounts. Check whether you signed in with an email address (Microsoft account) or a username you created locally. If it is a Microsoft account, follow the steps in the "Renaming a Microsoft account username" section above.

Another rare cause is that your account does not have administrator permissions. If you are not the account owner or administrator, you will not be able to rename the account. Ask the person who set up the computer to rename it for you, or have them grant you administrator rights first.

Renaming a guest or child account

If you are trying to rename a guest account or a child account set up through Family settings, the process is different. For a guest account, you cannot rename it directly — guest accounts are temporary and reset each time. For a child account, go to Settings, select Accounts, then Family & other users. Find the child account in the list, click it, and select Manage. From there you can change the display name associated with that account.

Child accounts linked to a Microsoft account will show the name you set on the Microsoft account website, so changes there will update automatically. Local child accounts can be renamed through the Family settings panel without needing to access Local Users and Groups.

Frequently Asked Questions

Will changing my username affect my programs or files?

No. Your programs will continue to work, and all your files will remain in the same place. Windows maintains an invisible link between your new username and your old user folder, so everything stays accessible. You might need to re-enter your password in some programs the first time you use them after the rename, but that is normal.

Can I change my username without signing out?

No. Windows requires you to sign out and sign back in for the username change to take effect. The sign-out process is quick and happens automatically when you click the button in Settings.

What if I forgot my password and cannot sign in?

You will need to reset your password before you can rename your account. On the sign-in screen, click "I forgot my password" and follow the recovery steps. If you have a password reset disk, that is the fastest option. Once you are signed in again, you can proceed with renaming.

Does renaming my account change my email address?

No. If you use a Microsoft account, renaming changes only the display name, not the email address you sign in with. The email address stays the same. If you need to change the email address itself, that requires managing your Microsoft account on the account.microsoft.com website.

Can I change my username back to the old one?

Yes. Follow the same steps you used to rename it the first time. You can change your username as many times as you want, and each change requires a sign-out and sign-in.