The two ways to change your Mac username
You can change your Mac username in two places, and which one you need depends on what you want to change. The account name is what appears in the login screen and in the Users folder. The display name is what shows up in Mail, Messages, and other apps. Most people need to change the account name, but you may need to change both.
Changing your account name requires you to create a new administrator account first, then transfer your files and delete the old one. This takes about 20 minutes if you follow the steps in order. Changing your display name is faster — it takes about two minutes and you can do it from System Settings without creating anything new.
If you are not sure which one you need to change, open System Settings, go to General, then About. The name that appears under "Computer Name" is your display name. The name in the Users folder (open Finder, click Sidebar, then Users) is your account name. Most people want to change the account name because it affects login and file paths.
Key Takeaways
- Changing your account name requires creating a new administrator account first, then moving your files and deleting the old account.
- You cannot rename an account directly — you must create a new one and transfer everything over, which takes about 20 minutes.
- Changing your display name is separate and faster, done through System Settings without creating a new account.
- Back up your Mac before you start, in case something goes wrong during the transfer.
- You need an administrator password to complete either change.
How to change your account name
Start by backing up your Mac using Time Machine or another backup method. This protects your files if something goes wrong during the transfer. Open System Settings, go to General, then Users & Groups (or System Settings > General > Users & Groups on newer Macs). You will need to unlock this section by clicking the lock icon and entering your administrator password.
Create a new administrator account with the name you want to use. Click the plus sign, choose "Administrator" from the account type dropdown, enter your new username and password, then click Create. Log out of your current account and log in to the new one to make sure it works. You should see the new account name on the login screen.
Once you have confirmed the new account works, log back into your old account. Go back to Users & Groups, select your old account, and click the minus sign to delete it. When prompted, choose "Keep the home folder" — this preserves all your files. Your old home folder will appear on the desktop or in Finder as a folder named after your old username.
Move the contents of the old home folder into your new account's home folder. Open Finder, navigate to your new home folder (it will be in Users), then drag the files from the old folder into it. This may take a few minutes depending on how many files you have. Once everything is moved, you can delete the old folder.
How to change your display name
Your display name is what appears in Mail, Messages, FaceTime, and other apps. To change it, open System Settings and go to General. Click "About" and look for "Computer Name" at the top. Click the Edit button next to it and type the new name you want to use.
This change takes effect when ready in most apps, though some may need to be restarted to show the new name. You do not need to create a new account or move any files — this is purely cosmetic and affects only how your name appears to other people.
What happens to your files and folders when you change your account name
Your home folder path will change from /Users/oldname to /Users/newname. Some older applications may look for files in the old path and fail to find them. Most modern apps store their settings in a hidden folder that moves with your account, so they will work fine.
If you use iCloud or cloud storage like Dropbox or Google Drive, those services are tied to your Apple ID or email address, not your username, so they will continue to work without interruption. Your Documents, Desktop, Downloads, and Pictures folders will all move to the new account automatically when you transfer them.
If you forgot your administrator password
You cannot change your account name without an administrator password. If you have forgotten yours, restart your Mac and hold Command-S to enter Single User Mode. Type fsck -fy and press Enter, then type mount -uw / and press Enter. Type passwd username (replace username with your account name) and follow the prompts to create a new password.
If you are not comfortable with the command line, restart your Mac and hold Command-Q at the login screen. This opens the Reset Password utility, where you can reset your password using your Apple ID or a recovery key if you have one set up.
Common problems when changing your account name
The most common issue is that some applications store file paths with your old username hardcoded into them. If an app stops working after you change your account name, try reinstalling it. Most modern apps will update their paths automatically, but older software sometimes needs to be reinstalled to find its files in the new location.
Another issue is permissions. If you moved files but they still show as locked or read-only, right-click the file, choose Get Info, and check the Sharing & Permissions section at the bottom. Make sure your new account is listed as the owner with Read & Write access. If it is not, click the lock icon, enter your password, select your account, and change the permission to Read & Write.
If you cannot delete your old account because it says it is still in use, make sure you have logged out completely and logged in to your new account. Restart your Mac if needed. Some background processes may still be running under the old account and preventing deletion.
Frequently Asked Questions
Can I change my username without creating a new account?
No. macOS does not have a direct rename function for account names. You must create a new account with the name you want, then transfer your files from the old account to the new one. This is by design — the account name is tied to file permissions and system settings throughout your Mac.
Will changing my username affect my Apple ID or iCloud?
No. Your Apple ID and iCloud are tied to your email address, not your Mac username. Changing your Mac username will not affect your iCloud sync, Find My Mac, or any Apple services. You will still be signed in to the same Apple ID after the change.
How long does it take to change my account name?
Creating the new account and logging in takes about five minutes. Transferring your files depends on how much data you have — anywhere from a few minutes for a light user to an hour or more if you have hundreds of gigabytes. Deleting the old account takes about two minutes.
What if I have multiple user accounts on my Mac?
You can change each account name separately using the same process. You will need an administrator account to make the changes. If you want to change an administrator account, you will need a different administrator account to do it — you cannot delete the account you are currently logged into.
Do I need to change my password when I change my username?
No. Your password is separate from your username and will carry over to your new account. You can keep the same password or create a new one when you set up the new account — it is your choice.