Hide desktop icons on a Mac and keep the files
A desktop fills up the way a kitchen table fills up. Nothing arrives there deliberately. Screenshots land, downloads get dragged over for a moment, an installer disk image stays mounted, and eventually the wallpaper is a grid of file names that has not been looked at properly in months. The search for how to hide desktop icons on a Mac usually starts about an hour before a screen share.
There are four different ways to get the icons off the screen in macOS 27, and they differ in one important respect: whether the files are still reachable afterwards, and how. None of them delete anything, but only two of them leave a desktop that still works as a place to put things.
The switch that hides every icon at once
Open System Settings, choose Desktop & Dock, and scroll to the section headed Desktop & Stage Manager. The row called "Show items" carries two separate toggles: one for On Desktop and one for In Stage Manager.
Turning off the On Desktop toggle empties the desktop immediately. No restart, no logging out, no confirmation. The wallpaper is clean and every icon is gone, including mounted disks and any folder that was sitting there.
The In Stage Manager toggle controls the same thing while Stage Manager is running, which is a separate mode with its own layout rules. Anyone not using Stage Manager can leave that one alone.
Two things stay behind. Widgets are governed by their own row, "Show Widgets", with the same pair of toggles, so a desktop cleared of files can still be carrying a calendar and a weather panel. And the wallpaper stays interactive, which matters for the reveal behaviours described further down.
The files are still there, and that matters
Hiding desktop icons changes what is drawn, not what exists. Everything that was on the desktop is still in the Desktop folder inside the home folder, byte for byte, with the same names and the same modification dates.
Reaching it takes one of three routes. The Desktop entry in the Finder sidebar goes straight there. Pressing Shift-Command-D from the Finder opens the same folder in a window. Anything that was already open stays open.
There is a consequence worth thinking about before flipping the switch. With icons hidden, the desktop stops working as a staging area. Files dragged onto the wallpaper still land in the Desktop folder, but nothing appears to confirm it, and the habit of parking something there for ten minutes quietly turns into a habit of losing it. For people who use the desktop as an inbox, the honest answer is not to hide the icons but to empty the folder, which is a different job.
If Desktop and Documents are being synced to iCloud Drive, the folder contents are also on every other device signed into the same account. Hiding the icons on one Mac changes nothing about that. The files keep syncing exactly as before.
Hiding only the disks and the servers
Sometimes the complaint is narrower. The desktop is fine, but every mounted volume plants an icon in the top right corner: the internal drive, a Time Machine disk, a USB stick, an installer disk image that was never ejected, a file server from the office.
Those four categories have their own controls, and they live in the Finder rather than in System Settings. With the Finder in front, open Finder Settings from the Finder menu and stay on the General tab. Under the heading "Show these items on the desktop:" there are four checkboxes: Hard disks, External disks, CDs, DVDs, and iOS Devices, and Connected servers.
Unticking all four clears the volume icons while leaving ordinary files and folders exactly where they are. This is the option most people actually want when the desktop itself is reasonably tidy and the clutter is all hardware. Volumes stay mounted and stay visible in the Finder sidebar, so nothing becomes harder to reach.
The Terminal route
A single defaults key has controlled this behaviour for far longer than the System Settings toggle has existed, and it still works.
defaults write com.apple.finder CreateDesktop false
killall Finder
Setting the value back to true and restarting the Finder again brings the icons back.
The practical reason to use this rather than the toggle is automation. It can be written into a setup script, applied across several machines, or bound to a shortcut that flips the value and restarts the Finder in one step, which is how a lot of people build a one key presentation mode. For a single change on a single Mac, the toggle in Desktop & Dock is the same result with less to remember.
Ways to clear the desktop without hiding anything
Two of the four approaches are temporary by design, and for the screen sharing case they are often better than a permanent switch.
Show the desktop on demand
Pressing Command together with the Mission Control key pushes every window aside and exposes the desktop. Fn-H does the same thing, as does Fn-F11 on keyboards where that row is mapped conventionally. Releasing the same keys puts the windows back where they were. This is the inverse of hiding icons: it uncovers them rather than removing them.
The same behaviour can be assigned to a screen corner through Hot Corners, which is in the Desktop & Dock pane under the Mission Control section, so that pushing the pointer into a corner clears the windows.
Click the wallpaper to reveal the desktop
macOS has a setting in Desktop & Dock called "Click wallpaper to show desktop". Apple describes what it does directly: click wallpaper to move windows out of the way, revealing your desktop items and widgets. The choice is between Always and Only in Stage Manager.
Set to Always, a single click on any visible patch of wallpaper sweeps the windows to the edges. This catches a lot of people out as an accidental behaviour rather than a chosen one, and setting it to Only in Stage Manager is the usual cure. It is listed here because a desktop that keeps flashing into view during a screen share is often this setting rather than anything to do with icons.
Stack the icons instead of hiding them
With the Finder in front, the View menu has an entry called Use Stacks. It gathers desktop files into a small number of piles grouped by kind, so forty screenshots become one stack labelled Images. Group Stacks By changes the grouping to date, tag or application.
This is worth trying before reaching for any of the hiding options, because it keeps the desktop usable while removing most of the visual noise. A desktop with five stacks looks organised. A desktop with five stacks is also still a place where a file can be dropped and found again.
Why the desktop refills after every clean up
Hiding the icons treats the symptom. Most cluttered desktops have two specific sources feeding them, and both can be redirected in a couple of minutes.
The larger one is screenshots. By default macOS saves every capture to the desktop, and on a Mac used for any kind of documentation work that alone produces dozens of files a week with names that all begin the same way. The save location is changeable without any third party software. Press Shift-Command-5 to bring up the screenshot toolbar, open Options, and choose a different destination under Save to. The list offers Documents and a few other folders, plus an Other Location entry for anything else, and a dedicated Screenshots folder inside Pictures is the usual choice. The setting is stored in the com.apple.screencapture domain, so it can equally be set from a script for anyone standardising several machines.
The second source is the download and unpack habit. Disk images mounted from the Downloads folder show up as desktop volumes, installers get dragged out onto the wallpaper, and the mounted image is then left behind for weeks. Ejecting disk images after installing removes the volume icon and also releases the space the image occupies. The Finder's volume checkboxes described above hide those icons, but ejecting removes the actual leftovers.
Between those two changes, a desktop that used to refill within days tends to stay empty on its own. That is worth doing before deciding whether the icons need hiding at all, because a desktop with four items on it does not look cluttered and does not need a switch.
Comparing the four approaches
| Show items off | Finder volume checkboxes | Terminal key | Use Stacks | |
|---|---|---|---|---|
| What goes away | Every icon | Only disks and servers | Every icon | Nothing, items are grouped |
| Files still in the Desktop folder | Yes | Yes | Yes | Yes |
| Desktop still usable for dropping files | No | Yes | No | Yes |
| Takes effect | Immediately | Immediately | After restarting the Finder | Immediately |
| Best for | Presenting and recording | Cluttered volume icons | Scripted setups | Everyday tidiness |
Reading across the rows, the reversible options and the permanent ones separate cleanly, and the column that decides it is usually the third one. A permanently hidden desktop is a good arrangement for anyone who already works entirely out of Finder windows and project folders, and a bad arrangement for anyone whose workflow involves dragging things somewhere temporary.
The other half of a clean screen
A cleared desktop tends to expose what was actually creating the sense of clutter. With the wallpaper empty, the eye goes to the only busy thing left on screen, which is the row of small icons across the top.
The menu bar fills up the same way the desktop did. Apps add status items at install time, the row grows from the right edge inwards, and on a MacBook the app menus on the left eventually collide with it. When they meet, macOS starts dropping status icons without saying which ones, so items disappear on their own and reappear when a different app comes forward.
The same three questions apply there as on the desktop. Which items are read at a glance and need to stay visible. Which are only ever clicked and can sit one step away. Which do nothing at all and should be switched off at the source. System Settings can handle a good part of that through the per module choices in Control Center, and a menu bar organizer handles the rest by collapsing the row behind a divider. The features list sets out what that looks like in practice, and the questions page covers the permissions such a tool needs before it can move anything.
What to change first
Try Use Stacks for a week before hiding anything, because a grouped desktop solves the appearance problem without breaking the drop target. If the screen still feels crowded after that, the culprit is the row of icons at the top rather than the wallpaper, and that is the part Koffret deals with.
Frequently asked questions
Does hiding desktop icons delete the files?
No. Every file stays in the Desktop folder inside the home folder with its name, contents and dates untouched. The Desktop entry in the Finder sidebar opens it, and pressing Shift-Command-D from the Finder does the same.
Where is the setting in macOS 27?
System Settings, then Desktop & Dock, then the section headed Desktop & Stage Manager. The row is called "Show items" and has separate toggles for On Desktop and In Stage Manager. Turning off On Desktop clears the wallpaper straight away.
How can only the hard disk and USB icons be hidden?
Those are controlled in the Finder rather than in System Settings. Open Finder Settings from the Finder menu, stay on the General tab, and untick the entries under "Show these items on the desktop:". The four categories are hard disks, external disks, CDs and DVDs and iOS devices, and connected servers.
Can files still be saved to the desktop while the icons are hidden?
Yes. Saving or dragging to the desktop still puts the file in the Desktop folder, but nothing appears on screen to confirm it. That is the main argument against hiding icons permanently for anyone who uses the desktop as a temporary holding area.
Is there a way to hide the desktop only while presenting?
Rather than toggling the setting each time, use the show desktop gesture or a Hot Corner to move windows aside on demand, or put the Terminal command into a shortcut that flips the value and restarts the Finder in one step. Both leave the normal desktop intact the rest of the time.