How to Change the Computer Name in Mac OS X

My aunt-in-law recently bought a white Macbook through a friend and she asked me to change the laptop name from her friends' name to her own. It turns out that it's really a brand new Macbook, but in order to test the laptop, her friend typed in her name on the registration, which then became the name of the computer.

I knew I had changed my computer name previously but I forgot how to do it. The location is not very intuitive, but here's how to do it.

Open System Preferences and click the Sharing icon.

In the Sharing window, go to the box on the right of "Computer Name:" and enter your new computer name.

My first instinct was to look for this command under Hardware. To me, Sharing is more like tweaking permissions it does make sense after some figuring out (you share your computer by giving it a share name, which also becomes your computer name -- but if you're really not used to networking, then this won't be obvious). Anyway, I'm writing it down here because I had to change my Macbook name again and I forgot it again.


  1. Thank you! I was looking to change the name on my Macbook. Could not find it till I got here.

  2. An easier way to get at this menu is through spotlight. Command + Space and search for 'computer name'

  3. @harrison that doesn't work all the time.

  4. thannnk you. you've fixed my months long problem. (:

  5. If you don't know what components you have, here is a great little utility for getting the info regarding motherboard, CPU and RAM:


Thank you for commenting! Your comment will be submitted for review and approval. Please return soon!