What changing your user name means on a Mac
Your Mac has two separate names that can cause confusion: the account name (the short name you type when you log in) and the display name (the full name that appears in menus and on shared files). You can change the display name in about two minutes without restarting. Changing the account name is more involved because it affects your home folder and file permissions — the system essentially renames your entire user directory, which takes longer and requires you to restart.
Most people only need to change the display name. Change the account name only if you want to alter what appears in your login screen or if you are troubleshooting a technical problem. This guide covers both, starting with the simpler option.
Key Takeaways
- The display name (your full name) changes in System Settings in under two minutes and does not require a restart.
- The account name (your login name) is harder to change and requires you to restart your Mac afterward.
- Changing the account name affects your home folder path and file permissions, so back up your files first.
- You must be logged in as an administrator to change either name.
- If you cannot change your account name through System Settings, use the Directory Utility method as an alternative.
Changing your display name (the quick way)
Open System Settings by clicking the Apple menu in the top-left corner, then select System Settings. Click Users & Groups in the left sidebar (you may need to scroll down to find it). If the lock icon at the bottom is closed, click it and enter your password to unlock the settings.
Click your account name in the left panel. In the right panel, you will see a field with your current name at the top. Click that field and type your new name. Press Enter. The change takes effect when ready — you do not need to restart, and it will appear in Mail, Messages, and other apps the next time they refresh.
Changing your account name (the longer process)
Before you start, back up your important files to an external drive or cloud storage. Changing your account name modifies your home folder path from /Users/oldname to /Users/newname, and if something goes wrong during the process, you could lose access to files temporarily.
Open System Settings and go to Users & Groups. Unlock the settings with your password. Right-click (or Control-click) your account name in the left panel and select Advanced Options. You will see a field labeled "Account name" — this is the short name that appears at the login screen. Type your new account name (use lowercase letters and no spaces). Click OK.
Your Mac will ask you to restart. Save any open work and click Restart. During the restart, your Mac will rename your home folder and update file permissions — this can take several minutes. Do not turn off your Mac during this process. When your Mac restarts, log in with your new account name and verify that your files and applications still work correctly.
If the Advanced Options button does not appear
Newer versions of macOS sometimes hide the Advanced Options in Users & Groups. If you cannot find it, use Directory Utility instead. Open Finder, click Applications in the sidebar, then open Utilities. Double-click Directory Utility.
Click the lock icon at the bottom-left and enter your password. From the menu at the top, select Edit, then select Change Password. A dialog will appear with fields for your current account name and a new account name. Type your new name and click Change. Restart your Mac when prompted. The process works the same way as the Advanced Options method — your home folder will be renamed during the restart.
What happens to your files and folders
When you change your account name, your home folder path changes. Any shortcuts, scripts, or applications that reference the old path by name will break. Most modern applications do not hardcode your home folder path, so they will continue to work. However, if you have shell scripts, AppleScript files, or custom automations that reference /Users/oldname, you will need to update them to /Users/newname.
Your Documents, Downloads, Desktop, and other standard folders move with your account name automatically. Permissions are updated so you still own all your files. If you shared folders with other users on the same Mac, those shared folders will still work, but the path shown in Finder will reflect your new account name.
Troubleshooting a stuck or failed name change
If your Mac restarts but your account name did not change, or if you see an error message during the process, restart your Mac in Safe Mode and try again. Restart your Mac and hold Shift when ready after you hear the startup sound. Log in with your password. Open System Settings and return to Users & Groups to attempt the change again. Safe Mode disables some background processes that might interfere.
If you still cannot change your account name and you need to do so urgently, create a new administrator account, log in as that account, and then use Users & Groups to delete the old account (your files will be preserved in a folder on your Desktop). You can then rename the new account to what you want. This is more time-consuming but works when the direct method fails.
When to change your account name versus your display name
Change your display name if someone else will see your Mac or your files shared on a network, or if you want your full name to appear in Mail and Messages. This is the change most people need, and it is fast and safe.
Change your account name only if you dislike what appears at the login screen, if you are setting up a Mac for someone else and want their login name to match their actual name, or if a technical issue requires it. The account name is less visible in daily use — most people see only the display name in their applications.
Frequently Asked Questions
Will changing my account name affect my passwords or login?
No. Your password stays the same. You will log in with your new account name instead of the old one, but the password you use remains unchanged. If you have saved passwords in Keychain, they will still work after the name change.
Can I change my account name without restarting?
No. macOS requires a restart to rename your home folder and update file permissions. The restart is necessary and cannot be skipped. Plan for the change when you have time to restart and verify everything works afterward.
What if I change my account name and then want to change it back?
You can change it back the same way you changed it the first time. Go to Users & Groups, unlock settings, right-click your account, select Advanced Options, and type your original account name. Your Mac will restart and rename the folder again. Your files and settings will be preserved.
Does changing my account name affect iCloud or my Apple ID?
No. Your Apple ID and iCloud account are separate from your Mac account name. Changing your Mac account name does not affect your Apple ID, iCloud sync, or any cloud services. You will still log in to iCloud with the same email address and password.
Why does my Mac say I do not have permission to change my account name?
You must be logged in as an administrator to change your account name. If you see a permission error, your account may not have administrator privileges. Ask the person who set up your Mac to give you admin access, or log in as an administrator account and make the change from there.