The fastest way to change your username
On Windows 10 or 11, the quickest route is Settings > Accounts > Your info, then click "Rename your PC" at the top. Type the new name, restart your computer, and you're done. On Mac, go to System Settings > General > About, click "Edit" next to the computer name at the top, type the new name, and click "Done"—no restart needed.
These steps change what appears on your network and login screen. They take about two minutes and don't affect your files, passwords, or installed programs. If you're on an older version of Windows (like Windows 7) or an older Mac, the path is slightly different but the principle is the same: find the system name in Settings and edit it directly.
Key Takeaways
- Windows 10 and 11 let you rename your PC in Settings > Accounts > Your info without needing administrator tools or a restart for most changes.
- Mac users can rename their computer in System Settings > General > About and see the change take effect when ready.
- Changing your computer name does not affect your user account name, your files, or any passwords you use to log in.
- If you're on a work network, your IT department may have locked the computer name, and you'll need to contact them before making changes.
- Some older versions of Windows require you to right-click "This PC" or "My Computer" and access System Properties instead.
Windows 10 and 11: Step-by-step
Open Settings by pressing the Windows key and typing "Settings," then pressing Enter. Click on "Accounts" in the left sidebar. At the top of the window, you'll see "Your info"—click it if it's not already selected. Look for a blue button or link that says "Rename your PC" near the top of the page.
A dialog box will appear with your current computer name highlighted. Delete it and type your new name. Computer names can include letters, numbers, and hyphens, but not spaces or special characters like @, #, or &. Keep it under 15 characters for best compatibility. Click "Next," then "Finish." Windows will ask you to restart your computer—do this as soon as you can save your work, because the change won't take effect until you do.
After restart, your new name will appear on the login screen and in File Explorer at the top of the window. If you're connected to a work network, you may see an error saying the name is already in use or that you don't have permission—this means your IT department controls the computer name, and you'll need to contact them to make changes.
Mac: Step-by-step
Click the Apple menu in the top-left corner and select "System Settings" (or "System Preferences" on older Macs). In the sidebar, click "General." At the top of the window, you'll see information about your Mac, including the computer name. Click the "Edit" button next to the computer name.
A text field will appear with your current name selected. Type your new name and press Enter or click "Done." The change takes effect when ready—you don't need to restart. Your new name will appear on your network, in Finder, and on any shared screens. Like Windows, Mac computer names work best without spaces or special characters, though Mac is more forgiving than Windows about what it accepts.
What changes and what doesn't
Changing your computer name affects only how your machine appears on your network and in system menus. Your user account name (the name you type to log in) stays the same. Your password doesn't change. Your files, folders, and installed programs all remain exactly where they are. You won't lose anything or break anything by renaming your computer.
If you share your computer with other people, they'll see the new name on the login screen and on the network, but their accounts and files won't be affected. If you use cloud services like OneDrive, Google Drive, or iCloud, your computer's new name will sync to those services, but your files and settings will stay intact.
When you can't change the name yourself
If you're on a work computer or a school network, your IT department may have locked the computer name so employees or students can't change it. You'll see an error message when you try, usually saying "You don't have permission" or "This name is already in use." In this case, contact your IT support team—they can change it for you or tell you whether it's allowed.
If you're the only user on your computer but still can't change the name, your account may not have administrator rights. On Windows, try right-clicking Settings and selecting "Run as administrator," then repeat the steps above. On Mac, you may need to unlock System Settings by clicking the lock icon in the bottom-left corner and entering your password.
Older versions of Windows (7, 8, Vista)
If you're using Windows 7 or 8, Settings works differently. Right-click "This PC" or "My Computer" on your desktop or in File Explorer, then select "Properties." In the window that opens, look for a button or link that says "Change settings" or "Rename this computer." Click it, then click "Change" in the dialog that appears. Type your new name and click "OK," then restart when prompted.
The process is the same on the surface—you're still just typing a new name and restarting—but the path to get there is different because older Windows versions didn't have the Settings app. If you can't find the option, search online for "rename computer Windows [your version number]" to find the exact steps for your version.
Troubleshooting common problems
The name won't save or I get an error. Make sure your new name doesn't contain spaces, special characters, or more than 15 characters. If it still doesn't work, restart your computer and try again. On Windows, make sure you're logged in with an administrator account.
I renamed my computer but the old name still appears somewhere. Some programs and network services cache the old name and take time to update. Restart your computer and wait a few minutes. If you're on a network, the old name may linger in network discovery for a few hours—this is normal and will clear on its own.
I can't find the rename option in Settings. On Windows, make sure you're in Settings > Accounts > Your info, not a different Accounts page. On Mac, make sure you're in System Settings > General > About, not a different General page. If you're still stuck, try the older method: right-click your computer icon and look for Properties or System Information.
Frequently Asked Questions
Will changing my computer name affect my email or online accounts?
No. Your computer name is separate from your email address, Microsoft account, Apple ID, or any other online account. Changing it won't log you out of anything or change any passwords. Your online accounts are tied to your user account name and password, not your computer's name.
Can I change my username (the name I use to log in) the same way?
No. Your computer name and your user account name are different things. To change your user account name on Windows, go to Settings > Accounts > Your info and click "Rename your account." On Mac, go to System Settings > General > Users & Groups, unlock the settings, right-click your account, and select "Advanced Options." Changing your account name is more involved than changing your computer name.
What if I want to change my computer name back to what it was?
Follow the same steps and type your old name. There's no limit to how many times you can change it. If you don't remember the old name, on Windows you can check Settings > System > About and look at the "Device name" field to see what it currently is. On Mac, the current name is always visible in System Settings > General > About.
Does my computer need to be connected to the internet to change its name?
No. Your computer name is stored locally on your machine, so you can change it whether you're online or offline. If you're on a work network, you may need internet to contact your IT department for permission, but the actual name change doesn't require a connection.
Will other people on my network see the new name right away?
On Mac, yes—the change is when ready. On Windows, other computers on your network may take a few minutes to see the new name because Windows broadcasts the change gradually. If someone is looking for your computer by name and doesn't see it, wait a few minutes and try again. Restarting the other computer on the network can speed this up.