How to Hide or Remove Icons from Mac Desktop
This guide shows you how to clean up your Mac desktop by hiding or removing icons. You’ll learn to hide all icons at once, remove individual files, and manage external drive and connected server icons. No special software is needed—just built-in macOS settings and Finder.
What You’ll Need
- A Mac running macOS (any recent version works)
- Administrator access (for some settings)
- Finder app (already on your Mac)
Step-by-Step
Hide All Desktop Icons (Quickest Method)
- Open Terminal (found in Applications > Utilities).
- Type or paste this command and press Return:
defaults write com.apple.finder CreateDesktop -bool false - Restart Finder by typing:
killall Finderand press Return. - All desktop icons will disappear immediately. To bring them back, repeat the steps but change
falsetotrue.
Remove Individual Icons (Files and Folders)
- Click on the desktop to make sure Finder is active.
- Select the icon(s) you want to remove by clicking them (hold Command to select multiple).
- Drag the selected items to the Trash in the Dock, or press Command + Delete.
- To permanently delete, right-click the Trash icon and choose Empty Trash.
Hide External Drives and Connected Servers
- Open Finder (click the Finder icon in the Dock).
- From the top menu bar, click Finder > Settings (or Preferences on older macOS).
- Click the General tab.
- Under “Show these items on the desktop,” uncheck any of these:
– Hard disks (your internal drive)
– External disks (USB, Thunderbolt drives)
– CDs, DVDs, and iPods
– Connected servers (network volumes) - Close the settings window. The selected items will vanish from the desktop immediately.
Hide Desktop Icons for a Specific User (Using Parental Controls)
- Open System Settings (or System Preferences on older macOS).
- Go to Screen Time (or Parental Controls on older versions).
- Select the user account you want to restrict.
- Click Content & Privacy (or Apps tab).
- Enable Content & Privacy Restrictions if not already on.
- Click Apps and check the box for Hide Desktop.
- Log out and back in for the change to take effect.
Use Stacks to Organize (Not Hide, but Clean)
- Right-click (or Control-click) on the desktop.
- Choose Use Stacks from the menu.
- Icons will group into neat stacks by kind, date, or tags (right-click again to change grouping).
- Click a stack to expand it; click again to collapse.
Common Mistakes
- Forgetting to restart Finder after using Terminal—the change won’t apply until you do.
- Dragging files to Trash accidentally—always double-check that you’re deleting the right item, especially if you empty the Trash immediately.
- Unchecking the wrong items in Finder Settings—make sure you’re on the “General” tab, not “Sidebar.”
- Confusing “hide” with “delete”—hiding only removes icons from view; the files still exist on your Mac.
Tips
- If you hide all icons but still want quick access to your files, use Finder (click the Finder icon) and navigate to your Desktop folder (in the sidebar under “Favorites”).
- Use Stacks to keep your desktop tidy without hiding anything—it’s a good middle ground.
- For a temporary clean look, you can also set your desktop wallpaper to a solid color—icons will still be there but less distracting.
- If you frequently need to hide/show icons, create a small AppleScript or use a third-party app, but the Terminal method is the most reliable.
Troubleshooting
- Terminal command doesn’t work: Make sure you type the command exactly, including spaces. If you get an error, try copying and pasting the command directly from this page.
- Icons reappear after reboot: The Terminal command should persist, but if it doesn’t, you may have a conflicting setting. Try running the command again and restarting your Mac.
- Finder Settings won’t save: Ensure you have administrator privileges. If you’re not the admin, you’ll need the admin password or ask the admin to make the change.
- Stacks won’t enable: Right-clicking on the desktop may not work if you’re in a full-screen app. Click on the desktop first to make sure Finder is active.
- Hidden icons still show in Spotlight: Hiding only affects the desktop display. Files are still searchable—that’s normal.
Frequently Asked Questions
Does hiding desktop icons delete my files?
No. Hiding icons only removes them from view. Your files remain on your Mac and can be accessed via Finder.
How do I bring back hidden desktop icons?
For the Terminal method, run the same command with true instead of false, then restart Finder. For Finder Settings, just re-check the boxes you unchecked.
Can I hide only some icons, like just the hard drive?
Yes. In Finder Settings > General, you can uncheck specific items like “Hard disks” or “External disks” while leaving others checked.
Why are my desktop icons grayed out?
Grayed-out icons usually mean the file is in iCloud and not downloaded locally, or the app is not installed. Check your iCloud settings or download the file.
Will hiding icons improve performance?
Not significantly. The desktop icons are just a view layer; hiding them won’t speed up your Mac noticeably.
Can I hide desktop icons only for one user?
Yes. Using Screen Time (or Parental Controls) restrictions, you can hide the desktop for a specific user account.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.