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 only one or both, depending on what bothers them. The login screen name is what you see when you restart your Mac or lock the screen. The folder name is what appears in Finder when you open your home directory — it shows as /Users/yourname in the address bar.

Changing the login screen name is straightforward and takes a few minutes. Changing the folder name is more involved because your Mac won't let you rename it while you're logged in as that user. You'll need to create a temporary admin account, log out, then make the change from that temporary account. Both changes are permanent once you complete them, so write down your new username before you start.

Key Takeaways

  • You can change your login screen name directly in System Settings without restarting, but changing your home folder name requires a temporary admin account.
  • The login screen name and the folder name are separate — you can change one without changing the other.
  • If you change only the login screen name, your old folder name stays the same, which can cause confusion later.
  • Changing your folder name means your old home directory path (/Users/oldname) becomes /Users/newname, which may break shortcuts or file paths in some programs.

Changing your login screen name only

Open System Settings and click Users & Groups (or Accounts on older Macs). You may need to click the lock icon in the bottom left and enter your password to make changes. Right-click your account name in the left sidebar and select Advanced Options. In the "Full Name" field, type the new name you want to see on the login screen. Click OK, then close System Settings.

This change takes effect when ready — you'll see the new name the next time you lock your screen or restart. Your home folder name does not change, so files stay in the old location. This is the fastest option if you only want to change how your name appears on the login screen.

Changing your home folder name (the harder route)

If you want to change the actual folder where your files live, you need to log in as a different admin user. First, create a temporary admin account. Go to System Settings, click Users & Groups, click the lock icon, enter your password, then click the + button to add a new user. Choose "Administrator" as the account type, give it a temporary name like "temp-admin", and set a password you'll remember.

Log out of your main account and log in as the temporary admin. Open System Settings again, go to Users & Groups, click the lock icon, then right-click your original account name and select Advanced Options. In the "Home directory" field, you'll see the path /Users/oldname. Click the folder icon next to it, navigate to /Users/, and rename the folder from oldname to newname. Click OK and close System Settings.

Log out of the temporary admin account and log back into your main account using your new username. Your files are now in /Users/newname. Once you confirm everything works, delete the temporary admin account by going back to Users & Groups, clicking the lock icon, right-clicking the temp account, and clicking the minus button.

What breaks when you change your folder name

Some programs store file paths using your old username. If you have shortcuts, aliases, or scripts that point to /Users/oldname, they may stop working after you rename the folder. Most modern programs update these paths automatically, but older software or custom scripts may not.

Before you rename your folder, search your Documents and Desktop for any files that mention your old username in their name or content. If you use Time Machine backups, they continue to work after the rename, but the backup will still reference the old path internally — this is normal and doesn't cause problems.

If you change your mind

You can change your username again using the same steps. If you changed only the login screen name, just go back to System Settings and pick a different name. If you changed the folder name, repeat the temporary admin process and rename the folder back to what you want.

If something breaks after the rename — a program can't find your files, or you get permission errors — the issue is usually a hardcoded file path. Check the program's preferences or settings to see if you can update the path manually. If the program has no way to change it, you may need to reinstall the program so it learns your new username.

Frequently Asked Questions

Do I have to change both the login name and the folder name?

No. You can change just the login screen name and leave your folder as it is. Many people do this because it's faster and doesn't risk breaking file paths. Change the folder name only if the old one bothers you or causes problems with a specific program.

Will changing my username affect my passwords or login?

No. Your password stays the same. You log in with your new username and the same password you used before. Your keychain, email accounts, and other saved passwords are not affected.

What happens to my files if I rename the folder?

Your files stay exactly where they are — they just move from /Users/oldname to /Users/newname. You can still see them in Finder, and they're still yours. Programs that know to look in your home directory find them automatically.

Can I change my username without creating a temporary admin account?

You can change the login screen name without one. But to change the folder name, you must log in as a different admin user because your Mac won't let you rename a folder while you're using it. The temporary account is the simplest way to do this.

What if I forgot the password to my temporary admin account?

You can delete it without the password if you still have access to your main admin account. Go to System Settings, Users & Groups, click the lock icon with your main account, right-click the temporary account, and click the minus button. You'll be asked whether to keep or delete the account's files — choose delete.