how to change the user name on macbook

Change Username on MacBook: Step-by-Step Guide

By William Lewis
AD

Ever felt that your Mac's username is a bit too generic or doesn't reflect your individuality? You're not alone. MacOS allows you to change your username easily, and we're here to guide you through the process. Let's dive in.

Before we start, remember that changing your username won't affect your Apple ID. It will only change the username visible on your computers and in system preferences. Ready? Let's get started.

Changing Your User Name via System Preferences

The System Preferences method is straightforward and accessible. Here's how to do it.

AD
Easy: How to Change the Name of Your MacBook
Easy: How to Change the Name of Your MacBook
How to Change the Computer Name or Local Hostname on a Mac - Pi My Life Up
How to Change the Computer Name or Local Hostname on a Mac - Pi My Life Up
How to Change MacBook Name With Easy Steps
How to Change MacBook Name With Easy Steps

First, launch System Preferences from the Apple menu, then click on Users & Groups. You'll see your current username. Here's where the magic happens.

Unlocking the Preferences

To make changes, you need to unlock the preferences. Click on the lock icon at the bottom left. Enter your password when prompted. Now you're ready to make changes.

How to change MacBook name: our ultimate guide
How to change MacBook name: our ultimate guide
How to Change Your Mac's Computer Name - Make Tech Easier
How to Change Your Mac's Computer Name - Make Tech Easier

If you're an admin user, you can also click the + button to create a new user or the - button to delete a user. But for now, let's focus on changing the username.

Changing the Username

Select your current username in the list. Now, you'll see the Full Name field. Just type your new username in this field. No special characters or spaces are allowed. When you're done, click the modify button.

AD

You'll be prompted to confirm the change. Click OK, and that's it! You've successfully changed your username. But, you might need to restart your computer for the changes to take full effect.

Changing Your User Name via Terminal

If you're comfortable with command lines, you can also change your username using the terminal. It's a bit more advanced but gives you more flexibility.

Open Terminal, found in Applications > Utilities. You'll need to use the 'chpass' command to change your password. Here's how to do it.

AD

Using the chpass Command

Type the following command into the terminal: sudo chpass -n . Replace with your desired new username and with your current username.

You'll be prompted to enter your password. Note that you won't see any characters as you type for security reasons. After entering your password, hit return.

You'll see a line saying your password was updated successfully. That's it! Now, exit the terminal. You've just changed your username using the command line.

AD

And that's a wrap! Now you know how to change your username on your Mac, whether you're a beginner or a seasoned command-line user. Enjoy your new username! Remember, if you're ever stuck, Apple's official support resources are always a great place to look.

AD