Change your Mac 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. You can change this name anytime through System Settings — it takes about two minutes and requires no restart. The name can be up to 63 characters and can include letters, numbers, and hyphens, but not spaces or special characters like & or %.
The steps are the same whether you use an Intel Mac or an Apple Silicon Mac (M1, M2, M3, or newer). You do not need administrator permission if you are the account owner, but you will need your password to confirm the change.
Key Takeaways
- Open System Settings, click General, then About to find and change your Mac's computer name in one place.
- Your Mac name can include letters, numbers, and hyphens, but spaces and special characters will be rejected.
- The name change takes effect immediately and shows up in Finder and on your network right away.
- If you cannot edit the name field, you are not signed in as an administrator on that Mac.
- Changing your Mac name does not affect your user account name, your home folder, or any files on your computer.
Step-by-step: changing your Mac name
Step 1: Open System Settings. Click the Apple menu in the top-left corner of your screen, then select System Settings. On older Macs running macOS Monterey or earlier, this is called System Preferences instead.
Step 2: Go to General, then About. In the System Settings sidebar on the left, click General. Then click the About tab at the top of the window. You will see a section labeled "Computer Name" with your current Mac name displayed.
Step 3: Click the name field and type the new name. Click directly on the text in the Computer Name field. The text will become editable. Delete the old name and type your new one. You can use letters (uppercase and lowercase), numbers, and hyphens. Do not use spaces, periods, or special characters — the system will reject them.
Step 4: Press Enter to save. Once you have typed the new name, press Enter or Return on your keyboard. The change takes effect immediately. You will see the new name appear in the Computer Name field, and it will show up in Finder and on your network within a few seconds.
Where your Mac name appears
Once you change your Mac name, it shows up in several places. In Finder, the name appears at the top of the window and in the sidebar under Locations. On your network, other devices will see this name when they search for shared computers or printers. If you use AirDrop, the name appears to other users on your network. If you share files through file sharing or screen sharing, the name is what other people see when they browse available computers.
The name also appears in Terminal if you open it and look at the command prompt. Some applications that connect to your network — like backup software or remote access tools — may display your Mac name in their settings or logs.
What does not change when you rename your Mac
Renaming your Mac does not change your user account name. Your account name is separate from your computer name and stays the same in System Settings under Users & Groups (or Users in newer versions). Your home folder name also does not change — if your account is "sarah" and your home folder is /Users/sarah, it stays that way even if you rename the Mac to "Sarah's MacBook Pro".
Your files, applications, and settings are not affected. Passwords, login information, and saved Wi-Fi networks remain exactly as they were. If you have set up iCloud or other cloud services, they continue to work without interruption. The only thing that changes is what other people and devices see when they look for your computer on the network.
Troubleshooting: the name field is locked or grayed out
If you cannot click on the Computer Name field or it appears grayed out, you are not signed in as an administrator. Click the lock icon at the bottom of the System Settings window, enter your administrator password, and try again. If you do not know the administrator password, you will need to contact whoever set up the Mac or use Mac Recovery to reset it.
If the field is editable but the system rejects your new name, you likely used a space or special character. Try again with only letters, numbers, and hyphens. If the name still will not save, restart your Mac and try once more through System Settings.
Renaming a Mac on a network or in a workplace
If your Mac is part of a workplace network or managed by an organization, you may not be able to change the computer name yourself. Your IT department or network administrator may have locked this setting. If you need to rename the Mac, contact your IT support team — they can change it remotely or give you permission to do so.
If you use your Mac on a shared network at home with other devices, changing the name will not affect those devices. Each computer, phone, tablet, and printer has its own name. Renaming your Mac will not rename your iPhone, iPad, router, or any other device.
Frequently Asked Questions
Can I use spaces or special characters in my Mac name?
No. Your Mac name can only contain letters, numbers, and hyphens. If you try to use a space, period, ampersand, or other special character, the system will reject the change and ask you to try again. Use hyphens instead of spaces if you want to separate words — for example, "Sarahs-MacBook" instead of "Sarah's MacBook".
Will changing my Mac name affect my Apple ID or iCloud?
No. Your Apple ID and iCloud account are tied to your account name and email, not your computer name. Renaming your Mac will not log you out of iCloud, change your backups, or affect any synced data. Your Mac will continue to back up to iCloud and sync with your other devices normally.
Do I need to restart my Mac after changing its name?
No. The name change takes effect immediately. You will see the new name in Finder and on your network within seconds. A restart is not necessary and will not speed up the process.
What if I want to change my user account name instead of the computer name?
Your user account name and computer name are separate. To change your account name, go to System Settings, click General, then Users & Groups (or Users). Select your account and click the lock to make changes. Changing your account name is more complex than changing your computer name and may affect file paths and some applications.
Can I see what my Mac name is without going into System Settings?
Yes. Open Finder and look at the top of the window — your Mac name appears there. You can also right-click your Mac in the Finder sidebar under Locations to see its full name. In Terminal, type "hostname" and press Enter to see your computer name displayed.