The fastest way depends on whether you use Windows or Mac
On Windows, you change your username through Settings in about two minutes. On Mac, you do it through System Settings and it takes roughly the same time. Both let you keep your old files and settings — the change only affects the name that appears when you log in and in file folders. The steps are slightly different between the two systems, so find your operating system below and follow those instructions in order.
One important thing to know before you start: if you are the only person who uses this computer, the process is straightforward. If other people have accounts on the computer, you can only change your own username, not theirs.
Key Takeaways
- Windows users open Settings, go to Accounts, select Your Info, and click the Rename button next to your current username.
- Mac users open System Settings, go to General, click Users and Groups (or Family Sharing on newer versions), select their account, and click the Edit button next to the username.
- Your files, documents, and installed programs stay exactly where they are — only the name displayed changes.
- The change takes effect the next time you log out and log back in, or after you restart your computer.
- If you forget your password or get stuck, you can undo the change by repeating the same steps with your old username.
How to change your username on Windows 10 or Windows 11
Open the Start menu by clicking the Windows logo in the bottom left corner. Type "Settings" and click the Settings app when it appears. Once Settings opens, click on "Accounts" in the left sidebar.
On the Accounts page, click "Your Info" at the top of the left sidebar. You will see your current username displayed with a picture next to it. Below your username, click the blue "Rename" button. A text box will appear with your current username highlighted. Delete the old name and type your new username, then click "Next".
Windows will ask you to confirm the change. Click "Finish" and you are done. You do not need to restart when ready — the new username will appear the next time you log out and log back in. If you want it to take effect right away, you can restart your computer now.
How to change your username on Mac
Click the Apple menu in the top left corner and select "System Settings" (or "System Preferences" on older Mac versions). In System Settings, click "General" in the left sidebar, then look for "Users and Groups" or "Family Sharing" depending on your Mac version.
You may see a lock icon at the bottom of the window. If you do, click it and enter your password so you can make changes. Find your account in the list on the left side and click it to select it. Look for an "Edit" button or a pencil icon next to your username at the top of the window. Click it, delete your old username, type your new one, and click "Save" or "Done".
Close System Settings. Your new username will take effect the next time you log out and log back in. You can restart your computer to make the change happen when ready if you want.
What happens to your files and programs after you change your username
Your Documents folder, Desktop, Downloads, and all other personal files stay exactly where they are. Programs you have installed continue to work normally. Your email accounts, browser bookmarks, and saved passwords all remain the same. The only visible change is the name that appears in the top right corner of your screen (on Mac) or on your user account tile (on Windows).
Behind the scenes, your computer keeps a folder with your old username in the path. This does not cause problems — Windows and Mac both handle this automatically. You will not see this folder in normal use, and you do not need to do anything about it.
If you need to undo the change
If you change your mind or made a typo, you can change your username back by repeating the same steps. Open Settings (Windows) or System Settings (Mac), go to Accounts or Users and Groups, select your account, and click Rename or Edit again. Type your old username or a new one and save the change.
If you forget your password and cannot log in to make the change, you will need to use your computer's password recovery process. On Windows, click "I forgot my password" on the login screen. On Mac, restart your computer and hold Command + Q during startup to access Recovery Mode, then use the Reset Password utility.
Common problems and how to fix them
If the Rename button does not appear on Windows, you may be using a Microsoft account instead of a local account. Microsoft accounts require you to change your username through your Microsoft account settings online, not through your computer. Go to account.microsoft.com, sign in, and look for "Your Info" or "Edit Profile" to change the name associated with your account.
If you see a message saying the username is already in use, try adding a number to the end (like "john2" instead of "john") or use a hyphen or underscore. Usernames cannot contain spaces or special characters like @, #, or $. If you are still stuck, restart your computer and try again — sometimes the system needs a moment to clear the old name from memory.
Frequently Asked Questions
Will changing my username affect my email or online accounts?
No. Your email address, social media accounts, and online passwords are not connected to your computer username. Changing your computer username does not change anything about your online accounts or how you log into websites.
Can I use spaces or special characters in my new username?
No. Windows and Mac both reject usernames with spaces, @, #, $, or most other special characters. Stick to letters, numbers, hyphens, and underscores. Most people find that straightforward names without special characters work best.
Do I need to restart my computer for the change to take effect?
No, but it helps. The new username appears the next time you log out and log back in. If you want it to show up right away without logging out, restart your computer and the change will be active when it boots back up.
What if I share this computer with other people?
You can only change your own username, not anyone else's. Each person who uses the computer has their own account and can change only their own username by following these same steps on their own account.
Will my programs stop working after I change my username?
No. Programs continue to work normally. Some programs store settings in folders tied to your username, but they automatically find those folders even after the name changes. You should not notice any difference in how your programs run.