The fastest way to change your username
On Windows 10 or 11, go to Settings > Accounts > Your info. Click "Rename your device" at the top of the page. Type your new username and click Next, then Restart now. Your laptop will restart and the change takes effect when ready.
On Mac, open System Settings > General > About. Click the Edit button next to the device name at the top. Type your new name and click Rename. This changes what appears on your network and in shared folders, though your actual user account folder keeps its original name.
Both methods take under two minutes. The Windows approach changes your device name (what shows up when you connect to networks), while the Mac approach does the same. If you want to change the actual user account name — the folder that holds your files and settings — the process is longer and requires a different approach.
Key Takeaways
- Windows: Settings > Accounts > Your info > Rename your device takes two minutes and restarts your laptop once.
- Mac: System Settings > General > About > Edit button next to device name changes your network name when ready with no restart.
- Changing your device name (what shows on networks) is different from changing your user account name (your login folder), and most people only need the device name changed.
- If you need to change your actual user account name on Windows, you must create a new account, transfer files, and delete the old one — a process that takes 20 to 30 minutes.
- On Mac, changing your actual account name requires the Recovery partition and administrator access, and is rarely necessary.
When you need to change your device name versus your account name
Your laptop has two names that can cause confusion. The device name is what appears when you connect to Wi-Fi networks, share files with other computers, or print to a network printer. The user account name is the folder where your files, settings, and login credentials live — it is what you see in C:\Users\ on Windows or /Users/ on Mac.
Most people only need to change the device name. You might do this if you bought a used laptop and want a fresh name, or if your network shows "LAPTOP-ABC123" and you want something readable. Changing the device name takes two minutes and does not affect your files or settings.
You need to change your actual user account name only if you want your login folder renamed or if you are setting up a shared computer and want separate accounts for different people. This is much more involved and is not necessary for most situations.
Changing your device name on Windows 10 and 11
Click the Start button and type "Settings" into the search box. Open Settings and go to Accounts on the left side. Click "Your info" at the top. You will see your device name displayed prominently — it usually looks like "LAPTOP-" followed by random characters, or a name you set up when you first turned on the laptop.
Click the blue "Rename your device" button. A text box will appear with your current name highlighted. Delete it and type your new name. Use letters, numbers, and hyphens only — spaces and special characters will cause an error. Click Next when you are done.
Windows will ask you to restart your laptop. Click "Restart now" and your laptop will shut down and turn back on. When it comes back up, your new device name is active. You can check it by going back to Settings > Accounts > Your info, or by right-clicking "This PC" on your desktop and selecting Properties.
Changing your device name on Mac
Click the Apple menu in the top left corner and select System Settings. Click General in the left sidebar. At the top of the window, you will see your current device name next to a small computer icon. Click the Edit button (it looks like a pencil) next to that name.
A text box will appear. Delete your current name and type your new one. You can use letters, numbers, spaces, and hyphens. Click Rename when you are done. The change takes effect when ready — no restart is needed.
Your new name will show up the next time you connect to a Wi-Fi network, and other computers on your network will see it right away. If you are sharing files with others or printing to a network printer, they will see your new device name in their available devices list.
Changing your actual user account name on Windows
If you need to change the folder name where your files live (C:\Users\YourName\), the process is more involved because Windows does not let you rename it directly. The safest method is to create a new account with the name you want, move your files over, and delete the old account.
First, create a new user account. Go to Settings > Accounts > Other people > Add account. Choose "I don't have this person's sign-in information" and then "Add a user without a Microsoft account." Type your new username and a password, then click Next. This creates a new account folder with your desired name.
Log out of your current account and log into the new one. Open File Explorer and navigate to C:\Users\. You will see both your old folder and your new one. Go back to your old account, open it, and copy all your files to an external drive or to a shared folder. Then log back into your new account and paste them into the equivalent locations (Documents into Documents, Desktop into Desktop, and so on).
Once your files are moved, go to Settings > Accounts > Other people, click your old account, and select Delete. Windows will ask whether to keep or delete the old account's files — since you have already moved them, choose Delete files. Your old account folder will be removed.
Changing your actual user account name on Mac
Mac makes this harder than Windows because the account name is tied to your login credentials. The official way requires restarting into Recovery mode and using the Directory Utility, which is not straightforward for most people.
The practical alternative is the same as Windows: create a new account with the name you want, move your files over, and delete the old one. Go to System Settings > General > Users & Groups (or System Preferences > Users & Groups on older Macs). Click the lock icon and enter your password. Click the plus button to create a new account. Choose "Administrator" as the account type and give it your desired name.
Log out and log into your new account. Open Finder and go to /Users/. Drag your files from your old account folder into the new one, or use Migration Assistant (in Applications > Utilities) to move everything at once. Once your files are in place, go back to Users & Groups, select your old account, and click the minus button to delete it.
What to do if you cannot restart or do not have admin access
If your laptop is managed by your workplace or school, you may not have permission to change your device name or account name. Contact your IT department or help desk — they can change it for you or tell you whether it is allowed.
If you cannot restart your laptop right now (you have unsaved work or a meeting in five minutes), you can change your device name and straightforward defer the restart. Go to Settings > Accounts > Your info, click Rename your device, type your new name, and click Next. When Windows asks to restart, click "Restart later." Your new name will not take effect until you restart, but you can do that whenever you are ready.
Frequently Asked Questions
Will changing my device name affect my files or passwords?
No. Your files, passwords, and settings stay exactly where they are. Changing your device name only changes what appears on networks and in shared folders. Your login password does not change, and you will still see all your files in the same places.
Can I use spaces or special characters in my new username?
For device names, Windows does not allow spaces or most special characters — stick to letters, numbers, and hyphens. Mac allows spaces in device names. For actual user account names on Windows, spaces are allowed but can cause problems with some programs, so hyphens or underscores are safer.
What if I forget my new username right after changing it?
On Windows, go to Settings > Accounts > Your info and look at the top of the page — your device name is displayed there. On Mac, click the Apple menu and look at "About This Mac" — your device name is listed under "Computer Name." Your actual user account name appears in the Users folder path.
Do I need to tell other people on my network about my new device name?
If they have your old device name saved in their printer settings, file sharing, or network shortcuts, they will need to update it. You can tell them your new name, and they can search for your device by name on their network. Most modern devices find each other automatically once the name changes.
Can I change my username back to the old one?
Yes. Follow the same steps — go to Settings > Accounts > Your info (Windows) or System Settings > General > About (Mac) and rename it back. There is no limit to how many times you can change it.