Change your Mac's name through System Settings in three steps

Your Mac has a computer name that appears in Finder, on your network, and when other devices search for it. To change it, open System Settings, go to General, then About, and click the Edit button next to your computer name. Type the new name and press Return. The change takes effect immediately, though some network services may take a few minutes to recognize the new name.

The name you choose can be up to 63 characters long and can include letters, numbers, hyphens, and periods. Avoid special characters like @ or # — they can cause problems with file sharing and network discovery. If you share your Mac with other users, any of them can change the computer name, so this is not a permission-restricted task.

Key Takeaways

  • Your computer name is visible in Finder's sidebar, in network settings, and to other devices on your network.
  • The quickest way to change it is System Settings > General > About, then click Edit next to the computer name.
  • Network services like AirDrop and file sharing may take a few minutes to recognize the new name after you change it.
  • You can also change your local hostname (used for network connections) separately from your display name if you need both to be different.

Where your Mac's name appears and why it matters

Your computer name shows up in several places. In Finder, it appears in the sidebar under Locations. When you use AirDrop to send files to nearby Macs, the name you see is your computer name. On your home or office network, other devices can see this name when browsing for shared files or printers. If you use remote access tools or screen sharing, the computer name is often the easiest way to identify which Mac you are connecting to.

Changing the name does not affect your user account name, your login password, or any of your files. It is purely a label for the device itself. If you have multiple Macs, giving each one a descriptive name — like "Kitchen Mac" or "Work MacBook" — makes it much easier to manage them and avoid confusion when sharing files or using AirDrop.

Step-by-step: changing your computer name in System Settings

Click the Apple menu in the top-left corner and select System Settings. On the left sidebar, click General. In the main panel, look for the About section and click it. You will see your current computer name at the top of the window.

Next to your computer name, click the Edit button. A text field will appear with your current name highlighted. Delete the old name and type the new one. When you are done, press Return or click the Done button. Your Mac will confirm the change and apply it right away.

If the Edit button does not appear, you may not have permission to change the name. On a shared Mac, only the administrator account can make this change. If you are not sure whether you have admin access, go to System Settings > General > Users & Groups and check whether your account shows "Admin" next to your name.

What happens immediately after you change the name

The change takes effect as soon as you press Return. Your Mac does not need to restart. However, some services take a moment to catch up. AirDrop may show the old name for a few seconds before updating. File sharing connections may briefly disconnect and reconnect. If you are using remote access or screen sharing, the old name may still work for a minute or two before the system fully switches over.

If you are on a network with a lot of devices, or if your Mac is connected to a corporate network, the change may take up to five minutes to propagate fully. This is normal and not a sign that something went wrong. If you need to access your Mac remotely right after changing the name, wait a few minutes before trying to connect using the new name.

Choosing a name that works across networks and devices

Keep your computer name simple and descriptive. Names like "MacBook-Pro" or "Jennifers-iMac" work well. Avoid spaces if possible — while macOS allows them, some older devices or network services may have trouble with them. Stick to letters, numbers, hyphens, and periods. Do not use @ # $ % or other special characters, as these can cause issues with network protocols and file sharing.

If your Mac is part of a workplace network, check with your IT department before changing the name. Some organizations use naming conventions for inventory or security reasons, and changing the name without permission can cause problems with network access or device management tools. If you are on a personal network, you have full freedom to name your Mac whatever you want.

The difference between computer name and local hostname

Your Mac actually has two names: the computer name (what you see in System Settings and Finder) and the local hostname (used for network connections and terminal commands). For most people, changing the computer name is all you need to do. The local hostname updates automatically to match.

If you need to change the local hostname separately — for example, if you use terminal commands or network scripts — you can do that through Terminal. Open Terminal, type sudo scutil --set HostName NewName and press Return. You will be asked for your password. This is rarely necessary unless you are managing your Mac for development or network administration purposes.

Troubleshooting if the name will not change

If you click Edit and nothing happens, or if the change does not stick, the most common cause is that you do not have administrator permission. Log out and log back in with an admin account, then try again. If you are the only user on your Mac, your account should already be an admin.

If the name changes but then reverts back after a restart, your Mac may be enrolled in a device management system (common on work Macs). In that case, the management system is overriding your change. Contact your IT department — they may need to update the name in their system, or they may have locked it intentionally.

If you see an error message saying the name is invalid, check that you are not using special characters. Delete any @ # $ % or other symbols and try again with only letters, numbers, hyphens, and periods.

Frequently Asked Questions

Will changing my computer name affect my files or backups?

No. Your files, folders, and Time Machine backups are not affected by changing the computer name. The name is just a label for the device. If you have existing backups, they will continue to work normally, and new backups will be created under the new name.

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

Yes, anytime. Go back to System Settings > General > About, click Edit, and type the old name. There is no limit to how many times you can change it. Some people change their computer name seasonally or when they upgrade their setup.

What if I forgot what my computer name was?

Open System Settings > General > About and look at the top of the window. Your current computer name is displayed there. You can also see it in Finder by looking at the sidebar under Locations — your Mac appears there with its computer name.

Does changing the computer name change my Wi-Fi network name?

No. Your Wi-Fi network name (SSID) is separate from your computer name. Changing the computer name does not affect your Wi-Fi settings. If you want to change your Wi-Fi network name, go to System Settings > Wi-Fi, then click Details next to your network and look for the network name settings.

Can I use emoji or other languages in my computer name?

macOS allows some emoji and non-English characters, but they can cause problems with older devices or network services. For the most reliable experience across all your devices and networks, stick to English letters, numbers, hyphens, and periods.