The fastest way depends on whether you use Windows or Mac

On Windows 10 or 11, you change your username through Settings in about two minutes. On a Mac, you use System Settings and the Directory Utility app, which takes a bit longer because the system keeps your old folder name for security reasons. Both paths are straightforward if you know where to look — the confusion usually comes from having multiple places where your name appears, and not all of them change at once.

Before you start, know that changing your username does not affect your files, passwords, or installed programs. Your old username folder stays on your hard drive with all your documents inside it. The system straightforward displays a new name when you log in.

Key Takeaways

  • On Windows, go to Settings > Accounts > Your info and click "Rename your account" to change the name that appears on your login screen.
  • On Mac, use System Settings > General > Users & Groups, unlock the settings with your password, then right-click your account and select "Advanced Options" to change the short name.
  • Your old username folder remains on your hard drive with all your files inside — the system does not move or rename it automatically.
  • After changing your username on Windows, restart your computer so the new name appears everywhere; on Mac, you may need to restart and run Directory Utility to fully update the system.
  • If you use cloud storage, email, or work accounts linked to your old username, those connections usually keep working without changes.

Changing your username on Windows 10 or 11

Open Settings by pressing the Windows key and typing "Settings," then click the app that appears. Go to Accounts on the left side, then click "Your info" at the top. You will see your current username displayed under your profile picture. Click the button that says "Rename your account."

Type your new username in the box that appears. Windows lets you use letters, numbers, spaces, and some symbols, but keeps the name to 20 characters. Click "Next," then "Finish." Restart your computer — the new name will appear on your login screen and in the Start menu after the restart.

If you are using a Microsoft account instead of a local account, you may see an option to change your Microsoft account name instead. That is a different process and changes your name across all Microsoft services. If you only want to change the name on this computer, make sure you are editing the local account name, not the Microsoft account itself.

Changing your username on Mac

Click the Apple menu in the top left corner and select "System Settings." Click "General" in the sidebar, then scroll down and click "Users & Groups." You may need to click the lock icon in the bottom left and enter your password to make changes.

Right-click your account name in the list on the left and select "Advanced Options." You will see two name fields: "Full Name" and "Account name." The Full Name is what appears in menus and on your login screen. The Account name (also called the short name) is the folder name on your hard drive and what appears in the terminal. Change whichever one you want, then click "OK."

Restart your Mac. If you changed the account name (short name), open Finder, go to Applications > Utilities, and double-click "Directory Utility." Click the lock icon to unlock it, then go to Edit > Enable Root User if it is not already enabled. This step ensures the system fully updates all the places where your old username is stored. You can disable root user again after restarting.

What happens to your old username folder

Your home folder — the one that holds your Documents, Downloads, Desktop, and other personal files — keeps its old name on your hard drive. If your old username was "sarah.johnson," your folder will still be called "/Users/sarah.johnson" even after you change your display name to "Sarah."

This is intentional. The system separates your display name (what you see) from your account name (what the computer uses internally). Keeping the old folder name prevents programs from breaking and makes it easier to undo the change if something goes wrong. You can see your actual folder name by opening Finder, clicking the Finder menu, selecting Preferences, and checking "Show full POSIX path in title bar."

If you want to rename the folder itself on a Mac, you need to create a new account, move your files to it, and delete the old account — a much longer process. Most people leave the folder name alone because it does not affect daily use.

Fixing problems after you change your username

If a program stops working or you see error messages after changing your username, restart your computer first. Many programs cache your username in memory and need a fresh start to pick up the change.

If restarting does not fix it, check whether the program is looking for your old username in its settings. Open the program's preferences or settings menu and look for any field that mentions your account name or home directory. Some older programs, especially those installed before you changed your username, may have hardcoded paths that point to your old folder. You can usually update these paths manually in the program's settings.

Cloud services like OneDrive, Google Drive, or Dropbox almost always keep working without changes because they are tied to your email address, not your username. If you see a warning about a missing folder, it usually means the program is looking in the wrong place — check its settings to point it back to your actual home folder.

When you should not change your username

If your computer is part of a workplace network or domain, contact your IT department before changing anything. Network administrators manage usernames centrally, and changing it yourself can disconnect you from shared files, printers, and email.

If you use Windows Hello (facial recognition or fingerprint login), changing your username does not affect it — Windows Hello is tied to your account, not your name. The same is true for your password. Changing your display name does not reset either one.

If you are trying to hide your identity or create a private account, changing your username alone is not enough. Your old folder name remains visible to anyone with access to your hard drive, and your files are still there. For real privacy, you would need to use encryption or create a separate account with its own password.

Frequently Asked Questions

Will changing my username affect my passwords or login?

No. Your password stays the same, and you log in the same way. Changing your username only changes the name that appears on your screen and in menus. If you use Windows Hello or a PIN, those continue to work without any changes.

Can I change my username back to what it was before?

Yes. Follow the same steps you used to change it the first time. On Windows, go back to Settings > Accounts > Your info and click "Rename your account" again. On Mac, use System Settings > Users & Groups and edit the Full Name or Account name field again. There is no limit to how many times you can change it.

What if I forgot my password and cannot unlock the settings?

On Windows, you will need to reset your password through your Microsoft account before you can change your username. On Mac, you can use Recovery Mode to reset your password, but you will need physical access to the computer and your Apple ID. If you are locked out completely, contact Apple Support or Microsoft Support for your operating system.

Does changing my username affect my email address?

No. Your email address is separate from your computer username. If you use Outlook, Gmail, or another email client on your computer, changing your username does not change your email address or log you out. The email program continues to work because it is tied to your email account, not your computer account.

Will my files move to a new folder when I change my username?

No. On Windows, your files stay in the old folder. On Mac, your files also stay in the old folder (like /Users/sarah.johnson) even though your display name changes to something new. The system does not move files automatically because it keeps your old folder name for safety and compatibility.