You can change your Mac login username, but the process depends on whether you want to change the display name, the account name, or both

Your Mac actually has two separate usernames: the display name (what appears on the login screen and in menus) and the account name (the technical identifier used by the system, which you see in file paths and terminal commands). Most people want to change the display name, which is simpler. Changing the account name is more involved and requires administrator access, because it affects file permissions and system settings throughout your Mac.

The display name change takes about two minutes and requires no restart. The account name change takes longer and may require you to create a temporary administrator account if something goes wrong. This guide covers both, so you can choose which one fits your situation.

Key Takeaways

  • The display name is what shows on your login screen and in the top-right menu — you can change it in System Settings without restarting.
  • The account name is the technical folder name and system identifier — changing it is more complex and sometimes requires a temporary admin account.
  • If you only want to change how your name appears on the login screen, change the display name and skip the account name entirely.
  • Back up your Mac before changing the account name, because the process can cause problems if interrupted.
  • If you get locked out after changing the account name, you can recover access by creating a new temporary administrator account.

How to change your display name (the straightforward way)

The display name is the name that appears on your login screen, in the top-right corner of your menu bar, and in most places around macOS. Changing it does not affect how your Mac works and takes just a few steps.

Open System Settings (the gear icon in your Dock, or go to Applications > System Settings). Click "General" in the left sidebar, then click "About" near the top. You will see a field labeled "Computer Name" — this is your display name. Click the "Edit" button next to it, type your new name, and click "Done". Your Mac will update the name when ready, and you will see it on the login screen the next time you log out.

That is all you need to do if you only want to change how your name appears. The account name (the folder name in /Users/) stays the same, so nothing else on your Mac breaks.

How to change your account name (the technical username)

The account name is harder to see but more important to the system. It is the name of your home folder (the one with the house icon in Finder), and it appears in file paths like /Users/youraccountname/. If you want to change this, you need administrator access and should back up your Mac first.

The official way to change your account name is to create a new administrator account, migrate your files to it, and delete the old account. This is safer than trying to rename the folder directly. Go to System Settings > General > Users & Groups (or System Settings > General > Login Items on newer Macs, then look for Users & Groups in the sidebar). Click the lock icon at the bottom left and enter your password. Click the "+" button to create a new administrator account with the name you want. Log out and log into the new account to make sure it works.

Once the new account is set up and you have verified it works, you can delete the old account. Go back to Users & Groups, select your old account, click the "−" button, and choose whether to keep or delete the home folder. If you keep it, you can move your files over manually. If you delete it, make sure you have already moved everything you need to the new account.

When to use Migration Assistant instead

If you have a lot of files, applications, or settings in your old account, creating a new account and moving everything manually can take hours. macOS includes a tool called Migration Assistant that can copy your entire account to a new one automatically.

Open Applications > Utilities > Migration Assistant. Choose "To another Mac" or "From a Mac, Time Machine backup, or startup disk" depending on your situation. If you are migrating from a backup or another Mac, Migration Assistant will walk you through copying your account. If you are migrating on the same Mac, you may need to restart into Recovery Mode first (restart your Mac and hold Command + R until you see the Recovery menu). Migration Assistant is slower than manual copying but much more reliable if you have hundreds of gigabytes of data.

What to do if you get locked out after changing your account name

If something goes wrong during the account name change and you cannot log in, you can recover access by creating a temporary administrator account. Restart your Mac and hold Command + S to enter Single User Mode (on Intel Macs) or Command + Option + R for Recovery Mode (on Apple Silicon Macs). From there, you can create a new administrator account or reset your password. This is why backing up before you start is important — if the process fails, you have a copy of your files.

If you are not comfortable with Single User Mode or Recovery Mode, take your Mac to an Apple Store or a local repair shop. They can help you recover access and complete the account name change safely.

Why your Mac has two usernames

The display name and account name are separate because they serve different purposes. The display name is for humans — it is what you see and what other people see when you share your Mac. The account name is for the system — it identifies your home folder, your file permissions, and your settings in the background. Separating them lets you change how your name appears without breaking the technical structure of your Mac.

This is also why changing the account name is risky: if the system cannot find your home folder at /Users/youroldaccountname/, applications may not load your settings, and you may lose access to files. Creating a new account and migrating your data is slower but safer because it keeps the system's internal structure intact.

Frequently Asked Questions

Can I change my account name without creating a new account?

You can try renaming the folder directly in Finder, but this often breaks file permissions and process settings. The safe way is to create a new account and migrate your data, even though it takes longer. If you only need to change how your name appears, change the display name instead — that is when ready and safe.

Will changing my username affect my passwords or login?

Changing the display name does not affect your password at all. If you change the account name, your password stays the same, but the system may ask you to re-enter it the first time you log in after the change. Your keychain (saved passwords and certificates) should migrate with your account if you use Migration Assistant.

What if I only want to change my name on the login screen?

Change the display name in System Settings > General > About. That is the only thing that shows on the login screen. The account name (the folder name) stays hidden unless you open Finder and look at your home folder path.

Do I need to restart my Mac after changing my username?

You do not need to restart after changing the display name. If you change the account name by creating a new account and deleting the old one, you will need to log out and log back in, but a full restart is not required. If you use Migration Assistant, restart when it asks you to.

Can I change my username back if I change my mind?

Yes. If you changed the display name, just go back to System Settings > General > About and change it again. If you changed the account name, you can create another new account with your old name and migrate your data back, but this is time-consuming. Make sure you want the change before you start.