The two ways to change your MacBook Pro username

You can change your username in two places on a MacBook Pro, and which one you need depends on what you're trying to do. The account name is what appears in the login screen and in the Users & Groups settings. The display name is what shows up in Mail, Messages, and other apps. Most people need to change the account name, but the steps are different, and one requires you to create a temporary admin account first.

If you only want to change how your name appears in apps like Mail or FaceTime, you can do that directly in System Settings without any workaround. If you want to change the actual login name — the folder name on your hard drive and the name that appears at the login screen — you'll need to follow a longer process because macOS doesn't let you rename an account while you're logged into it.

Key Takeaways

  • Changing your display name (what shows in Mail and Messages) takes two minutes and requires only System Settings.
  • Changing your account name (what shows at login) requires creating a temporary admin account, logging out, and using that account to rename your main account.
  • Your account name becomes a folder on your hard drive, so changing it also changes the path to your Documents, Desktop, and Downloads folders.
  • You cannot rename an account while logged into it — you must use a different admin account to make the change.
  • After renaming your account, you may need to re-enter your password in some apps like Mail and Slack.

How to change your display name in System Settings

Your display name is the name that appears in Mail, Messages, FaceTime, and other communication apps. This is the fastest change to make and requires no admin account or restart.

Open System Settings and click Users & Groups (or System Settings > General > Users & Groups on newer macOS versions). Click the lock icon in the bottom left and enter your password to unlock the settings. Find your account in the list on the left and click it. Look for the "Full Name" field at the top — this is your display name. Click the field, delete the current name, type your new name, and press Enter. The change takes effect when ready in most apps, though you may need to restart Mail or Messages to see it everywhere.

How to change your account name (the longer process)

Your account name is the login name and the folder name on your hard drive. Changing it requires a temporary admin account because macOS will not let you rename an account you're currently using. If you already have a second admin account on your Mac, you can skip to step 3 below.

Step 1: Create a temporary admin account. Open System Settings and go to Users & Groups. Click the lock icon and enter your password. Click the plus sign (+) at the bottom left. Choose "Administrator" from the account type dropdown. Give it a temporary name like "Temp Admin" and a straightforward password you'll remember. Click Create User. Do not set up iCloud or any other services on this account — you're only using it for one task.

Step 2: Log out and log into the temporary admin account. Click the Apple menu in the top left corner and select Log Out. At the login screen, click the temporary admin account and enter its password. You are now logged in as the temporary admin.

Step 3: Rename your main account. Open System Settings and go to Users & Groups. Click the lock icon and enter the temporary admin password. Find your main account in the list on the left and click it. Right-click on your account name and select "Rename Account" (this option only appears when you're logged in as a different admin). A dialog box will appear with your current account name highlighted. Type your new account name — use lowercase letters and no spaces, like "sarah" instead of "Sarah Jones". Click Rename. macOS will warn you that this will change your home folder name. Click Rename again to confirm.

Step 4: Log back into your main account. Log out of the temporary admin account. At the login screen, your main account will still show your old name, but you can now log in with your new account name. Enter your new account name and your regular password. macOS will take a moment to update your home folder and settings.

Step 5: Delete the temporary admin account. Once you're logged back into your main account and everything is working, log out again and log into the temporary admin account one more time. Open System Settings, go to Users & Groups, unlock it with the temporary admin password, right-click the temporary admin account, and click Delete User. Choose "Delete the home folder" when prompted. Log out and log back into your main account.

What changes when you rename your account

When you change your account name, macOS renames your home folder from /Users/oldname to /Users/newname. This affects the file paths to your Documents, Desktop, Downloads, and other folders. Most apps update these paths automatically, but some older or less common apps may lose track of where your files are.

Mail, Slack, and some other apps may ask you to re-enter your password after the rename because they store credentials tied to your old account path. This is normal and not a security problem — just enter your password again when prompted. If you use iCloud, your Mac will sync your settings to your new account name without any action needed from you.

Troubleshooting after a rename

If an app can't find your files after you rename your account, try logging out of that app and logging back in. For Mail, go to Mail > Settings > Accounts, select your account, and click "Re-enter Password". For Slack and similar apps, sign out completely and sign back in.

If you see a folder called "oldname" still on your hard drive after the rename, this is usually a backup or cache folder that apps created. You can safely delete it by opening Finder, pressing Command+Shift+Period to show hidden files, navigating to /Users/, and dragging the old folder to Trash. If you're not comfortable doing this, you can leave it — it takes up space but won't cause problems.

If you can't log in after the rename, restart your Mac and try again. If that doesn't work, restart in Recovery Mode (Command+R during startup), open Disk Utility, and run First Aid on your drive to check for errors. You can also use Recovery Mode to reset your password if you've forgotten it.

When to change your display name instead of your account name

You only need to change your account name if you want a different login name or if the folder on your hard drive needs a new name. If you just want your name to appear differently in Mail or Messages, change your display name instead — it's when ready and requires no temporary account or restart.

Some people keep their account name straightforward (like "user1" or their first name in lowercase) but set their display name to their full name or a nickname. This gives you the best of both worlds: a clean, straightforward-to-type login name and a friendly name that shows up in your apps.

Frequently Asked Questions

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

No. macOS prevents you from renaming an account while logged into it as a security measure. You must use a different admin account to make the change. Creating a temporary admin account is the standard workaround.

Will changing my account name affect my files or backups?

Your files stay in the same place — macOS just renames the folder they're in. Time Machine backups continue to work normally. If you use iCloud, your files sync without interruption. External backups made before the rename will still reference your old account name, but you can still restore from them.

What if I forget my new account name after changing it?

You can see your account name in System Settings under Users & Groups, or by opening Finder and looking at the folder names in /Users/. You can also type whoami in Terminal to see your current account name. If you've forgotten your password, restart in Recovery Mode and use the password reset tool.

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

No. Your password stays the same. You log in with your new account name and your existing password. Some apps may ask you to re-enter your password because they store it tied to your old account path, but this is not a password change — just a re-entry.

Can I change my account name back to what it was before?

Yes. Follow the same process: create a temporary admin account, log into it, and rename your main account back to the old name. macOS will rename your home folder back as well. Apps may ask for your password again, just as they did the first time.