How to hide desktop icons on Mac
Sharing your screen with a desktop full of files? Hide them in one click, and bring them back after.
On macOS Sonoma 14 and later, turn off Show Items “On Desktop” in System Settings → Desktop & Dock; on earlier versions it takes a Terminal command. Your files aren’t moved or deleted — they stay in the Desktop folder. MacFixes puts hiding the desktop icons in one click in its menu bar panel, beside dark mode, eject all and empty Trash.
Part of MacFixes: 7 days free, then $2.99 a month or $17.99 once, with every app and fix included.
What macOS gives you
On macOS Sonoma 14 and later, System Settings → Desktop & Dock → Show Items has an “On Desktop” checkbox; turn it off and the desktop shows only your wallpaper. Before Sonoma it took a Terminal command. Finder → Settings → General chooses whether disks and connected servers appear on the desktop, and Use Stacks groups loose files into tidy piles. Each of these is several clicks deep, so switching them off for a call and back on afterwards is a chore.
How MacFixes fixes it
- 1Turn on the fixOpen MacFixes Settings → Everyday and turn on “Quick toggles” (or type its name into Search for a fix).
- 2Allow Automation if askedSome toggles ask for Automation permission. That’s how they change the setting for you.
- 3ClickHide desktop icons, switch dark mode, eject every disk or empty the Trash from the menu bar panel.
Why the desktop fills up
The desktop is the one folder you can always see, which makes it where things land. Screenshots save there by default. Files dragged out of a browser, an email or a chat often get dropped there “for now”. Disk images, external drives and network servers can show up there as icons too. A few weeks later it’s a wall of files you don’t want a meeting full of people to read.
Hiding the icons doesn’t tidy anything. It just stops the desktop showing them, which is exactly what you want for the length of a screen share, a recording or a presentation — and why the useful version is one you can switch back just as easily.
Every way to hide desktop icons in macOS
System Settings (macOS Sonoma 14 and later). Open System Settings → Desktop & Dock, find Show Items and turn off On Desktop. Every file, folder and drive icon disappears from the desktop at once. Turn it back on to see them again. The In Stage Manager checkbox next to it does the same for Stage Manager, if you use it.
Terminal (any version). Type defaults write com.apple.finder CreateDesktop false and press Return, then killall Finder to restart Finder. To bring the icons back, run the same first command with true in place of false, then restart Finder again. It’s the method people used before Sonoma, and it still works.
Only the drive icons. If the clutter is disks rather than files, open Finder → Settings → General. Under “Show these items on the desktop” you can switch off hard disks, external disks, CDs, DVDs and iPods, and connected servers one by one. Your own files stay where they are.
Stacks instead of hiding. Control-click the desktop and choose Use Stacks. Files are gathered into one pile per kind — documents, images, screenshots — and a click on a pile fans it open. It isn’t hidden, but a desktop of four neat stacks gives much less away than two hundred file names.
If clicking the wallpaper makes everything disappear
Sonoma added the opposite behaviour: click an empty part of the wallpaper and every window slides off the screen so you can see the desktop. Click again and they come back. If you’d rather that didn’t happen, open System Settings → Desktop & Dock and set “Click wallpaper to reveal desktop” to Only in Stage Manager.
That setting only changes what a click on the wallpaper does. It doesn’t hide or show the icons themselves; that’s the On Desktop checkbox above.
Before you share your screen or record
Share a window, not the screen. Most call apps let you share a single window or app instead of the whole display. Then the desktop never appears at all, whatever is on it. When you do need the whole screen — switching between apps during a demo, say — hide the desktop icons first.
Mind what else is on screen. Notifications pop up in the corner mid-call, so clear every notification at once before you start. And before you join, a quick look at yourself on camera saves a surprise — check your camera before a call.
Stop screenshots landing on the desktop. Press ⇧⌘5, click Options and choose another place under Save to, such as Documents or a folder of its own. New screenshots go there from then on, and the desktop stops filling up at the source.
Where hidden files go
Nowhere. Every way of hiding the icons only changes what the desktop shows. The files stay in your Desktop folder, untouched, and open as usual. In Finder, choose Go → Desktop (⇧⌘D) to see them in a window while the desktop itself looks empty. If Desktop & Documents Folders is turned on for iCloud Drive, they keep syncing as before; hiding them doesn’t change that either.
Nothing is deleted, so nothing needs restoring. Show the icons again and they’re back where you left them.
One click with MacFixes
Opening System Settings before every call, or typing a Terminal command and restarting Finder, is fine once. Doing it twice a day is the kind of thing nobody keeps up. MacFixes’ Quick toggles put hiding the desktop icons in one click in its menu bar panel: click once before the call, and once afterwards to bring them back.
The same card holds three other things macOS buries: switch dark mode, eject every disk at once and empty the Trash. Some toggles ask for macOS’s Automation permission the first time you use them; the section below says what that permission allows and where to take it back.
Permissions, and turning it off
“Quick toggles” needs macOS’s Automation permission. macOS asks you, and you allow it once.
- Automation lets an app send commands to one other app, such as asking Finder which folder is open. macOS asks separately for each app it talks to. You can see it, and take it back, in System Settings → Privacy & Security → Automation.
To stop using it, open MacFixes Settings → Everyday and use the switch on the “Quick toggles” row.
Questions
How do I hide desktop icons on a Mac?
On macOS Sonoma 14 and later, open System Settings → Desktop & Dock and turn off Show Items “On Desktop”. On earlier versions, run defaults write com.apple.finder CreateDesktop false in Terminal, then killall Finder. MacFixes does it in one click from its menu bar panel.
Are my files deleted?
No. Your desktop items stay exactly where they are and come back when you switch the toggle off.
Where are my desktop files when the icons are hidden?
Still in the Desktop folder. In Finder, choose Go → Desktop (⇧⌘D) to open them.
How do I hide only the hard drive icons on my desktop?
Open Finder → Settings → General and switch off the items under “Show these items on the desktop”.
Why do my windows disappear when I click the desktop?
That’s “Click wallpaper to reveal desktop”, added in macOS Sonoma. Set it to Only in Stage Manager in System Settings → Desktop & Dock.
How do I stop screenshots saving to the desktop?
Press ⇧⌘5, click Options, and choose another location under Save to.
What does it cost?
Quick toggles comes with MacFixes: 7 days free, then $2.99 a month or $17.99 once.
More fixes macOS doesn’t give you
One of 47 fixes and 10 apps in MacFixes. Every fix · Every app · Something else your Mac won’t do? Request it.
Hide desktop icons with MacFixes
MacFixes has 47 fixes for things macOS gets wrong or leaves out. Add only the ones you want. Free for 7 days, then $2.99 a month or $17.99 once. macOS 14 Sonoma or later.