How to rename your Mac

Rename Mac

If you've got an Apple, Mac or iOS tech question, we have the answer. This time the question comes from a reader who wants to know how to rename his Mac. Normally what you call your Mac isn't a big deal, but when your Mac is sporting a name from a previous user, it's definitely time for a change. Luckily, switching to a new name isn't a problem once you know what setting to adjust.

How do I rename my Mac?

I have just purchased a second-hand 2009 iMac running Yosemite, and although I have changed the name everywhere I could find including Terminal and iTunes, it is still saying "Colin's iMac" instead of my name. Could you tell me how I could change this?

Answer

The computer name as it appears in the Sharing panel, iTunes sharing, and in the Terminal is controlled by your computer name in the Sharing preference pane in System Preferences. To change this value and update your information across your network, perform these steps:

1. Open Apple menu > System Preferences.

2. Open the Sharing preference pane.

3. In the "Computer Name" field, enter a name (spaces aren't allowed, so use "-" where spaces would go).

4. Exit the preference pane when you're finished.

Rename Mac

The sharing preference pane houses the Computer Name field that you can change to whatever name you'd like to appear on your network and in apps that share via Bonjour.

You may need to restart your computer in order for other computers on your network to refresh and see the changes. You should be able to immediately see the name change in the Terminal if you close the Terminal and relaunch it.

Got an Apple tech question? Email ask@maclife.com.

TOPICS
Read more
How to transfer files to a new PC
Lost and found: How to recover missing files on your Mac
Apple's Craig Federighi opens a MacBook Air laptop at Apple's November 2020 Apple silicon launch event.
Sick of your MacBook starting when you open the lid? Apple has just revealed a fix
A woman sitting on a couch cross-legged and using a laptop
Essential apps and features to start getting the most out of your brand-new Mac
A man editing a photo on a Mac Mini
How to shop for a new Mac at the last minute
iMac (24-inch, 2021)
How to clear purgeable space on Mac
iPad Air M3
Apple makes one hardware change to the iPad Air that might be the best indicator of its true lightweight tablet intentions
Latest in Pro
Hands typing on a keyboard surrounded by security icons
Outdated ID verification myths put businesses at risk
China
Chinese hackers targeting Juniper Networks routers, so patch now
Google Meet create custom backgrounds
More AI features are coming to Google Workspace
Mac Studio on a desk
I compared Apple's Mac Studio M3 Ultra with 10 Windows workstations and I am truly shocked by what I found
Google Chrome dark mode
Google updates Chrome extension rules to ban affiliate link injection without user action or benefit
Abstract image of robots working in an office environment including creating blueprint of robot arm, making a phone call, and typing on a keyboard
This worrying botnet targets unsecure TP-Link routers - thousands of devices already hacked
Latest in How Tos
Lunar eclipse
I'm a pro photographer – here's how I'm shooting the total lunar eclipse blood moon with my camera and phone
Photoshop CC logo on a screen
How to make an image background transparent in Photoshop
Glasgow Rangers' Nigerian forward Cyriel Dessers runs with the ball during a UEFA Europa League round of 16 first-leg football match in March 2025
Rangers vs Fenerbahce live stream: How to watch UEFA Europa League online
Tottenham Hotspur player Lucas Bergvall participates in the match at the AFAS Stadium for the UEFA Europa League
Tottenham vs AZ live stream: How to watch the Europa League online from anywhere
Bruno Fernandes of Manchester United celebrates after scoring their side's first goal during a Premier League match in March 2025
Man Utd vs Real Sociedad live stream: How to watch the Europa League game online
Cheltenham racing festival 2024 day four: Paul Townend on Galopin Des Champs crosses the finishing line for victory in the Gold Cup
Cheltenham Festival 2025 live stream: How to watch world-class horse racing online