The fastest way: look at the top-right corner of your screen
Open the Apple menu (the apple symbol in the top-left corner) and click System Settings or System Preferences. At the top of the window that opens, you will see your username next to a small profile picture. That is your Mac username — the name you use to log in.
If you are already logged in and just need to confirm it, this is the quickest route. Your username appears in the same place whether you are running the latest macOS or an older version.
Key Takeaways
- Your Mac username is visible in System Settings under the profile picture at the top of the window.
- You can also find it by opening Terminal and typing whoami, then pressing Enter — the name that appears is your username.
- The Finder window shows your username in the sidebar under "Locations" if you look for a folder with your name on it.
- Your username is different from your full name or display name — it is the short text you type when you log in.
Using Terminal to see your username
Open Terminal (search for it using Spotlight by pressing Command + Space, type "Terminal", and press Enter). In the window that appears, type whoami and press Enter. The text that prints on the next line is your username.
This method works on every Mac and never changes, even if you update macOS. Terminal shows your username exactly as the system recognizes it, with no extra formatting or display names mixed in. If you are troubleshooting a problem or need to type your username somewhere, this is the most reliable way to see it spelled correctly.
Finding your username in the Finder sidebar
Open Finder (the blue and white face icon in your dock). Look at the left sidebar under the "Locations" section. You will see a folder with your username on it — it usually has a house icon next to it. Click on that folder, and you are inside your home directory. The folder name itself is your username.
This method works because every Mac user gets a home folder with their username as the folder name. If you see multiple names in the sidebar, look for the one with the house icon, as that is always your own home folder.
Checking the login screen if you are locked out
If you cannot log in or do not remember your password, restart your Mac and watch the login screen carefully. Your username appears as a label under the profile picture or in the account selection area. Write it down exactly as it appears — capitalization and spacing matter when you type it in.
If you see multiple accounts on the login screen, your username is the short text label under the account you normally use, not the full name that might appear above it. Some Macs show only the full name on the login screen, in which case you will need to try one of the other methods in this guide.
The difference between username, full name, and display name
Your Mac has three different name fields, and they are straightforward to confuse. Your username is the short text you type when you log in — it has no spaces and is usually all lowercase, like "sarah.chen" or "jsmith". Your full name is what you entered when you set up your Mac, like "Sarah Chen" or "John Smith". Your display name is what appears in messages and shared documents.
When someone asks for your Mac username, they mean the login name, not the full name. If you are setting up a shared folder or troubleshooting a permissions problem, you need the username. System Settings shows all three, so if you are unsure which one someone is asking for, open System Settings and look at each field.
What to do if you see an unfamiliar username
If the username you find does not match what you expected, your Mac may have been set up by someone else or migrated from another computer. The username is still yours — it is just the internal name the system uses. You can change it, but that requires administrator access and affects file permissions throughout your computer, so it is usually not worth doing unless you have a specific reason.
If you see a username you do not recognize at all and you did not set up this Mac yourself, contact whoever gave you the computer or check your purchase receipt. Some workplace or school Macs use usernames assigned by IT, not names you chose.
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 Mac username is the local account name on your computer. You can have an Apple ID without a Mac, and you can have a Mac username that is completely different from your Apple ID.
Can I change my Mac username?
Yes, but it is complicated. You need administrator access, and changing it affects file permissions and folder names throughout your computer. Most people do not need to change it. If you want to change your display name instead (what appears in messages), that is much simpler and does not affect the system.
Why does my username have a period or underscore in it?
When you set up your Mac, the system automatically converts spaces and special characters in your full name into periods or underscores for the username. If your full name is "Mary Ann Smith", your username might be "mary.ann.smith" or "maryann_smith". This is normal and does not mean anything is wrong.
What if Terminal shows a different username than System Settings?
This almost never happens, but if it does, trust Terminal. Terminal shows the actual system username. If System Settings looks different, it may be displaying a cached or display name instead. Restart your Mac and check Terminal again.