The fastest way: look at your login screen

When your Mac is locked or at the login screen, your username appears right there. If you see a list of user accounts with profile pictures, your name is printed under your picture. If your Mac shows a single login field, type your password — your username is whatever account you just logged into.

This works because macOS displays the account name you created when you first set up the computer. You do not need to dig into settings or run commands. The name you see is the one the system uses for file permissions, network access, and everything else behind the scenes.

Key Takeaways

  • Your username appears on the Mac login screen under your profile picture, or is the account you just logged into.
  • The System Settings app shows your account name under Users & Groups (on older Macs) or in the top-right corner of System Settings (newer versions).
  • Opening Terminal and typing whoami prints your username when ready if you prefer the command line.
  • Your username is different from your display name — the system uses the username for file permissions and network access, even if you named your account "Jane's MacBook".

Check System Settings on newer Macs

On macOS Ventura and later, open System Settings from the Apple menu. Click your profile picture in the top-right corner of the window. Your account name appears directly under your picture, labeled as your Apple ID or local account name depending on how you set up your Mac.

If you do not see your picture in the top-right, you are in the wrong part of System Settings. Go back to the main menu and look for "General" — your account information sometimes lives there instead, depending on your macOS version. The location shifted between versions, so check both places if the first does not show your name.

Find it in System Preferences on older Macs

If you are running macOS Monterey or earlier, open System Preferences from the Apple menu. Click "Users & Groups" (or sometimes just "Users"). Your account will be highlighted in the left panel. Your username is the short name shown below your full display name — it is usually lowercase and has no spaces.

The display name is what appears in Mail and Messages. The username is what the system actually uses for file paths, permissions, and network logins. They are often different. If you see "Jane Smith" as your display name but "jsmith" as your username, "jsmith" is the one you need for technical tasks and troubleshooting.

Use Terminal to see your username when ready

Open Terminal by pressing Command-Space to open Spotlight, then type "Terminal" and press Enter. Once Terminal opens, type whoami and press Enter. The Terminal prints your username on the next line.

This method works on any Mac and takes three seconds. You do not need to navigate menus or remember where settings live. Terminal is built into every Mac and requires no installation. If you are uncomfortable with the command line, the other methods work just as well.

Check the Finder window title bar

Open Finder and click on your home folder (the house icon in the sidebar). Look at the window title bar at the top — it shows the folder name, which is your username. Your home folder is always named after your account.

This is the least reliable method because some Macs hide the full path in the title bar, but it works on most systems. If you see something like "/Users/jsmith", then "jsmith" is your username. If the title bar only shows the folder icon without text, try one of the other methods instead.

Why your username matters

Your username is what macOS uses behind the scenes for file permissions, network access, and system administration. When you share files with other users on the same Mac, the system tracks permissions by username, not by display name. If you ever need to troubleshoot file access, reset a password, or set up network sharing, you will need your actual username, not the friendly name you gave your account.

Many people never need to know their username because macOS handles it invisibly. But if you are setting up a shared folder, connecting to a network drive, or following technical instructions, having this information on hand saves time and prevents confusion when systems ask for your "short name" or "account name".

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 local account name on your Mac. You can have an Apple ID without ever knowing your Mac username, and vice versa. They are separate identifiers that serve different purposes.

Can I change my username?

You can change your display name easily in System Settings, but changing your actual username is more involved and requires administrator access. Most people do not need to change it. If you want to, the process differs between macOS versions, so check Apple's support site for your specific version before attempting it.

What if I see multiple usernames on my Mac?

Your Mac may have multiple user accounts if other people use it or if you created separate accounts for different purposes. The username you need is the one for the account you are currently logged into. Use whoami in Terminal to see which account is active right now.

Why does my username look different in different places?

macOS sometimes displays your username in different formats — with or without domain names, with or without the computer name prefix. The core username (the short name without spaces or special characters) is always the same. If you are unsure, use Terminal and whoami to see the definitive version.