What "system username" means and why you might want to change it

Your system username is the name that appears when you log into your computer — the one you see in the top-right corner of your screen on Mac, or next to your profile picture on Windows. It is different from your email address, your social media handles, or the usernames you use on individual websites. This is the account name your operating system uses to organize your files, settings, and permissions.

You might want to change it because you created it with a name you no longer use, because it contains personal information you would rather not display, or because you are sharing the computer and want a clearer distinction between accounts. Changing it is straightforward on all three major operating systems, though the steps differ.

Key Takeaways

  • On Windows 11 and 10, you change your system username through Settings > Accounts > Your Info, and the change takes effect the next time you log in.
  • On Mac, you use System Settings > General > Users & Groups (or System Preferences on older versions), unlock the settings with your password, then right-click your account and select Advanced Options.
  • On Linux, the process depends on your distribution, but most desktop versions let you change it through Settings > Users, or you can use the terminal command usermod -l newusername oldusername.
  • Changing your username does not affect your files or installed programs, but some applications may need to be restarted to recognize the new name.
  • If you forget your password or cannot access your account, you will need to use your operating system's recovery or reset tools before you can make changes.

Changing your username on Windows 10 and 11

Open Settings by pressing the Windows key and typing "Settings," then select the Settings app. Go to Accounts in the left sidebar, then click Your Info. You will see your current username displayed at the top of the page. Click the Rename your account button.

A dialog box will appear asking you to confirm the new name you want. Type the new username — it can contain letters, numbers, spaces, and some special characters, though Windows discourages very long names or names with only numbers. Click Next, then Finish. You will be asked to sign out and sign back in for the change to take effect. The next time you log in, your new username will be active.

If the Rename your account button is grayed out, you are likely using a Microsoft account rather than a local account. In that case, you can change the display name associated with your Microsoft account, but the system username itself stays tied to your email. To change the display name, click on your profile picture in Settings and select Manage your Microsoft account, then go to Your Info on the Microsoft website.

Changing your username on Mac

Click the Apple menu in the top-left corner and select System Settings (on macOS Ventura and newer) or System Preferences (on older versions). Look for General in the sidebar, then click Users & Groups. You may see a lock icon at the bottom of the window — click it and enter your password to unlock the settings.

Right-click your account name in the list on the left side and select Advanced Options. You will see a field labeled Account name — this is your system username. Type the new name you want. The account name must be lowercase, cannot contain spaces, and is usually shorter than your full display name. Click OK to save the change.

Your Mac will ask you to confirm the change and may prompt you to restart. After you restart, your new username will be active. Any files in your home directory will still be accessible, though the path to your home folder will now reflect the new name.

Changing your username on Linux

The steps vary depending on which Linux distribution and desktop environment you use. On Ubuntu with GNOME, open Settings, go to Users, click the lock icon to unlock, enter your password, then click on your account and look for an option to change the username or account name. Some distributions do not offer a graphical option.

If the graphical method does not work or you prefer the terminal, you can use the command line. Open a terminal and type sudo usermod -l newusername oldusername, replacing "newusername" with what you want and "oldusername" with your current username. You will be prompted to enter your password. You may also need to rename your home directory with sudo mv /home/oldusername /home/newusername.

After making changes in the terminal, you should log out and log back in. Some applications may need to be restarted to recognize the new username, particularly if they cache user information.

What happens to your files and programs after you change your username

Your files remain exactly where they are. The operating system keeps track of files by their internal ownership, not by the username string you see on screen. When you open your Documents folder or Desktop, everything will be there. Programs you have installed will continue to work normally.

Some applications store settings or preferences tied to your username, and they may need to be restarted to pick up the new name. This is usually not a problem — the app will straightforward create a new settings folder under your new username the next time you launch it. If an process seems confused after the change, close it completely and open it again.

If you use cloud storage like OneDrive, Google Drive, or Dropbox, those services are tied to your email account, not your system username, so they will continue to sync normally. The same is true for email clients and web browsers — they use your online account credentials, not your system username.

When you cannot change your username and what to do instead

If you do not have administrator rights on your computer, you will not be able to change your system username. Ask whoever set up the computer to make the change for you, or ask them to grant you administrator access. On a work or school computer, contact your IT department.

If you have forgotten your password and cannot log in, you will need to use your operating system's password reset or recovery tools before you can change your username. On Windows, you can use another administrator account to reset the password, or use Microsoft's online account recovery if you are using a Microsoft account. On Mac, you can restart in Recovery Mode and use the Reset Password utility. On Linux, you may need to boot into single-user mode or use a live USB to reset your password.

If you are locked out of your account entirely and have no recovery options, you may need to reinstall your operating system. This is a last resort and will erase your data, so it is worth exploring all recovery options first.

The difference between system username and display name

Your display name is what appears in greeting messages and in some applications — it can be your full name, a nickname, or anything you choose. Your system username is the technical identifier your operating system uses internally. On Windows and Mac, you can change both independently. On Linux, the distinction varies by distribution.

If you only want to change how your name appears to other people on your computer (for example, on the login screen or in shared folders), you may only need to change your display name, not your system username. This is less disruptive because it does not affect file paths or internal system references. Check your operating system's user settings to see if you can change the display name separately.

Frequently Asked Questions

Will changing my username affect my passwords or login?

No. Your password stays the same — you will still log in with the same password you used before. The username is just the name associated with that password. After you change your username and restart, you will log in with the new username and your existing password.

Can I change my username back if I change my mind?

Yes. Follow the same steps you used to change it the first time, and enter your old username as the new name. There is no limit to how many times you can change it, though you should log out and back in each time for the change to take effect fully.

What if I have multiple user accounts on the same computer?

Each account has its own username, and you can change them independently. You will need to be logged into each account (or have administrator access) to change that account's username. Changes to one account do not affect the others.

Do I need to tell my email provider or online accounts about my new username?

No. Your system username is only used by your computer. Your email address, social media accounts, and online services are completely separate and do not need to be updated. They will continue to work exactly as before.