MacBook Repair Dubai

How-to · macOS

How to Change Your MacBook's Name

Renaming your MacBook takes about 30 seconds and instantly updates AirDrop, Finder sharing, and your iCloud device list - here's the simple way, plus the Terminal trick for the technical hostname.

By Usman, Senior MacBook technician Last updated May 2026 5 min read
Changing a MacBook computer name in System Settings General About in Dubai

How to Change Your MacBook's Name?

Quick answer

To rename your MacBook: open System Settings → General → About, click the current Name field, type the new name, and press Return. The change is instant - no restart - and updates AirDrop, Finder, and your iCloud device list within seconds.

The 30-second way - change the computer name

On any modern MacBook running macOS Ventura, Sonoma, Sequoia, or later, open the Apple menu in the top-left corner and choose System Settings → General → About. Click the Name field at the top, type whatever you like, and press Return. That's it - the change is instant, survives without a restart, and you can rename as many times as you want with no data loss.

On older Macs running macOS Monterey or earlier, the menu is called System Preferences, and the field lives under Sharing - the Computer Name box sits right at the top of that pane.

Why the name matters

The computer name is how your MacBook identifies itself everywhere it talks to other devices. A clear, recognisable name saves confusion when several Apple devices are on the same network. It shows up in:

  • AirDrop - so friends and colleagues pick the right Mac
  • Finder sharing - under "Locations" on other Macs on your network
  • Your iCloud device list and Find My
  • Wi-Fi and network settings, including your router's client list
  • Bluetooth pairing prompts

Computer name vs hostname vs Bonjour name vs local hostname

macOS actually tracks three related names. When you edit the field in About, macOS usually keeps them in sync automatically - but it helps to know the difference:

  • Computer name - the friendly, human-readable name you set in About/Sharing. Spaces and capitals are fine (e.g. "Usman's MacBook Pro").
  • Local hostname (Bonjour name) - the network name ending in .local that Macs, printers, and AirPlay use to find each other. macOS derives it from the computer name, swapping spaces for hyphens (e.g. Usmans-MacBook-Pro.local).
  • Hostname (HostName) - the low-level Unix hostname seen in Terminal and over SSH. By default it's unset and macOS falls back to the local hostname, but you can set it explicitly.

Change the hostname in Terminal with scutil

If you manage your Mac over SSH or want full control, set all three names directly. Open Terminal (Applications → Utilities) and run these one at a time, replacing the value in quotes. They need administrator rights, so each sudo command will ask for your password:

  • sudo scutil --set ComputerName "New Name" - the friendly computer name
  • sudo scutil --set LocalHostName "New-Name" - the Bonjour/.local name (no spaces or special characters)
  • sudo scutil --set HostName "New-Name" - the Unix hostname for Terminal and SSH

Setting all three keeps everything consistent. The change takes effect immediately; a new Terminal window will show the updated prompt.

Heads up - this is not the same as your user account name

Renaming the MacBook does not rename your user account or its short name (the name of your Home folder). The account short name is baked into file paths and permissions across the system, so changing it is fiddly and risky - done carelessly it can break apps, logins, or even lock you out. If you genuinely need to change the account short name, back up first and follow Apple's advanced-user steps exactly, or let a technician handle it. For most people, the computer name above is the only thing they ever need to change.

Name won't stick or AirDrop still shows the old one?

Occasionally a name change won't propagate - usually a stale Bonjour cache or a network glitch. Toggle Wi-Fi off and on, or restart the Mac, and the new name appears everywhere. If your MacBook is also feeling sluggish while you're in there, our 10 fixes for a slow MacBook are a quick read. And if the screen, keyboard, or anything else is misbehaving, our MacBook repair team in Dubai offers free pickup, free diagnosis, and a 90-day warranty.

Frequently asked questions

  • Open the Apple menu → System Settings → General → About, click the Name field, type the new name, and press Return. On macOS Monterey and earlier it's under System Preferences → Sharing → Computer Name. The change is instant and needs no restart.

Related on MacBook Repair Dubai

About the author

Usman is a senior macbook technician at MacBook Repair Dubai, Dubai's longest-running Apple-only repair workshop (since 2004). Personally signs the QC checklist on every job leaving the bench.

A bigger MacBook problem than a name change?

Free diagnostic across Dubai

From our blog

Call now WhatsApp