Skip to content
  • PC & Mobile
    • Windows
    • Mac
    • Linux
    • Mobile
    • Android
    • iOS
    • Chrome OS
  • Hardware
    • PC Hardware
    • Product Review
    • Smart Home
  • Lifestyle
    • Internet
    • Gaming
    • Productivity
    • How Things Work
    • Glossary
    • News
  • Cheatsheets
  • Deals

Dark mode:

Home > Mac

How to Hide User Accounts from macOS Login Screen

Jessica Thornsby
Jessica Thornsby
Jul 9, 2020
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!

Is this article useful?
Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

  • Facebook
  • Tweet

Popular Posts

How to Install macOS in VirtualBox

How to Convert Legacy BIOS to UEFI in Windows

Best Android Launchers for Senior and Visually Impaired Users

How to Build and Install a Custom Kernel on Ubuntu

8 of the Best Smartphones for Seniors

9 of the Best Alternatives to Apple's Magic Keyboard

15 Safe Websites for Downloading Windows Software

The Best Windows 10 and 11 Easter Eggs to Seek Out

Android Tablet vs. Fire Tablet: Which One's for You?

Use Access Dots to Find Out If Apps Are Using Microphone and Camera in the Background

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

Read Next

How to Install macOS in VirtualBox
5 of the Best Sticky Note Apps for Mac
How to Customize Your Android’s Lock Screen
Netflix to Grow Revenue by Cracking Down on Account Sharing
5 Ways to Change the Color of a Samsung Keyboard
How to Change the Windows Login Screen Image
How to Fix the Ubuntu Login Loop
FTC Investigated Amazon for Deception with Prime Accounts

© 2022 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.