The fastest way to change your username

Open System Settings, go to General, then Users & Groups (or just Users on newer Macs). Click the lock icon in the bottom left, enter your password, then right-click your account name in the left panel and select "Advanced Options". Change the short name — that's the username — to what you want, then click OK. The change takes effect when ready, though some apps may need to be restarted to recognize it.

The short name is what matters for login and file paths. Your full display name (the one that appears in Mail and Messages) can be different, and you can change that separately in the same Users & Groups window without touching the short name at all.

Key Takeaways

  • The short name in Advanced Options is your actual username; the display name is just what shows in apps and can stay the same.
  • You must unlock the Users & Groups pane with your password before you can edit any account details.
  • Changing your username does not move or rename your home folder — files stay where they are, but the path changes.
  • Some apps store preferences tied to your old username and may need to be restarted or reconfigured after the change.

What happens to your home folder and files

When you change your username, macOS does not automatically rename your home folder from /Users/oldname to /Users/newname. Your files stay in the old folder, but your account now points to it under the new name. This usually works without problems — most apps find your files by looking for the home folder, not by checking the folder name.

If you want the folder name to match your new username exactly, you need to rename it manually. Open Finder, go to /Users, right-click your old folder, and select Rename. Type the new name (it must match your new short username exactly). You may need to restart your Mac for all apps to recognize the change fully.

Apps and settings that may need attention after changing

Most modern apps adjust automatically, but some older software or tools tied to system administration may still reference your old username. Mail, Messages, and other Apple apps usually update without problems. However, command-line tools, development environments, and backup software sometimes store paths or preferences using your old username.

If you use Terminal or work with code, check any configuration files that might have hardcoded paths with your old username. If you use Time Machine, the backup usually continues without interruption, but verify that your backup is running normally a few hours after the change. If you use a password manager, VPN, or other security software, restart those apps after changing your username.

Changing your display name without changing your username

Your display name is what appears in Mail, Messages, FaceTime, and other apps — it does not have to match your username. If you only want to change how your name appears to other people, leave the short name alone and edit the full name field instead.

In Users & Groups, click your account, then click the pencil icon next to your name at the top of the window. Type your new display name and press Enter. This change takes effect when ready in most apps, though Mail and Messages may need to be restarted to show the new name in the compose window.

Restrictions and what you cannot change

You cannot change the username of the account you are currently logged into — you must use a different admin account or create a temporary one. If you only have one account, create a second admin account first, log out, log in as the new account, then change the original account's username.

You also cannot use a username that already exists on your Mac, and usernames must be lowercase with no spaces (hyphens and underscores are allowed). If you try to use a name that breaks these rules, macOS will reject it and ask you to try again.

If something goes wrong after changing your username

If an app stops working or cannot find your files, try restarting both the app and your Mac. If a specific app keeps looking for files in the old path, you may need to reinstall it or reset its preferences. To reset an app's preferences, quit it, open Finder, press Command-Shift-G, type ~/Library/Preferences, find the app's preference file (usually named com.appname.plist), and move it to Trash.

If you renamed your home folder and now your Mac is behaving strangely, you can rename it back. Open Finder, go to /Users, right-click the folder, select Rename, and type your new short username exactly as it appears in Users & Groups. Restart your Mac after making the change.

Frequently Asked Questions

Do I need to change my password when I change my username?

No. Your password is separate from your username and does not change automatically. You can change your password separately in System Settings under General > Users & Groups if you want to, but it is not required when you change your username.

Will changing my username affect my iCloud or Apple ID?

No. Your Apple ID and iCloud account are tied to your email address, not your Mac username. Changing your Mac username does not affect iCloud, Find My Mac, or any Apple services. You stay signed in to iCloud with the same account.

Can I change my username back to what it was before?

Yes. Go back to Users & Groups, unlock the pane, right-click your account, select Advanced Options, and change the short name back to the old one. If you renamed your home folder, you will need to rename it back as well.

What if I forgot to unlock the Users & Groups pane?

Click the lock icon in the bottom left corner of the Users & Groups window, then enter your password when prompted. The lock will open and you can edit your account details. If you do not have your password, you will need to use Recovery Mode or another admin account to make changes.

Does changing my username affect file sharing or network access?

File sharing permissions tied to your old username may need to be updated if you shared folders with specific user accounts. Check System Settings under General > Sharing, and update any file sharing rules that reference your old username. Network access and remote login usually continue without problems.