The fastest way: System Settings on macOS Sonoma and newer

Open System Settings (the gear icon in your dock or Applications folder). Click General in the left sidebar, then scroll down and click Transfer or Reset. You'll see an option for Change Username — click it, enter your new username, and follow the prompts. Your Mac will ask you to restart.

This method works on macOS Sonoma (released 2023) and later versions. It changes your account name and your home folder name at the same time, which is the cleanest approach. You'll need to enter your password to confirm the change.

The process takes about five minutes total, including the restart. Your files, applications, and settings stay exactly where they are — only the name changes.

Key Takeaways

  • On macOS Sonoma and newer, use System Settings > General > Transfer or Reset > Change Username for the simplest path.
  • On older macOS versions, you must change the account name and home folder name separately using System Preferences and the Finder.
  • Changing your username does not affect your files, applications, or passwords — they all stay in place.
  • You need administrator access and your current password to make any username change.
  • After you change your username, restart your Mac to complete the process.

For macOS Ventura and earlier: the two-step process

If you're running macOS Ventura or an older version, the change happens in two separate places. First, open System Preferences (the gear icon), click Users & Groups, and unlock the padlock in the bottom left by entering your password. Right-click your account name in the left sidebar and select Advanced Options. Change the Account name field to your new username and click OK.

That changes your login name, but your home folder still has the old name. To fix that, open Finder, go to Users in the sidebar, right-click your home folder (the one with your old username), and select Rename. Type the new username and press Enter. Your Mac may ask for your password to confirm.

After both changes are complete, restart your Mac. When you log back in, you'll use your new username.

What stays the same after you change your username

Your password does not change. You'll still log in with the same password you used before — only the username part of the login is different. All your files, folders, and documents remain in their current locations. Applications continue to work normally, and your settings stay intact.

Email accounts, cloud services like iCloud, and any saved passwords in Keychain all remain connected to your account. You don't need to re-enter credentials or reconfigure anything after the change.

Why your home folder name matters

Your home folder is the directory that opens when you click the house icon in Finder. It contains your Desktop, Documents, Downloads, and all your personal files. If you change only your account name but not your home folder name, some applications may look for files in the old folder path and fail to find them.

This is why the macOS Sonoma method is simpler — it changes both at once. On older systems, you must rename the home folder manually to avoid confusion. If you skip this step, your Mac still works, but you may see error messages when applications try to locate your files.

If you get stuck during the restart

Occasionally a Mac will get stuck on the login screen after a username change, or you'll see a message that your home folder could not be found. This usually means the folder rename didn't complete properly. Restart your Mac again — most of the time, a second restart finishes the process.

If the problem persists, you can undo the change by going back to System Preferences or System Settings and reverting to your original username. Then restart once more. After that, try the change again, making sure to complete the home folder rename step before restarting.

Changing a different user's username on your Mac

If you're the administrator on your Mac and need to change another person's username, the steps are the same — you just select their account instead of your own in System Preferences or System Settings. You'll need your administrator password to make the change, but you don't need their password.

The other user should log out before you make the change, and they should restart their Mac after the change is complete. If they're logged in when you rename their home folder, the rename may fail.

Frequently Asked Questions

Will changing my username affect my iCloud or Apple ID?

No. Your Apple ID and iCloud account are separate from your Mac username. You can change your Mac username without touching your Apple ID. iCloud will continue to sync normally after the change.

Can I change my username without restarting?

No. macOS requires a restart to fully explore the username change. If you skip the restart, some applications may not recognize the new username, and you may see errors when trying to access your files.

What if I forget my new username after I change it?

Your new username appears in the login screen and in System Settings under Users & Groups (or General > Transfer or Reset on newer macOS). You can also open Terminal and type whoami to see your current username. If you're locked out, restart in Recovery Mode and use the password reset tools there.

Does changing my username delete any files?

No. Your files, applications, and settings all remain on your Mac. Only the name of your account and home folder changes. Everything inside those folders stays exactly as it was.

Can I change my username back to the old one?

Yes. Follow the same steps you used to change it the first time, but enter your old username instead. You'll need to restart again for the change to take effect.