How to Change Your Laptop Name on Windows and Mac
In this article
Changing your laptop's name makes it easier to identify on a network, when sharing files, or when connecting to Bluetooth devices. The process takes less than a minute on both Windows and macOS, and you don't need any special tools or technical knowledge. Below are the exact steps for each system, plus what to do if something goes wrong.
What You'll Need
- Administrator access to your laptop (you must be signed in with an account that can make system changes).
- For Windows: Windows 10 or Windows 11.
- For Mac: macOS Ventura or later (older versions have a slightly different path, noted below).
Step-by-Step
On Windows 10 and Windows 11
- Open the Start menu and click the Settings gear icon (or press Windows + I).
- In Settings, go to System (Windows 11) or System (Windows 10 – it's the first icon).
- Scroll down and click About (Windows 11) or About (Windows 10 – it's near the bottom of the left sidebar).
- Look for the section that says Device name. Next to it, click the Rename this PC button.
- Type the new name you want. Use only letters, numbers, and hyphens. Spaces and most special characters are not allowed. The name must be 15 characters or fewer.
- Click Next. You'll be prompted to restart your laptop to apply the change. Save any open work, then click Restart now.
Note: On Windows 10, the exact path is Settings > System > About > Rename this PC. On Windows 11, it's Settings > System > About > Rename this PC. The wording of buttons may differ slightly depending on your Windows version, but the flow is the same.
On macOS (Ventura and later)
- Click the Apple menu (top-left corner) and select System Settings.
- In the sidebar, click General.
- Click About on the right side.
- Click the Name field (it shows your current computer name).
- Type the new name. It can include spaces, but avoid special characters like slashes or colons.
- Press Enter or click anywhere else. The change is saved immediately – no restart needed.
On older macOS versions (Monterey and earlier), go to Apple menu > System Preferences > Sharing, and edit the “Computer Name” field at the top.
Common Mistakes
- Using spaces or special characters on Windows. Windows only allows letters, numbers, and hyphens. If you use a space, you'll get an error.
- Not restarting Windows. The new name won't appear on the network until you restart. Some people think the change failed, but it just needs a reboot.
- Changing the wrong name. On a Mac, there are actually two names: the “Computer Name” (used on the network) and the “Host Name” (a technical identifier). Make sure you're editing the “Name” field under General > About, not the host name.
- Typing too long a name. Windows limits the device name to 15 characters. If you go over, the system will reject it.
Tips
- Choose a name that helps you identify the laptop, especially if you have multiple devices. For example, “Office-Laptop” or “Family-PC” are clearer than “Laptop-1234”.
- If you use your laptop for work, check with your IT department before renaming – some corporate networks require specific naming conventions.
- On Windows, you can also rename your PC from the command prompt using
ren(but the Settings method is safer and easier). - After renaming, you may need to re-pair Bluetooth devices (like a mouse or headphones) because they identify your laptop by its old name.
Troubleshooting
Windows: “Rename this PC” button is greyed out
This usually means you don't have administrator rights. Sign out and sign back in with an account that has admin privileges, or ask the admin to change it for you.
Windows: The new name doesn't show up on the network
Restart your laptop. If it still shows the old name, check that you're connected to the same network and that network discovery is turned on (Settings > Network & Internet > Advanced network settings > Network discovery).
Mac: The name change doesn't stick after restart
This can happen if you edited the wrong field. Go to System Settings > General > About and make sure you changed the “Name” field, not the “Host Name”. If the issue persists, try changing the name in System Settings > General > Sharing (the “Computer Name” field there is the same one).
You get an error about invalid characters
On Windows, remove spaces, underscores, and symbols. Stick to letters, numbers, and hyphens. On Mac, avoid colons, slashes, and periods.
You can't find the About page
If you're on Windows 10, the About page is under Settings > System > About. If you're on Windows 11, it's under Settings > System > About. If you can't find it, use the search bar in Settings and type “About”. On Mac, use Spotlight (Cmd+Space) and type “System Settings” to open it.
Frequently Asked Questions
Will changing my laptop name affect my files or apps?
No. The name is only used for network identification. Your files, apps, and settings are unaffected.
Can I use spaces in my Windows laptop name?
No. Windows only allows letters, numbers, and hyphens. Spaces will be rejected.
Do I need to restart my Mac after renaming?
No. The change takes effect immediately. You might need to reconnect to some network shares, but a restart isn't required.
My laptop name is used for Bluetooth – will I have to pair devices again?
Sometimes yes. Bluetooth devices may see your laptop as a new device after the name change, so you may need to re-pair them.
Can I rename my laptop from the command line?
On Windows, you can use the command ren in an elevated Command Prompt, but the Settings method is simpler and less error-prone. On Mac, you can use scutil --set ComputerName in Terminal, but again, the GUI method is recommended.
What if I forget the new name?
You can always check it again by going to the same About page. On Windows, it's Settings > System > About. On Mac, it's System Settings > General > About.