Change your Mac's name in System Settings in under two minutes

Your Mac has a computer name — the name that appears when other devices search for it on a network, and the name you see in System Settings. You can change it anytime without affecting your files, accounts, or installed programs. The process takes about 30 seconds and requires no restart.

Open System Settings, go to General, then About. Click the "Edit" button next to your computer name at the top of the window. Type the new name (up to 63 characters, letters and numbers only), then click "Done". Your Mac updates the name when ready.

Key Takeaways

  • Your computer name is separate from your user account name and appears when other devices connect to your Mac over a network.
  • You can change your Mac's name through System Settings > General > About without restarting or losing any data.
  • Computer names can contain letters, numbers, and hyphens, but not spaces or special characters like @ or &.
  • If you cannot find the Edit button, your account may not have administrator permissions — ask the account holder to make the change.

Where to find your current computer name

Your Mac's computer name appears in several places. The easiest spot to check is System Settings. Click the Apple menu in the top-left corner, select System Settings, then click General in the sidebar. At the top of the window, you will see "About" — click it. Your computer name appears at the very top, next to a small computer icon.

You can also find it in Finder. Open Finder, click Finder in the menu bar, then select Settings. Click the Sidebar tab. Under "Favorites", you will see your computer name listed as a device you can connect to.

The difference between computer name and user account name

These are two separate things, and changing one does not affect the other. Your computer name is what other devices see when they look for your Mac on a network — it is the name that appears in AirDrop, file sharing, and when you connect to printers or other Macs. Your user account name is the login name you type when you start your Mac or wake it from sleep.

If you want to change your user account name instead, that is a different process in System Settings > General > Users & Groups (or Users in newer macOS versions). For now, we are focusing on the computer name only.

Rules for naming your Mac

Mac computer names can be up to 63 characters long and can include letters (uppercase and lowercase), numbers, and hyphens. You cannot use spaces, periods, or special characters like @, &, !, or #. If you try to type a space or forbidden character, the Edit button will not let you save the name.

Good examples: "MacBook-Home", "Jennifers-iMac", "Office-Mac-2". Avoid names that are too long or generic — something specific helps you identify your device quickly if you ever need to troubleshoot network issues or connect to it from another computer.

What happens after you change your Mac's name

The change takes effect when ready. You do not need to restart your Mac. Other devices on your network may take a few minutes to recognize the new name, especially if they have cached the old name. If a printer or another Mac still shows the old name, restart that device or wait a few minutes and try again.

Your files, folders, and user account remain exactly the same. Programs continue to run normally. The only thing that changes is what other devices see when they search for your Mac on the network.

If you cannot edit the computer name

The Edit button may be grayed out or missing if your user account does not have administrator permissions. Only an account with admin rights can change the computer name. If you are not the administrator, ask the person who set up your Mac to make the change for you.

To check your own permissions, go to System Settings > General > Users & Groups (or Users). Look for your account in the list. If it says "Admin" next to your name, you have permission. If it says "Standard", you will need an administrator to change the computer name.

Renaming your Mac for network clarity

If you share your home or office with other people who also have Macs, giving each computer a clear, unique name makes it much easier to manage them. When you set up file sharing, AirDrop, or network printing, you will see each Mac's name in the list of available devices. A name like "Kitchen-iMac" or "Bedroom-MacBook" tells you exactly which device you are connecting to, rather than guessing between "MacBook Pro" and "MacBook Pro".

If you ever sell or give away your Mac, changing the name back to something generic (like "MacBook") before handing it over is a good practice. It signals to the new owner that the device is ready for their own setup.

Frequently Asked Questions

Will changing my computer name affect my passwords or login?

No. Your login password and user account remain unchanged. The computer name is only used for network identification. You will still log in the same way, and all your saved passwords in Safari and other programs will work as before.

Can I use spaces or special characters in my Mac's name?

No. Mac computer names accept only letters, numbers, and hyphens. If you type a space or special character like @ or &, the system will not let you save the name. Use hyphens instead of spaces if you want to separate words — for example, "My-Mac" instead of "My Mac".

What if I change my computer name and my printer stops working?

Restart your printer and wait a minute or two. Most printers cache the old computer name briefly. If the printer still does not connect, go to System Settings > Printers & Scanners, remove the printer from the list, and add it again. The printer will reconnect using the new name.

Can I change my computer name back to what it was before?

Yes, anytime. Follow the same steps: System Settings > General > About, click Edit, type the old name, and click Done. There is no limit to how many times you can change it.

Does my computer name show up on the internet or affect my privacy?

Your computer name is visible only to other devices on your local network (your home Wi-Fi, for example). It does not appear on the internet or to websites you visit. Changing it has no effect on your online privacy or security.