The fastest way: System Settings

Open System Settings (the gear icon in your dock or Applications folder). Click General in the left sidebar, then select About. Your username appears next to "User Name" near the top of the window. This is the same name you use to log in each time you start your Mac.

If you do not see a "User Name" field, your Mac may be showing a different name — the computer name rather than your account name. Scroll down to confirm you are looking at the right section. The user name is always the one you type when logging in, and it typically appears in the first few lines of the About window.

Key Takeaways

  • Your Mac username appears in System Settings under General > About, listed as "User Name" near the top of the window.
  • The Terminal command whoami displays your username when ready if you are comfortable opening that process.
  • Your home folder name in Finder matches your username — look in the sidebar under "Locations" to find it.
  • The username you see in System Settings is the one you type to log in, not the computer's device name.

Using Terminal to check your username

Open Terminal by pressing Command + Space, typing "Terminal", and pressing Enter. Type whoami and press Enter. Your username prints on the next line. This method works on any Mac and takes five seconds from start to finish.

Terminal can feel unfamiliar if you have never used it, but this single command is safe and requires no special knowledge. You can close Terminal when ready after seeing your username. There is no risk of changing anything on your Mac by running this command.

Finding your username through your home folder

Open Finder and look at the sidebar on the left. Under "Locations", you will see your home folder — it has a house icon and your username next to it. Click it. The folder name in the address bar at the top of the window is your username. Every Mac user has a home folder with their username as the folder name.

This method works even if you have never opened System Settings or Terminal. Your home folder is where your Documents, Downloads, and Desktop folders live. The path shown in the address bar will read something like "/Users/yourname", where "yourname" is your actual username.

What your username is used for

Your Mac username controls which files and folders you can access, which applications can run, and what permissions you have on the computer. It is also the name that appears in the login screen when you restart your Mac. If you share your computer with other people, each person has their own username and their own home folder.

The username is different from the computer name (which you can also see in System Settings under General > About). The computer name is what appears when other people search for your Mac on a network. Your username is personal to your account and determines what you can do on the machine.

Changing your username if you need to

You cannot change your username directly in System Settings. To change it, you need to create a new administrator account, transfer your files to it, and then delete the old account — a process that takes time and carries risk of losing data. Most people keep their original username even if they dislike it.

If you have forgotten your password but remember your username, you can use your Apple ID to reset the password without changing the username itself. If you have forgotten both, you will need to use Mac Recovery mode, which requires your Apple ID or a recovery key. The recovery process is separate from finding your username.

If you have multiple accounts on your Mac

If other people use your Mac, each account has its own username. The methods above show only the username of the account you are currently logged into. To see other usernames on the Mac, go to System Settings, click General, then Users & Groups (or Login Items depending on your macOS version). You will see a list of all accounts on the computer.

If you are an administrator, you can see all usernames this way. If you are a standard user, you may only see your own account and any guest accounts. Each username has its own home folder, documents, and settings, so they remain separate even though they share the same Mac.

Frequently Asked Questions

Is my Mac username the same as my Apple ID?

No. Your Mac username is the account on your computer. Your Apple ID is a separate account you use for the App Store, iCloud, and other Apple services. You can link them, but they are different. You can see your Apple ID in System Settings under your name at the top of the sidebar.

What if I see a different name in System Settings than what I expected?

System Settings may show a display name (the name you chose to appear on your account) separate from your actual username. The username is what appears in Terminal when you type whoami and what shows in your home folder path. The display name is just for appearance and does not affect how the system identifies you.

Can I use my username to log in from another computer?

No. Your Mac username only works on your Mac. If you want to access your files from another computer, you would use your Apple ID to sign into iCloud, or you would set up file sharing in System Settings under General > Sharing.

Why do I need to know my username?

You need your username when troubleshooting permissions problems, setting up file sharing, or using Terminal commands. Most of the time, macOS handles it in the background and you do not need to think about it.