The fastest way: look at the top-left corner of your screen

Your Mac username appears in the menu bar at the top of your screen, in the upper-left area. Click the Apple menu (the apple icon), then look at the second line — it shows your account name. This is the quickest check if you just need to confirm what you use to log in.

If you are already logged in and can see your desktop, this method takes five seconds. The name you see there is exactly what you type when your Mac asks for a password at startup or when you unlock a protected setting.

Key Takeaways

  • Your username appears in the Apple menu at the top-left of your screen, on the second line after you click the apple icon.
  • The System Settings app shows your account name under System Settings > General > About, listed as "Computer Name" and your user account separately.
  • The Terminal app displays your username when you type whoami and press Enter, then shows the result on the next line.
  • Your username is what you type to log in at startup, not your full name or display name — they may be different.

Check through System Settings

Open System Settings (the gear icon in your Dock, or find it in Applications > System Settings). Click General in the left sidebar, then click About. You will see "Computer Name" at the top, but your actual username is listed separately — look for the account name under your profile picture or in the Users section.

This method is useful if you want to see your full account details at once. System Settings also shows whether you are using a local account or an iCloud account, which matters if you ever need to reset your password or troubleshoot login problems.

Use Terminal to see your exact username

Open Terminal (find it in Applications > Utilities, or search for "Terminal" using Spotlight). Type whoami and press Enter. The next line will show your exact username — the one your Mac uses internally for file permissions and system access.

This method is the most reliable because it shows the username exactly as your Mac stores it, with no display names or formatting in the way. If you ever need to troubleshoot file permissions or follow technical instructions that reference your username, this is the version to use.

Check the Users folder in Finder

Open Finder and click Macintosh HD (or your drive name) in the sidebar. Navigate to Users. Each folder in the Users directory is named after a user account on your Mac. Your username is the folder that contains your Desktop, Documents, Downloads, and other personal folders.

This method works even if you cannot access System Settings or the menu bar for some reason. The folder name is your actual username, and you can see at a glance if there are other user accounts on the same Mac.

Understand the difference between username and display name

Your Mac may show you a full name (like "Sarah Johnson") in some places and a username (like "sjohnson" or "sarah.johnson") in others. The username is what matters for logging in and for technical purposes. The display name is just what appears in the menu bar and in some apps.

If you set up your Mac with an iCloud account, your username might be your email address or a shortened version of your name. If you set up a local account, you chose the username during setup. Either way, the methods above will show you the actual username your Mac uses.

What to do if you cannot remember your password

Knowing your username is the first step, but you will also need your password to log in. If you forgot it, restart your Mac and hold Command + Q when you see the login screen — this opens the password reset options. You can reset using your Apple ID, a recovery key, or another admin account on the same Mac.

If you are locked out of your Apple ID as well, you will need to visit iforgot.apple.com or contact Apple Support. Having your username written down somewhere safe (like a password manager) prevents this problem in the future.

Frequently Asked Questions

Is my username the same as my email address?

Not always. If you set up your Mac with an iCloud account, your username might be your Apple ID email. If you set up a local account, your username is whatever you typed during setup — it could be anything. Use one of the methods above to see what your Mac actually uses.

Can I change my username?

You can change your display name (what shows in the menu bar) easily in System Settings. Changing your actual username is more complex and requires creating a new account or using Terminal commands. Most people do not need to change it — if you are asking because you do not like how it looks, changing the display name is usually enough.

Why does my username have a dot or underscore in it?

Mac usernames cannot have spaces, so the system automatically replaces them with dots, underscores, or removes them entirely. If you typed "Sarah Johnson" during setup, your username became "sarah.johnson" or "sarahjohnson". This is normal and expected.

What if I see multiple usernames in the Users folder?

Each folder represents a different user account on your Mac. If you are the only person who uses the computer, you should see only your folder (plus "Shared" and possibly "Guest"). If you see others, those are accounts for other people or system accounts. Your username is the folder that contains your personal files.