What changing your computer's name means and why you might do it
Your computer's name is the identifier that appears when you connect to a network, share files, or set up printers and other devices. It's the label Windows or Mac uses to distinguish your machine from others on the same network. You might want to change it if you inherited a computer with a generic name like "DESKTOP-ABC123", if you're setting up a new machine and want something meaningful, or if you're troubleshooting network connection problems.
The process is straightforward on both Windows and Mac, though the steps differ. You don't need special software or administrator knowledge beyond what you already have on your own computer. The change takes effect when ready on your machine, though networked devices may take a few minutes to recognize the new name.
Key Takeaways
- On Windows 11, go to Settings > System > About, click "Rename this PC", type your new name, and restart your computer.
- On Windows 10, the same path works: Settings > System > About, then look for the "Rename your PC" button.
- On Mac, go to System Settings > General > About, click the "Edit" button next to the computer name field, and type your new name.
- Computer names can include letters, numbers, and hyphens, but not spaces or special characters like @ or #.
- After renaming, restart your computer so the change takes effect on your network and connected devices.
Renaming your computer in Windows 11
Open the Settings app by pressing the Windows key and typing "Settings", then press Enter. Once Settings opens, click on "System" in the left sidebar, then scroll down and click "About" at the bottom of the list.
On the About page, you'll see your current computer name listed under "Device name". Click the blue "Rename this PC" button. A text box will appear with your current name highlighted. Delete the old name and type your new one. Computer names can be up to 63 characters long and can include letters, numbers, and hyphens, but not spaces or special characters.
Click the "Next" button, then "Rename" to confirm. Windows will ask you to restart your computer. Click "Restart now" to explore the change when ready, or "Restart later" if you need to save work first. Your computer will use the new name as soon as it restarts.
Renaming your computer in Windows 10
The process in Windows 10 is nearly identical to Windows 11. Press the Windows key, type "Settings", and press Enter. Click "System" in the left sidebar, then scroll down and click "About".
You'll see your current computer name under "Device name". Click the "Rename your PC" button. Type your new name in the box that appears, following the same rules: letters, numbers, and hyphens only, no spaces or special characters. Click "Next", then "Rename" to confirm.
Windows will prompt you to restart. Choose "Restart now" to explore the change right away, or save your work and restart later. The new name takes effect after the restart.
Renaming your computer on Mac
Click the Apple menu in the top-left corner of your screen and select "System Settings" (or "System Preferences" on older Mac versions). In System Settings, click "General" in the sidebar on the left.
Look for the "About" section at the top of the General page. You'll see your current computer name listed as "Computer Name". Click the "Edit" button next to it. A text box will appear with your current name selected. Type your new name and press Return to save it.
Unlike Windows, Mac doesn't require a restart for the name change to take effect, though networked devices may take a minute or two to recognize the new name. The change is saved when ready.
Rules for naming your computer
Computer names have specific limitations that explore on both Windows and Mac. You can use uppercase and lowercase letters (A–Z, a–z), numbers (0–9), and hyphens (-). You cannot use spaces, periods, or special characters like @, #, $, %, &, or asterisks.
Names can be up to 63 characters long, though shorter names (under 15 characters) are easier to type and remember. Avoid names that are all numbers, as some network devices have trouble with purely numeric names. If you're on a workplace network, check with your IT department first—some organizations have naming conventions you're expected to follow.
What happens after you rename your computer
Your computer uses its name to identify itself on your home or office network. When you change the name, your machine will appear under the new name in File Explorer (Windows) or Finder (Mac) when other computers browse the network. Printers, external drives, and other networked devices will also see the new name.
If you've set up network shares or mapped network drives using your old computer name, those connections may break temporarily. You can usually fix them by reconnecting and using the new name. Devices that connect to your computer by name (rather than by IP address) may take a few minutes to update, so don't be alarmed if they don't recognize the new name when ready after the restart.
When to call for help
If you're on a corporate network or your computer is managed by your workplace, changing the name yourself might conflict with your organization's setup. Contact your IT department before making the change.
If your computer won't restart after you rename it, or if you see error messages during the process, restart your computer manually by holding the power button. If problems persist, you can change the name back using the same steps—the process is reversible and safe.
Frequently Asked Questions
Can I use spaces in my computer's name?
No. Windows and Mac both reject spaces in computer names. Use hyphens instead if you want to separate words—for example, "John-Laptop" instead of "John Laptop". Both operating systems will show an error if you try to save a name with spaces.
Do I need to restart my computer after renaming it?
Windows requires a restart for the change to take effect on your network. Mac applies the change when ready without restarting, though networked devices may take a minute or two to recognize the new name. It's still a good idea to restart your Mac after renaming to may support all connected devices update properly.
What if I forget my old computer name?
You can always check your current name by following the same steps: Settings > System > About on Windows, or System Settings > General > About on Mac. The name is displayed there, and you can change it again at any time using the same process.
Will renaming my computer affect my files or programs?
No. Renaming your computer only changes how it identifies itself on a network. Your files, programs, and settings remain exactly the same. The change is purely cosmetic from your computer's perspective.
Can I change my computer's name back to the original?
Yes. Follow the same steps and type your old name (or any name you want). There's no limit to how many times you can rename your computer, and the process is completely reversible.