profile picture

Hyder Abbass

Windows 2 2k

By default, your Mac’s computer name is your name followed by’s Mac – for example mine is Hyder Abbass’s Mac. If you have just bought a used Mac or a hand-me-down from your sibling, chances are that you want to change the name of your Mac.

There are other reasons as well why you might want to give a proper name to your Mac computer like for example if you want to recognize it on your local network or if you are connecting other devices via bluetooth or AirPlay.

Change Computer name on Mac

Whether you have Mavericks or Yosemite, the steps to change your Mac name is straightforward, here’s how you can do it:

  • Click on the Apple logo at the top right on your screen and then go to System Preferences.

  • Open the Sharing folder to change your Mac computer name.

Change the name of your mac

If you are an advanced Mac User and comfortable with the terminal, you can simple run:

sudo scutil --set ComputerName ""

Easy right? Just make sure you set up a proper and distinguishable name as that’s what would be displayed on your local Network if you are connected to one.

Show Computer name in Finder

In case you had like to check how others will see your device name, you can enable it in finder by following these steps:

  • On the top menu in Finder, select Finder and then Preferences.

  • Under the Shared section, you should see your device name. Check the box next to it to make it appear in Finder.

change computer name mac and add device name in sidebar

Change Computer name in terminal

A few readers told me that they changed their Mac’s name. However, when they launched terminal, they could still see their previous name. Actually, this is quite normal.

Your computer name has nothing to do with the name on your terminal. You need to change your host name which is basically your computer name on the terminal. You can change it by running the following command.

sudo scutil --set HostName type-your-name


Your email address will not be published. Required fields are marked *

James's photo


Sunday, January 3rd, 2016

Does this work for Mac OS X Leopard?
Bob's photo


Saturday, January 2nd, 2016

My dad just gave me his old Mac Book pro. It was really a pain to find the option to change the computer name since I'm most of the time a Windows User. Thanks for the tip.