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 on login) and your home folder name (the actual folder where your files live). Most people need to change the account name only. Changing the home folder name is more involved and rarely necessary unless you are troubleshooting a specific problem.

The account name change takes about five minutes and does not require a restart. The home folder change requires you to create a new administrator account first, then use that account to rename the original folder — a process that takes 20 to 30 minutes and does require a restart.

Key Takeaways

  • You can change your account name (the name that shows on login) in System Settings without restarting, and it takes about five minutes.
  • Your home folder name stays the same when you change your account name, which is fine for most people and keeps your files organized the way they are.
  • If you need to change your home folder name as well, you must create a second administrator account first, then use that account to rename the original folder.
  • Before you start any change, write down your current username and password, and make sure you know your Apple ID password in case you need to verify your identity.

Changing your account name in System Settings

Open System Settings (the gear icon in your Dock or Applications folder). Click General in the left sidebar, then click Users & Groups or Users & Groups (the name varies by macOS version). You may see a lock icon at the bottom of the window — if you do, click it and enter your password to unlock the settings.

Select your account name from the list on the left. The account details appear on the right. Look for a field labeled Full Name or Account Name. Click the field, delete the current name, type the new name, and press Enter. The change takes effect when ready. You do not need to restart your Mac.

If you see a message saying the name is already in use or contains invalid characters, try a different name. MacBook Air usernames cannot contain spaces, special characters like @, #, or !, or accented letters. Stick to letters, numbers, hyphens, and underscores.

Understanding the difference between account name and home folder

When you change your account name in System Settings, your home folder (the folder that holds your Documents, Downloads, Desktop, and other personal files) keeps its old name. This is usually not a problem. Your Mac knows where your files are, and you can still access everything normally.

However, if you open Finder and navigate to the Users folder, you will still see the old folder name. If this bothers you or if you are setting up a Mac for someone else and want everything to match, you can rename the home folder too — but it requires extra steps.

Renaming your home folder (the longer process)

To rename your home folder, you need a second administrator account that you can log into while your original account is not in use. Start by creating a new administrator account. Go to System Settings, click General, then Users & Groups. Click the lock icon and enter your password. Click the + button at the bottom of the account list.

Fill in the form: give the new account a name (something like "Temp Admin"), choose Administrator from the account type dropdown, create a password, and click Create User. You now have two accounts on your Mac.

Log out of your original account. At the login screen, select the new temporary admin account and log in. Open Finder, click Macintosh HD (or your drive name) in the sidebar, then open the Users folder. Right-click the folder with your old username, select Rename, type the new name, and press Enter. Restart your Mac.

After the restart, log back into your original account. The home folder now has the new name, and everything inside it is still there. You can delete the temporary admin account if you no longer need it: go to System Settings, General, Users & Groups, select the temporary account, click the − button, and choose Delete the home folder.

What changes and what stays the same

When you change your account name, your password does not change — you still log in with the same password you used before. Your Apple ID remains linked to your account. All your files, apps, and settings stay exactly where they are. Email accounts, calendar entries, and saved passwords all remain intact.

The change shows up in several places: the login screen, the top-right corner of your screen (where your name appears), System Settings, and any shared folders on your network. If you share your Mac with other people, they will see the new name in the Users & Groups list.

If you cannot change your username

If System Settings is locked and you cannot unlock it, you may not have administrator privileges on this account. Try restarting your Mac and holding Command + S to enter Single User Mode, then type fsck -fy and press Enter. This is rare and usually only happens if your account was set up as a standard user rather than an administrator.

If you see an error saying the name is already in use, check whether another account on your Mac already has that name. If you are trying to change the name to something very short (like "a" or "x"), some versions of macOS reject it. Try a name that is at least two characters long.

If you forgot your password and cannot log in to unlock System Settings, you will need to reset your password using your Apple ID. Restart your Mac, and at the login screen, click the question mark icon next to the password field. Follow the prompts to reset your password using your Apple ID.

Frequently Asked Questions

Will changing my username affect my email or iCloud account?

No. Your email address and iCloud account are tied to your Apple ID, not your Mac username. You can change your Mac username as many times as you want without affecting email, iCloud, or any Apple services. Your Apple ID stays the same.

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

Not if you are only changing the account name in System Settings. The change takes effect right away. You only need to restart if you are also renaming your home folder, which requires logging into a different account first.

Can I change my username back to the old one later?

Yes. Follow the same steps in System Settings and type your old username back in. If you renamed your home folder and want to change it back, use the temporary admin account method again. There is no limit to how many times you can change it.

What if I share my Mac with other people?

Each person on your Mac has their own account and their own username. Changing your username does not affect anyone else's account or files. Other users will see your new name in the Users & Groups list and on shared folders, but their own accounts and data stay untouched.

Is it safe to delete the temporary admin account after I rename my home folder?

Yes, it is safe. The temporary account was only needed to rename your home folder while your original account was not logged in. Once you have logged back into your original account and confirmed everything works, you can delete the temporary account. Make sure you choose the option to delete the home folder when you remove the account.