The two ways to change your Mac username

You can change your Mac username in two places: the account name that appears on the login screen, and the folder name where your files live. Most people need to change both, but they work differently. The account name change happens in System Settings and takes effect when ready. The folder name change is more involved because macOS protects the home directory — you may need to create a new account or use the command line, depending on which folder you want to rename.

If you only want to change how your name appears when you log in, that takes five minutes. If you want to change the actual folder path from /Users/oldname to /Users/newname, plan for 30 minutes to an hour and have a backup ready.

Key Takeaways

  • Changing your display name in System Settings is quick and does not affect your files or folder structure.
  • Changing your home folder name requires either creating a new account and migrating files, or using Terminal commands that can cause problems if done wrong.
  • Before you change anything, back up your Mac using Time Machine or another backup method.
  • If you use iCloud, your Apple ID and iCloud settings stay the same no matter which username you change.
  • Some applications store settings tied to your old username and may need to be reconfigured after a folder name change.

Changing your display name in System Settings

This is the fastest change and the one most people actually need. Your display name is what shows on the login screen and in the top-right corner of your menu bar. It does not affect your home folder or any file paths.

Open System Settings and go to General > About. Look for the field labeled Computer Name — this is what appears on your network and in Finder when other devices browse your Mac. Below that, click Edit next to your account name at the bottom of the window. Type your new name and click Done. The change takes effect when ready; you do not need to restart.

If you want to change only how your name appears in the login window and menu bar, this is all you need to do. Your files stay in the same folder, your applications work the same way, and nothing breaks.

Changing your home folder name: the safer method

If you need to change the actual folder path — the directory where your Documents, Downloads, Desktop, and all your user files live — the safest approach is to create a new account with the name you want, then move your files over.

First, back up your entire Mac using Time Machine or another backup tool. Then create a new administrator account: go to System Settings > General > Users & Groups (or Login Items on newer macOS versions), click the lock icon, enter your password, then click the + button to add a new account. Choose Administrator as the account type and give it the username you want. Log out of your current account and log into the new one.

Once you are in the new account, open Finder and navigate to /Users. You should see your old account folder. Open it and select all your files (Command+A), then copy them to your new account's home folder. This can take a while if you have a lot of files. When it is done, you can delete the old account: go back to System Settings, unlock Users & Groups, select your old account, and click the − button. Choose whether to keep or delete the old folder.

Changing your home folder name using Terminal

If you want to rename your existing home folder without creating a new account, you can use Terminal — but this method carries more risk. One wrong command can lock you out of your account or break file permissions. Only use this if you are comfortable with the command line and have a full backup.

Boot your Mac into Recovery Mode by restarting and holding Command+R. Open Terminal from the Utilities menu. Type csrutil disable to turn off System Integrity Protection, then restart normally. Once you are back in your account, open Terminal again and type sudo mv /Users/oldusername /Users/newusername, replacing the names with your actual old and new usernames. Enter your password when prompted. Restart your Mac, then boot back into Recovery Mode, open Terminal, and type csrutil enable to turn System Integrity Protection back on. Restart again.

This method works, but disabling System Integrity Protection leaves your Mac less protected during the process. If anything goes wrong — a typo, an interruption, a permissions issue — you may need to restore from your backup. The account creation method is slower but much safer.

What happens to your applications and settings

If you only change your display name in System Settings, nothing breaks. Your applications, email, iCloud, and everything else works exactly as before.

If you change your home folder name, some applications may not find their settings files right away. Adobe Creative Suite, Microsoft Office, and some older applications store preferences in hidden folders tied to your username. After a folder rename, these apps may ask you to sign in again or reset preferences. This is not permanent — it just means the process is rebuilding its settings file in the new location. Most modern applications handle this automatically.

Your Apple ID and iCloud account are separate from your username, so changing your Mac username does not affect iCloud sync, Find My Mac, or any Apple services. You stay logged in to iCloud regardless of what your folder is called.

When to change your username and when not to

Change your display name if you want a different name on the login screen, in Finder, or on your network. This is cosmetic and safe.

Change your home folder name if you inherited a Mac with someone else's username, if your name has changed, or if you are setting up a Mac for someone else and want their name from the start. Avoid changing your folder name if you have a lot of applications installed or if you use specialized software that stores settings in your home directory — the risk of something breaking is higher.

Do not change your username if you are not sure which one you are changing. If you are unsure whether you need the display name change or the folder change, you probably only need the display name change.

Frequently Asked Questions

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. You can change your Mac username as many times as you want and stay signed into iCloud the whole time. Your photos, documents, and settings sync normally.

Can I change my username if I forgot my password?

You need your current password to change your account name in System Settings. If you forgot it, restart your Mac and hold Command+Q at the login screen to open the password reset utility. Once you reset your password, you can change your username.

What if I change my folder name and some apps stop working?

Restart the affected process. Most apps will rebuild their settings files in the new location automatically. If an app still does not work, sign out and sign back in. If it is an older process that stores settings in a specific folder path, you may need to reinstall it.

Is it safe to change my username while I have files syncing to iCloud?

Yes, but pause iCloud sync before you start. Go to System Settings > iCloud and turn off sync for any services you use. Wait for any pending uploads to finish, then make your username change. Turn iCloud sync back on when you are done. This prevents sync conflicts during the rename.

Can I have two usernames on the same Mac?

Yes. You can create multiple user accounts on one Mac, each with its own username, home folder, and settings. Each person logs in separately and sees only their own files. This is different from changing a username — you are adding a new account instead.