The two ways to change your username

You have two separate things you can change on a MacBook Air: your account name (what appears in System Settings and login screens) and your home folder name (the actual directory where your files live). Most people want to change the account name. The home folder name is harder to change and rarely necessary unless you inherited a machine with a folder named something you don't want to keep.

Changing your account name takes about five minutes and requires you to restart your Mac. You do not need to erase anything or create a new account. The process is straightforward in System Settings, though you will need your administrator password.

If you also want to change the home folder name to match, that requires a separate step and is more involved — it means creating a new administrator account temporarily, renaming the folder while your original account is logged out, then deleting the temporary account. Most people skip this step.

Key Takeaways

  • You can change your account name in System Settings under Users & Groups without losing any files or settings.
  • The account name is what shows on your login screen and in the top-right corner of your Mac; the home folder name is a separate thing stored in Finder.
  • Changing your account name takes about five minutes and requires a restart; changing the home folder name requires an extra administrator account and takes longer.
  • You will need your administrator password to make either change, and you should back up your Mac first as a precaution.

How to change your account name in System Settings

Open System Settings (the gear icon in your dock or Applications folder). Click General in the sidebar, then scroll down and click Users & Groups — on newer Macs running Sonoma or later, this may be under General > Users & Groups or directly in the sidebar. You will see a list of accounts on your Mac.

Click the lock icon in the bottom-left corner and enter your administrator password when prompted. This unlocks the settings so you can make changes. Once unlocked, right-click (or Control-click) on your account name in the list and select Advanced Options. You will see a field labeled Full Name — this is your account name. Type the new name you want and click OK.

Your Mac will ask you to restart. Save any open work, then click Restart. When your Mac comes back up, your new account name will appear on the login screen and in the top-right corner of your screen. All your files, settings, and applications remain exactly where they were.

What changes and what stays the same

When you change your account name, your login password does not change — you still use the same password to log in. Your home folder path (the long string of letters and numbers in Finder) also does not change automatically. This is why your files are still there and everything works normally.

The name that changes is purely cosmetic: it is what appears in System Settings, on the login screen, and in the top-right corner of your menu bar. Any applications you have installed, any documents you have saved, any email accounts you have set up — all of it stays connected to your account and works exactly as before.

If you share your Mac with other people, changing your account name does not affect their accounts at all. Each person has their own separate account, and changing one does not touch the others.

Changing your home folder name (optional and more complex)

Your home folder is the actual directory on your hard drive where your files are stored. Its name usually matches your account name, but not always — especially if you inherited a used Mac or if you changed your account name after setup. If you want the home folder name to match your new account name, you need to rename it separately.

This requires creating a temporary administrator account, logging out of your main account, renaming the folder while it is not in use, then deleting the temporary account. The steps are: create a new administrator account in Users & Groups, log out of your main account, log in as the temporary admin, open Finder and navigate to /Users, right-click your old home folder and rename it, log out, log back into your main account, then delete the temporary admin account.

Most people do not need to do this. Your Mac works fine with a mismatched account name and home folder name. Only do this if you have a specific reason — for example, if you use Terminal commands regularly and want the path to match your account name. If you are unsure whether you need this step, you probably do not.

Troubleshooting if something goes wrong

If you change your account name and then cannot log in, restart your Mac and try logging in with your password — the password does not change, only the display name does. If that does not work, restart in Recovery Mode (hold Command + R while your Mac starts up), open Utilities > Terminal, and type resetpassword to reset your password from there.

If you changed your home folder name and now some applications cannot find your files, you may need to re-enter your password in those applications' settings. Mail, for example, sometimes needs you to re-authenticate after a folder rename. This is normal and usually fixes itself after a restart.

If you get stuck during the home folder rename process, the safest option is to restore from a Time Machine backup (if you have one) and try again more slowly, or contact Apple Support for step-by-step help. Home folder renames are rare enough that support staff see them regularly.

Before you start: back up your Mac

Changing your account name is very safe and rarely causes problems. That said, it is always good practice to have a recent backup before you make any system changes. If you use Time Machine, plug in your backup drive and let it finish a backup cycle before you start. If something unexpected happens, you can restore from that backup.

You do not need to do anything special to prepare — just make sure your backup is current. Then proceed with the account name change in System Settings. The restart is the only interruption you will experience.

Frequently Asked Questions

Will changing my account name affect my email or iCloud account?

No. Your email address and iCloud account are tied to your Apple ID, not to your Mac account name. You can change your Mac account name without touching your email or iCloud settings. If you want to change your Apple ID or email address, that is a separate process in System Settings under your name at the top of the sidebar.

Can I change my account name without restarting?

No, your Mac requires a restart to explore the change. The restart is quick — usually less than a minute — and you will not lose any open work if you save it first. After the restart, your new account name is active.

What if I share my Mac with other people and want to change only my account name?

You can change only your own account name without affecting anyone else's. Each person has a separate account in Users & Groups. When you change your account name, only your login screen entry and your menu bar display change. Other users' accounts and files are completely unaffected.

Do I need to change my password when I change my account name?

No. Your password stays the same. You log in with the same password you used before, even though your account name is now different. If you want to change your password at the same time, you can do that in Users & Groups under the Password tab, but it is not required.

What is the difference between my account name and my computer name?

Your account name is your user login and appears in System Settings and on the login screen. Your computer name is the name your Mac uses on the network (what you see in Finder under "Locations"). They are separate. You can change your computer name in System Settings under General > About > Edit (next to the computer name field). Changing one does not affect the other.