The two ways to change your username on a MacBook Air

You can change your MacBook Air username in two ways: by renaming your account in System Settings (the simpler route for most people), or by changing your home folder name separately if you need the folder to match a new username (the more involved route). Most people only need the first method. The second method exists because your account name and your home folder name can drift apart over time, and some people prefer them to match.

Before you start, make sure you are logged in as an administrator. If you are not sure whether your account has administrator privileges, open System Settings, click General, then Users & Groups — if your account shows "Admin" next to your name, you have what you need.

Key Takeaways

  • Renaming your account through System Settings takes about five minutes and works on any recent MacBook Air running macOS Monterey or later.
  • Your home folder (the one that holds your Documents, Downloads, and Desktop) keeps its old name even after you rename your account, which is usually fine.
  • If you want your home folder name to match your new account name, you must rename the folder separately using the Finder or Terminal, a step most people skip.
  • You do not need to restart your Mac after renaming your account, though some apps may need to be closed and reopened to recognize the change.
  • If you forget your password during this process, you can use your Apple ID to reset it without losing access to your files.

Renaming your account through System Settings

Open System Settings by clicking the Apple menu in the top-left corner, then selecting System Settings. Click General in the sidebar, then click Users & Groups. You may see a lock icon at the bottom of the window — if you do, click it and enter your administrator password to unlock the settings.

Right-click (or Control-click) on your account name in the left panel and select Advanced Options. You will see a field labeled "Account name" — this is the short name your Mac uses internally, and it is the one that appears in your home folder path. Below that is "Full name" — this is the display name that appears in login screens and system menus. Change whichever one you want, then click OK. Your Mac will update the change when ready.

Close System Settings. You do not need to restart, though if any apps were running when you made the change, close them and reopen them so they recognize your new username. Mail, Slack, and some other apps that store credentials locally sometimes need this nudge.

When you need to rename your home folder too

Your home folder is the directory that holds your Documents, Downloads, Desktop, and other personal files. When you rename your account, the folder keeps its old name. For most people this does not matter — your Mac knows where to find it. But if you want the folder name to match your new account name, you have to rename it separately.

The safest way is to use the Finder. Open Finder, click Macintosh HD (or whatever your drive is called) in the sidebar, then navigate to Users. Find the folder with your old username, right-click it, and select Rename. Type your new username and press Enter. Your Mac will ask for your administrator password — enter it, and the rename will complete.

If the Finder method does not work (some older Macs or certain permission setups block it), you can use Terminal instead. Open Terminal (search for it in Spotlight), then type this command: sudo mv /Users/oldusername /Users/newusername — replace "oldusername" and "newusername" with the actual names. Press Enter, enter your password when prompted, and wait for the command to finish. Do not close Terminal until it returns to the prompt.

What happens to your files and settings

Renaming your account does not touch your files. Your Documents, Downloads, Desktop, photos, and everything else stays exactly where it is. Your preferences for Mail, Safari, system appearance, and other settings also stay the same. The change is cosmetic — it only affects the name that appears in login screens, the Finder sidebar, and system menus.

Some apps store settings tied to your old username. If you notice an app acting oddly after the rename (like forgetting your saved passwords or losing custom settings), try closing the app completely and reopening it. If that does not work, check the app's preferences or settings menu to see if it needs you to sign in again.

Fixing problems if something goes wrong

If you renamed your account but now cannot log in, restart your Mac and try logging in with your new username. If that does not work, restart again and hold Command-Q at the login screen to access the password reset options. You can reset your password using your Apple ID without losing any files.

If you renamed your home folder and now your Mac cannot find certain files or settings, the most reliable fix is to rename the folder back to its original name, restart, and then try the rename again more carefully. If Terminal gave you an error message, take a photo of it and search for that exact message online — it usually points to a specific permission or system issue that has a known solution.

Why your account name and folder name can be different

macOS treats your account name and your home folder name as separate things. This design choice lets you rename your account without disrupting the file paths that apps and scripts rely on. If your account name and folder name do not match, your Mac still works perfectly — it is just unusual to see.

The mismatch usually happens when someone changes their account name but leaves the folder alone (the most common scenario), or when an old account is deleted but the folder is kept for archival reasons. There is no performance penalty for the mismatch, so you only need to fix it if it bothers you or if a specific app requires them to match.

Frequently Asked Questions

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

No, the change takes effect when ready. However, apps that were running when you made the change may not recognize the new username until you close and reopen them. A restart is not necessary unless an app is behaving strangely.

Will changing my username affect my Apple ID or iCloud?

No. Your Apple ID and iCloud account are separate from your Mac username. Changing your Mac username does not change your Apple ID, and your iCloud sync will continue to work normally.

What if I cannot see the Advanced Options button?

Make sure you are logged in as an administrator and that the lock icon at the bottom of Users & Groups is unlocked. If you still do not see Advanced Options, try clicking on your account name once to select it, then right-clicking it again.

Can I change my username back to the old one?

Yes, follow the same steps and type your old username. If you renamed your home folder, you will need to rename it back separately using the Finder or Terminal.

What if my home folder rename fails in the Finder?

The Finder method sometimes fails if your Mac has strict permission settings. Try the Terminal method instead, or restart your Mac in Safe Mode (hold Shift while restarting) and try the Finder rename again. Safe Mode disables some security features temporarily, which sometimes allows the rename to succeed.