The fastest way to change your Mac username

You can change your Mac username directly in System Settings without restarting or creating a new account. Open System Settings, go to General, then Users & Groups (or Accounts on older macOS versions), select your account, and click the edit button next to your name. Type the new username you want and click Save. The change takes effect when ready, though some apps may need to be restarted to recognize the new name.

This method changes only the short username your Mac uses for file paths and terminal commands — the kind that appears in your home folder location like /Users/yourname. Your display name (the friendly name that shows on the login screen) can be changed separately in the same window if you want them to be different.

Key Takeaways

  • Your Mac username and display name are separate — you can change one without changing the other, though most people change both.
  • The username change happens when ready in System Settings, but some applications may need to be closed and reopened to see the new name.
  • Changing your username does not affect your files or passwords — your account remains the same underneath.
  • If you cannot edit your username because the field is locked, you may need to unlock System Settings using your password or Apple ID.

Step-by-step: changing your username in System Settings

Start by opening System Settings. On newer Macs (Ventura and later), click the Apple menu in the top-left corner, then select System Settings. On older versions, look for System Preferences instead. Once System Settings is open, click General in the sidebar on the left.

In the General pane, look for a section called Users & Groups or Accounts — the name depends on your macOS version. Click on your account name in the list on the left side. You should see your current username and display name. Next to your name, there will be an edit button (usually a pencil icon or an "Edit" label). Click it to unlock the fields so you can make changes.

If the edit button is grayed out or locked, click the lock icon at the bottom of the window and enter your Mac password or use your Apple ID to unlock it. Once unlocked, you can change the username field. Type your new username — it should be lowercase, with no spaces or special characters. Click Save or press Enter to confirm the change.

What happens to your files and folders after the change

Your home folder path does not automatically update when you change your username. If your old username was "sarah" and you change it to "sarah.chen", your home folder will still be located at /Users/sarah, not /Users/sarah.chen. This is normal and does not cause problems — your account still works the same way, and all your files remain accessible.

Some applications store file paths or preferences that reference your old username. These apps usually update automatically the next time you open them, but occasionally an older app may not recognize the change. If you notice an app acting strangely after the username change, try closing it completely and opening it again. If the problem persists, you may need to restart your Mac.

Changing your display name separately from your username

Your display name is what appears on the login screen and in some system menus. Your username is what appears in file paths and terminal windows. You can change them independently. In the same Users & Groups window where you changed your username, you can also edit the display name field. Many people keep their display name friendly (like "Sarah Chen") while using a simpler username (like "schen") for technical purposes.

If you only want to change how your name appears on the login screen and leave the technical username alone, edit only the display name field and leave the username field unchanged. This is useful if you want a professional display name but prefer a shorter username for everyday use.

Troubleshooting: when you cannot edit your username

If the edit button is locked and you cannot click it, your System Settings is in a locked state. Look for a lock icon at the bottom of the Users & Groups window and click it. You will be prompted to enter your Mac password or authenticate with your Apple ID. Once unlocked, the edit button should become active.

If you are using a managed account (common on work or school Macs), you may not have permission to change your username. Contact your IT department or account administrator to see if they can make the change for you or grant you permission. If you are the only administrator on your Mac and the fields are still locked, restart your Mac and try again — sometimes a restart clears temporary permission issues.

When to use a new account instead of changing your username

Changing your username is the right choice if you straightforward want a different name for your existing account. However, if you want to completely separate your work and personal files, or if you share your Mac with other people, creating a new user account may be better than renaming your current one. A new account keeps files, settings, and preferences completely separate.

To create a new account instead, go back to Users & Groups in System Settings and click the plus button to add a new user. You can then log in with the new account and transfer files as needed. Your old account remains unchanged, so you can keep both if you want.

Frequently Asked Questions

Will changing my username affect my passwords or login?

No. Your password stays the same, and you log in the same way. The username change is cosmetic from a login perspective — it only affects how your account name appears in file paths and some system menus.

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

Yes. Follow the same steps in System Settings, click edit next to your name, and type your old username (or any new one). The change takes effect when ready, so you can experiment without any lasting consequences.

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

No restart is required. The change takes effect right away. However, if an process seems confused about the new username, closing and reopening that app usually fixes it. A full restart is rarely necessary.

What if I forgot my password and cannot unlock System Settings?

You can use your Apple ID to unlock System Settings instead of your Mac password. Click the lock icon and select the Apple ID option. If you do not remember your Apple ID password, you can reset it at iforgot.apple.com using your recovery email or phone number.

Can I have spaces or special characters in my username?

macOS allows spaces and some special characters, but it is not recommended. Usernames with spaces can cause problems in terminal commands and some applications. Stick to lowercase letters, numbers, and hyphens or underscores for the smoothest experience.