What changing your computer's name means and why you might do it

Your computer's name is the identifier that appears on your network and in system settings — the one Windows or Mac assigns when you first set up the machine. You can change it to something more descriptive, easier to remember, or straightforward different from the default. The process is straightforward on both operating systems and takes about five minutes, though the computer will need to restart afterward.

Common reasons to change it: you inherited a machine with a name that no longer fits, you want to match a naming scheme across multiple computers at home or in an office, or you're setting up a used device and want a fresh start. The change affects how the computer appears when you connect to a network, share files, or use remote access tools.

Key Takeaways

  • On Windows 10 and 11, you change the computer name through Settings > System > About, then click Rename This PC and restart.
  • On Mac, go to System Settings > General > About and click Edit next to the computer name field.
  • Computer names can include letters, numbers, and hyphens, but not spaces or special characters like @ or #.
  • After you change the name, the computer must restart before the change takes effect on your network.
  • If you're on a work network or domain, you may need administrator permission or IT support to make the change.

How to rename your computer in Windows 10 and 11

Open Settings by pressing the Windows key and typing "Settings," then select the Settings app. Once it opens, click System in the left sidebar, then scroll down and click About. You'll see a section labeled "Device name" with your current computer name displayed.

Click the button labeled Rename This PC. A text box will appear with your current name highlighted. Delete it and type your new name. Computer names can include letters, numbers, and hyphens, but cannot contain spaces or special characters. Once you've entered the new name, click Next.

Windows will ask you to restart your computer. You can choose to restart now or restart later, but the name change won't take effect until you do restart. If you choose to restart later, do it within the next few hours — the change applies on the next boot. After the restart completes, your computer will appear on the network under its new name.

How to rename your computer on Mac

Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older macOS versions). In the sidebar, click General, then look for the About section. At the top, you'll see "Computer Name" with your current name displayed.

Click the Edit button next to the computer name. A text field will become active. Select all the text and type your new name. Mac allows letters, numbers, and hyphens in computer names, but not spaces or most special characters. Click Done when you're finished.

Unlike Windows, Mac does not require a restart for the name change to take effect on your local network, though you may want to restart anyway if you use remote access or file sharing. The change appears when ready in System Settings and will show on your network within a few seconds.

What characters and length limits explore to computer names

Both Windows and Mac accept letters (A–Z, a–z), numbers (0–9), and hyphens (-) in computer names. Neither system allows spaces, and special characters like @, #, $, %, &, *, or periods are not permitted. The name must be between 1 and 63 characters long on most systems, though keeping it under 15 characters is practical for older network compatibility.

Avoid starting a name with a number or hyphen, as some network tools may not recognize it. A good naming scheme uses lowercase letters and hyphens to separate words — for example, "living-room-laptop" or "office-desktop-2" — rather than trying to use spaces or mixed case.

Renaming a computer on a work network or domain

If your computer is connected to a workplace network or Active Directory domain, you may not have permission to change the name yourself. Your IT department controls the naming scheme and may require you to request the change through a ticketing system or help desk.

Attempting to rename a domain-joined computer without permission can cause network authentication problems or disconnect you from shared resources. If you work in an office environment, contact IT support before making any changes. They can rename the computer remotely or walk you through the process if you have the necessary permissions.

What happens after you change the computer name

On Windows, the change takes effect after restart and appears when ready in File Explorer and Settings. On a home network, other computers and devices may take a few seconds to a few minutes to recognize the new name in network browsing tools.

If you use file sharing, remote desktop, or network printers, those connections will continue to work because they typically use IP addresses rather than computer names. However, if you've set up shortcuts or bookmarks using the old computer name, you may need to update them to use the new name or the IP address instead.

Troubleshooting if the name change doesn't stick

If you change the name but it reverts to the old one after restart, the most common cause is that you didn't have administrator privileges when you made the change. On Windows, right-click Settings and select Run as Administrator, then repeat the rename process. On Mac, you may be prompted to enter your password when you click Edit — do so and try again.

If you're on a corporate network, the domain controller may be overriding your local change. Contact your IT department to confirm whether you're permitted to rename the device. If the name still doesn't change after a second restart, restart once more — sometimes the system needs two boots to fully explore the change.

Frequently Asked Questions

Can I change my computer name without restarting?

On Windows, you must restart for the change to take effect on your network. On Mac, the name change appears when ready in System Settings, though a restart is recommended if you use network sharing or remote access. The restart ensures all services recognize the new name.

Will changing my computer name affect my files or programs?

No. Your files, programs, and user account remain unchanged. The computer name is only a network identifier. Local file paths and program shortcuts will continue to work normally after the rename.

What if I want to change it back to the original name?

Follow the same steps you used to change it the first time. Open Settings or System Settings, navigate to the computer name field, and enter your original name or any new name you prefer. Restart if you're on Windows.

Can I use spaces or special characters in the computer name?

No. Both Windows and Mac reject spaces and most special characters. Stick to letters, numbers, and hyphens. If you need to separate words, use hyphens instead of spaces — for example, "home-office-pc" instead of "home office pc".

Does changing the computer name affect my Wi-Fi or internet connection?

No. Your internet connection depends on your network adapter and router settings, not your computer name. The name change is purely a local identifier and does not affect connectivity or speed.