Hide a user account in macOS - Apple Support Archived: 2026-04-05 22:56:33 UTC This article has been archived and is no longer updated by Apple. This article is intended for system administrators. If you believe this issue affects you, contact the system administrator for your business or school. 1. Log in with an administrator account. 2. Use this Terminal command. Substitute the short name of the user that you want to hide for hiddenuser: sudo dscl . create /Users/hiddenuser IsHidden 1 The user account is also hidden in System Settings (or System Preferences) the next time it's opened. This command can't be used with the Guest user account. Learn how to manage the Guest user account. If FileVault is enabled, a hidden user might still appear in the first login window when you turn on or restart your computer. If you want the hidden user to appear again in the login window, set the user’s IsHidden attribute to 0: sudo dscl . create /Users/hiddenuser IsHidden 0 If you want, you can delete the IsHidden attribute instead. This command hides the "/Users/hiddenuser" home directory: sudo chflags hidden /Users/hiddenuser These commands remove the Public Folder share point for the user with the long name “Hidden User”: sudo dscl delete Local/Defaults/SharePoints/Hidden\ User’s\ Public\ Folder/ exit Tell us more about what's happening, and we’ll suggest what you can do next. Get suggestions Published Date: November 05, 2025 Source: https://support.apple.com/en-us/HT203998 https://support.apple.com/en-us/HT203998 Page 1 of 1