You can change your Mac login username through System Settings, but the process depends on whether you use an Apple ID or a local account

Your Mac login username is the name you type when you start your computer or wake it from sleep. Changing it is straightforward if you have administrator access, but the steps differ based on your account type. If you log in with an Apple ID, you'll change the display name rather than the login name itself — the login name stays tied to your Apple ID. If you use a local account with no Apple ID attached, you can change the login name directly, though it requires a few extra steps.

The fastest route is through System Settings on your Mac. You'll need to know your current password and have administrator rights on the computer. The whole process takes about five minutes.

Key Takeaways

  • Apple ID accounts let you change your display name in System Settings, but the actual login name stays the same and remains tied to your Apple ID.
  • Local accounts (those without an Apple ID) require you to create a new administrator account first, then transfer files and delete the old account.
  • Your login username appears in the login window when you start your Mac and in the Finder sidebar under "Locations."
  • Changing your login name does not affect your files, applications, or passwords — they move with your account.
  • If you forget your password, you cannot change your username without resetting it first through your Apple ID or recovery options.

Changing the display name for an Apple ID account

If your Mac account is connected to an Apple ID, you're actually changing your display name, not your login name. The login name stays the same and remains linked to your Apple ID. Open System Settings and click "General" in the sidebar. Then click "About" at the top of the window. You'll see your account name listed there — this is what appears in the login window and the Finder sidebar.

To change it, go back to System Settings and click your profile picture or initials in the top-right corner of the window. Select "System Settings" from the menu that appears. Click "General" again, then look for your account information. Click the edit button (pencil icon) next to your name and type the new display name you want. Click "Done" and enter your password to confirm the change. The new name appears when ready in the Finder sidebar and login window.

Changing the login name for a local account

Local accounts — those created on your Mac without an Apple ID — require a different process because the login name is baked into the account's file structure. You cannot straightforward edit it in System Settings. Instead, you'll create a new administrator account, move your files over, and delete the old one.

First, create a new administrator account. Open System Settings, click "General," then click "Users & Groups" (or "Users & Groups" in older macOS versions). Click the lock icon at the bottom and enter your password. Click the plus button to add a account. Set the account type to "Administrator," give it a temporary name like "Temp Admin," and create a password. Click "Create User." Log out of your current account and log into the temporary admin account.

Now go back to System Settings and open Users & Groups. Select your old account and click the minus button to delete it. A dialog will appear asking what to do with the files in that account — choose "Keep the home folder" so your files are preserved. The old account is deleted, but a folder with your username remains on the Mac. Rename this folder to match your new desired username, then move it into the Users folder if it isn't already there. Log back into your original account (it now has the new name), and delete the temporary admin account the same way.

What happens to your files and applications when you change your username

Your files, applications, and settings stay exactly where they are. When you change your login name, the Mac updates the internal pointers that connect your account to your home folder and all its contents. You won't see any difference in where things are stored or how they work.

Some applications store preferences or settings in hidden folders within your home directory. These also move with your account, so your saved preferences in Mail, Safari, or other apps remain intact. If you use cloud services like iCloud, Google Drive, or Dropbox, those connections stay active because they're tied to your Apple ID or the service account itself, not your Mac username.

Why your login name and display name are different things

The login name is the technical identifier your Mac uses internally — it's what appears in file paths and system logs. The display name is what you see in the Finder sidebar, the login window, and when you share files with others. On Apple ID accounts, the display name can be anything you want, but the login name stays consistent so the system can find your files reliably.

This separation exists because changing the login name on an Apple ID account would break the connection between your account and your Apple ID. Local accounts don't have this constraint, which is why you can change the login name directly — though it requires the workaround of creating a temporary account first.

Troubleshooting: what to do if you can't change your username

If System Settings won't let you edit your account name, you probably don't have administrator access. Ask whoever set up the Mac to give you administrator rights, or use the Recovery Mode to reset your password and regain control. Restart your Mac and hold Command + R until you see the Recovery Mode menu. Click "Utilities" and open Terminal. Type resetpassword and press Enter to launch the password reset tool.

If you're trying to change a local account username and the delete button is grayed out, make sure you're logged into an administrator account that is not the one you're trying to delete. You cannot delete the account you're currently using. If you're the only administrator, create a temporary admin account first, then log into it before deleting your original account.

Frequently Asked Questions

Does changing my Mac username affect my Apple ID?

No. Your Apple ID remains the same regardless of what you name your Mac account. If you change your display name, your Apple ID login credentials stay unchanged. You'll still use the same email and password to sign into iCloud, the App Store, and other Apple services.

Will changing my username log me out of apps and services?

No. Applications and cloud services are tied to your Apple ID or the service account itself, not your Mac username. Mail, iCloud, Dropbox, and other apps will continue working without interruption. You may need to re-enter your password in a few applications, but your data and settings remain intact.

Can I change my username without creating a new account?

If you use an Apple ID, yes — you change the display name directly in System Settings. If you use a local account, no — you must create a temporary administrator account, delete the old one, and rename its home folder. This is a Mac system limitation to protect file structure integrity.

What if I forgot my password and can't change my username?

You'll need to reset your password first. Restart your Mac and hold Command + R to enter Recovery Mode. Click "Utilities" and select "Reset Password." Choose your account and enter a new password. Once you've regained access, you can then change your username through System Settings or the account deletion process.

Does my login username appear anywhere else on my Mac?

Yes. It shows in the Finder sidebar under "Locations," in the login window when you start your Mac, and in file paths (like /Users/yourname/Documents). Some applications also display it in their settings or preferences. Changing your username updates all of these places automatically.