Skip to content
  • Windows
  • Linux
  • Mac
  • Internet
  • Android
  • iOS
  • More
    • Hardware Guides
    • Chrome OS
    • Gadgets
    • How Things Work
    • Product Review
    • Smart Home
    • Gaming
  • About
    • About Us
    • Contact Us
    • Write For Us
    • Advertise with Us
    • Privacy Policy

How to Hide User Accounts from macOS Login Screen

By Jessica Thornsby / Jul 9, 2020 / Mac
Macos Login Screen Remove Users

If you have a communal MacBook, your login screen may be looking a little cluttered. If you have a list of accounts but crave a more minimalist look, you can easily hide user accounts (usernames and user icons) from macOS’s login screen.

Make your login screen a username-free zone

By default, the macOS login screen displays the username and user icon for every account on your Mac.

The default macOS login screen displays the username and user icon, for everyone who's registered with your Mac.

However, if you’re craving a more simplified look, then you can remove all of the usernames and icons from your login screen.

You can remove these usernames and passwords, to create a more streamlined login screen.

With this information banished from your login screen, macOS will display two blank text boxes where you can enter the username and password for the account that you want to access.

Removing the username and user icon can also give your Mac an extra layer of security, since anyone who’s attempting to break into your account will need to know your username rather than having this information handed to them as soon as they power up your Mac.

To remove all the usernames and icons from your login screen:

1. Select the “Apple” logo from your Mac’s menu bar.

2. Navigate to “System preferences -> Users & Groups.”

3. Click the padlock icon and enter your username and password.

4. Select “Login options.”

Navigate to "System preferences > Users & Groups," and select "Login Options."

5. In the “Display login window as … ” section, select “Name and password.”

That’s it! The next time you want to log in to any account, you’ll need to enter that account’s password and username.

Hide specific accounts from the login screen

Do you want to pick and choose which accounts appear on the login screen?

Perhaps you want to hide all of your guest accounts and place your personal account center stage? Or maybe you want to add some extra security to your admin account, by making sure it doesn’t appear on the login page?

You can bundle multiple macOS accounts into an “Other … ” overflow category.

You can hide multiple user accounts, behind a single "Others..." profile

If you want to access one of these hidden accounts, you’ll need to select “Other … ” and then enter the password and username for the account you’re trying to access.

To hide a specific user account from the login screen:

1. Navigate to “System preferences -> Users & Groups.”

2. Click the padlock icon and enter your username and password.

3. Control-click the user(s) you want to hide and then select “Advanced Options … ”

Right-click the account that you want to hide, and select "Advanced Options..."

4. On the subsequent screen, make a note of the “Account name,” including any formatting, such as spaces and capital letters, as you’ll be needing this information shortly.

Make a note of the "Account name" value.

5. Open your Mac’s Terminal (Applications -> Utilities -> Terminal).

6. Copy/paste the following command into the Terminal, making sure to replace “username” with the username of the account you want to hide:

sudo defaults write /Library/Preferences/com.apple.loginwindow HiddenUsersList -array-add username

7. Run this command by pressing the Enter key on your keyboard.

8. Enter your admin password when prompted.

9. Rinse and repeat for every account you want to hide.

All of these accounts will no longer appear on your login screen, and you’ll only be able to access them by selecting “Other … ” and then typing the username and password associated with that account.

Help! I’ve forgotten my username

When an account is hidden, you’ll need to know that account’s exact username in order to access it, but what happens if you forget or misplace a username?

If you still have access to at least one other account, then you can log into that account and retrieve a list of all the usernames that are registered with your Mac.

To retrieve this information, open the Terminal application and run the following command:

ls /users

The Terminal will now display a list of all the accounts that are registered with your Mac.

Alternatively, if you can’t access any of your accounts, then you can retrieve a list of usernames by booting into macOS’s Single User Mode:

1. Power down your Mac.

2. Boot while holding the Command + S keys. Your Mac should now boot into Single User Mode, which is a black screen that accepts text commands, similar to a full-screen Terminal.

3. In Single User Mode, type the following command:

ls /users

4. Press the Enter key on your keyboard.

5. After a few moments, Single User Mode will display some information about your Mac, including all of your user accounts. Take note of this information, including how the usernames are formatted.

6. Restart your Mac by running the following command:

reboot

Your Mac will now restart, and after a few moments you should see the standard macOS login screen.

Mac aren’t exactly known for being customizable but still provide you a simple way to hide user accounts on the login screen. There are also other ways to personalize the login screen, including adding a custom message. Have you made any other changes to your login screen? Let us know in the comments below!

Related:

  • Everything You Need to Know about Mac System Preferences
  • Best Ways to Manage Multiple Windows on macOS
  • How to Type Euro, Cent, Yen and Other Currency Symbols on Your Mac
Jessica Thornsby Jessica Thornsby

Jessica Thornsby is a technical writer based in Derbyshire, UK. When she isn’t obsessing over all things tech, she enjoys researching her family tree, and spending far too much time with her house rabbits.

Is this article useful?
  • Facebook
  • Tweet

Leave a Comment Cancel reply

Yeah! You've decided to leave a comment. That's fantastic! Check out our comment policy here. Let's have a personal and meaningful conversation.

Popular Posts

Boom 3D Desktop Review: Surround Yourself with Better Audio on Windows & Mac

Sponsored

Best Sites to Download Dynamic Wallpapers for Mac

How to Enable or Disable Turbo Boost on Your Mac

How to Hide Files, Folders and Desktop Icons on Mac

Mac Unable to Communicate with Your Printer? Try These Fixes

4 of the Best Android Emulators For Mac

How to Change the Screenshot File Format to JPG on Mac

How to Fix a Frozen Mac During an Update

Spilled Water on Your Macbook? Here's How to Avoid Water Damage

10 Best Docking Stations for MacBook Pro in 2021

How to Merge Two macOS Accounts into One

Affiliate Disclosure: Make Tech Easier may earn commission on products purchased through our links, which supports the work we do for our readers.

Never Miss Out

Receive update of our latest tutorials.

See all newsletters | Privacy Policy

© 2021 Uqnic Network Pte Ltd.
All rights reserved.

  • About
  • Contact
  • Advertise
  • Write For Us
  • Terms of Use
  • Privacy Policy
  • RSS Feed Terms
Do not share my Personal Information