Your Mac username is the account name you use to log in — find it in System Settings, the Terminal, or your home folder
Your Mac username is the name of your user account on the computer. It is not your full name or your email address — it is the short identifier that appears when you log in, and it determines which files and folders belong to you. You need it when you set up shared folders, connect to network drives, or troubleshoot permission problems. The fastest way to find it is to open System Settings and look at your account name. If that does not work, the Terminal or Finder will show it to you in seconds.
Key Takeaways
- Your username appears in System Settings under your account name, and it is usually shorter than your full name.
- The Terminal command whoami returns your username when ready if you are comfortable opening that process.
- Your home folder in Finder is named after your username, so you can find it by looking at the folder path.
- Your username is case-sensitive on your Mac, so "John" and "john" are different when you type them into permission forms or network connections.
Check System Settings for your account name
Open System Settings by clicking the Apple menu in the top-left corner of your screen and selecting System Settings. On the left sidebar, click General. At the top of the main panel, you will see "About" — click it. Look for the line that says "Computer Name" and below it, your account name will appear. That account name is your username.
If you do not see it there, try this route instead: click System Settings in the Apple menu, then click General in the sidebar. Look for "Users & Groups" or "Accounts" — the exact name varies by macOS version. Click the lock icon if it is locked, enter your password, and your account name will be listed under your profile picture.
Use the Terminal to see your username when ready
Open Terminal by pressing Command + Space, typing "Terminal", and pressing Enter. At the prompt, type whoami and press Enter. Your username will print on the next line. This method works on every Mac and takes five seconds.
If you want to see more detail, type id and press Enter. This shows your username, user ID number, group ID, and other account information. The username is the first piece of information after "uid=" in the output.
Find your username in Finder by looking at your home folder
Open Finder and click the Finder menu at the top. Select Preferences. In the Sidebar tab, make sure "Home" is checked. Close Preferences and click Home in the Finder sidebar. Look at the window title or the path bar at the bottom of the window — it will show something like "/Users/yourname". The "yourname" part is your username.
You can also right-click any file you own in Finder, select "Get Info", and look at the "Owner" field. That owner name is your username. This method is slower but works if you are already browsing files.
Understand the difference between username and full name
Your Mac stores two separate names for your account. Your full name is what appears on login screens and in address books — it can have spaces and special characters. Your username is a short identifier with no spaces, used for file permissions, network connections, and system commands. A person named "Sarah Chen" might have the username "schen" or "sarah.chen".
When you set up your Mac for the first time, the system usually creates a username by shortening your full name. You can change your full name later without changing your username, but changing your username is more complicated and affects file permissions across your entire computer.
Why you need your username for common tasks
You need your username when you connect to shared network drives, because the network needs to know which user account is accessing the files. You also need it when you troubleshoot file permissions — if a file is locked, you may need to change its owner or permissions using your username. Some applications ask for your username when you set up shared folders or collaborative features.
If you are setting up a new Mac or transferring files from an old one, knowing your username helps you understand which files belong to your account and which are system files. It also matters if you ever need to contact Apple Support or a technician — they may ask for your username to help diagnose problems.
What to do if you cannot find your username
If System Settings does not show your account name clearly, the Terminal method is the most reliable. Open Terminal and type whoami — this works even if your account is damaged or partially corrupted. If Terminal does not open or does not respond, restart your Mac and try again.
If you have multiple user accounts on your Mac and you are not sure which one is yours, open System Settings, go to General, and look for the account with a checkmark or the word "Admin" next to it. That is your current account. You can also check the top-right corner of your screen — your account name sometimes appears there in the menu bar.
Frequently Asked Questions
Is my username the same as my Apple ID?
No. Your Apple ID is your email address or phone number used for iCloud and the App Store. Your username is the name of your local user account on your Mac. They are separate. You need your username for file permissions and network access, and your Apple ID for cloud services.
Can I change my username after I set up my Mac?
Changing your username is possible but complicated — it requires using the Terminal and can affect file permissions throughout your computer. It is usually easier to create a new account with the username you want and transfer your files to it. If you need to change your username, contact Apple Support or a technician for help.
Why does my username have a dot or number in it?
When you set up your Mac, the system creates a username by shortening your full name. If your name is common, the system may add a number or dot to make it unique. A second "John Smith" might become "jsmith2" instead of "jsmith". This is normal and does not affect how your account works.
What if I see different names in different places on my Mac?
Your Mac may show your full name in some places (like the login screen or Contacts) and your username in others (like the Terminal or file permissions). Both refer to the same account. The full name is for display, and the username is for system use. Check the Terminal with whoami if you are unsure which one is your actual username.