Hide Desktop Icons on a Mac for a Clean Screen Share
The call starts in two minutes and the desktop is a wall of screenshots, downloaded PDFs and folders with client names on them. Dragging them into a folder takes longer than the time left, and half of them are in use. What is actually needed is a switch: the files stay where they are, the screen stops showing them.
macOS has that switch. It is not in System Settings, which is why most of the pages answering this question end up recommending an app. Before installing anything, it helps to separate the three different things people mean by hiding desktop icons, because they have three different answers and only one of them needs software.
Three things "hide desktop icons" can mean
The first is the files themselves: everything sitting in the Desktop folder, which macOS draws on top of the wallpaper. That is what the Terminal switch below turns off.
The second is the disks. Hard disks, external drives, mounted disk images and connected servers appear on the desktop as icons, but they are not files in the Desktop folder. They are drawn by Finder because a setting says to draw them. Turning off the Desktop folder does hide them as well, but they can also be switched off on their own, which is often all that is needed.
The third is everything else that is in frame when a screen is shared. The Dock along the bottom. The menu bar along the top, with its row of status icons. Notification banners arriving in the corner. A desktop can be spotless and the share can still show a VPN with an office name in it, a sync icon flagging a conflict, and a banner from a chat app with a sentence of someone else's message in it. That part is not solved by hiding desktop icons at all, and it is where the real leaks happen.
Sorting out which of the three is the actual problem takes a few seconds and saves installing the wrong kind of tool.
The one line that turns the desktop off
macOS keeps a preference that controls whether Finder draws the desktop at all. Open Terminal and run:
defaults write com.apple.finder CreateDesktop false && killall Finder
Finder relaunches, and the desktop goes blank. Nothing is deleted and nothing is moved. Every file is still in the Desktop folder, reachable from Finder's sidebar, from the Open dialog of any app, and from the command line. Recent versions of macOS keep the wallpaper and the Dock exactly as they were.
To bring the icons back:
defaults write com.apple.finder CreateDesktop true && killall Finder
Two things are worth knowing before making this a habit. Open Finder windows close when Finder is relaunched, so it is worth running the command before opening the folders needed for the call rather than after. And while the desktop is off, it stops behaving like a Finder window: right-clicking the wallpaper no longer offers the desktop menu, and dragging a file onto the wallpaper no longer drops it there. Apps that save to the desktop keep working normally, and the file simply appears once the desktop is switched back on.
This is the closest thing macOS has to a single switch, and it is reversible in one line. For anyone who shares a screen a few times a week, saving both commands as shell aliases or as two Shortcuts is enough. No app needed.
Hiding only the disks and servers
If the Desktop folder is already tidy and the clutter is a stack of mounted volumes, the setting is in Finder rather than System Settings. Open Finder, then Finder > Settings > General. Under the heading for showing items on the desktop there are separate checkboxes for hard disks, external disks, CDs and DVDs, and connected servers. Clearing them removes those icons immediately, with no restart.
This matters more than it looks on a shared machine or a work Mac. A mounted server volume is usually named after the department or the project that owns it, and an external drive is often named after the person who formatted it. Those names are readable in a video call at a glance, and they persist for the whole meeting, unlike a notification that goes away.
The sidebar has its own checkboxes on the Sidebar tab of the same settings window. Hiding a volume from the desktop does not hide it from the sidebar, and screen shares of a Finder window show the sidebar.
Grouping instead of hiding
macOS has a middle option that people forget: Stacks. Right-click the wallpaper, choose to use stacks, and the desktop collapses into a small number of piles grouped by kind, by date or by tag. Twenty screenshots become one pile labelled as images with a count on it.
Stacks do not hide anything. The pile is still visible and its label still says what kind of files are inside. As preparation for a screen share it is only half a solution. As a way to live with a desktop that is used as a working surface, it is better than the alternative, because the files stay one click away instead of being buried in a folder that never gets opened again.
The other honest option is to stop using the desktop as storage. A folder in the home directory, opened from the sidebar, holds the same files and is never on screen unless a Finder window is shared. The reason the desktop wins anyway is that dropping a file there takes no decision, and a folder does. That is a habit question, not a settings question, and one line of Terminal covers the meetings in the meantime.
The row at the top is also on camera
Once the desktop is blank, the top of the screen becomes the most detailed part of the picture. The menu bar carries the name of the frontmost app, the clock, and a row of status icons that belong to background apps. On a Mac that has been in use for a couple of years that row is long, and it is the one part of the screen that cannot be closed before a call.
Three things there are worth a minute of setup.
What appears at all
System Settings > Control Center lists the built in items, each with a choice about whether it shows in the menu bar. Battery percentage, Bluetooth, sound, focus and screen mirroring can each be taken out of the bar and left in Control Center.
The order of the icons
Holding Command and dragging a menu bar icon moves it. Items can be reordered, and third party items can be dragged off the bar entirely, which quits their icon rather than the app in some cases. The order is worth arranging once, so that anything with a readable name in it sits away from the clock, where the eye lands.
Notifications
A Focus set up for meetings silences banners, and macOS can turn one on automatically when screen sharing starts. This is the setting that prevents the single worst outcome of a screen share, which is a message preview from a person whose name is on screen for three seconds in front of the wrong audience.
For the third party icons themselves, macOS does not offer a way to keep them running while taking them out of the bar. That gap is the whole reason menu bar managers exist: they leave the app running, move its icon out of the visible row, and give it back on a click or a shortcut. Which one to use is a separate decision, and there is a feature by feature comparison of the options in this category.
The desktop travels between Macs, the hiding does not
Two settings interact here in a way that surprises people the first time. The switch that turns the desktop off is stored in Finder's preferences for the user account on that Mac. The contents of the desktop, on the other hand, may be stored in iCloud Drive, if the option for Desktop and Documents folders is turned on under the Apple Account section of System Settings.
That combination means the clutter and the cure travel differently. A Mac mini used for presentations can have the desktop switched off permanently and never show an icon again, while the laptop that syncs the same Desktop folder keeps showing all of them. Turning the desktop off on one machine does nothing to the other, and it does not take the files out of iCloud Drive either. Anyone who has ever cleaned a desktop and watched it refill on the other Mac has met the other half of this: the folder is shared, so deleting is shared, and hiding is not.
There is a second placement rule worth knowing before a presentation. Desktop icons are drawn on the display set as the main one, which is chosen in System Settings > Displays. Connecting a projector or a second monitor does not copy the icons onto it. If the meeting is presented from the second screen and the whole screen is shared from there, the desktop clutter is not in the picture at all, and no setting had to change.
Neither of these is a substitute for the Terminal switch. They are the reason a change made once sometimes appears not to have worked: the machine that was fixed is not the machine on screen, or the screen being shared was never the one holding the icons. Checking which display is main, and which Mac is actually presenting, takes less time than running the command twice.
Which approach fits which situation
| Approach | What it removes | Time to undo | Still visible |
|---|---|---|---|
| Terminal switch | Every desktop icon, including disks | One command | Dock, menu bar, notifications |
| Finder settings | Disks, drives, servers only | One checkbox | Files in the Desktop folder |
| Stacks | Nothing, groups instead | One menu item | Pile labels and counts |
| Move files to a folder | Everything moved | Manual | Nothing, until a Finder window is shared |
| Meeting Focus | Notification banners | One click | Everything else |
| Menu bar manager | Status icons in the top row | One click | The clock and the frontmost app menus |
The rows are not alternatives to each other. A clean share is usually the first row plus the last two, done once and then reused.
Two minutes before the call
Run the Terminal command, or the shortcut it was saved as. Turn on the meeting Focus. Check that the wallpaper click behaviour in System Settings > Desktop & Dock is not set to reveal the desktop on every click, because that setting sweeps windows aside mid sentence and shows whatever is behind them. Then, if the meeting software allows it, share a single window instead of the entire screen. Sharing one window makes every step above unnecessary, and it is the only approach that also hides the tab titles in the browser.
What to change first
Save the two Terminal commands as shortcuts and use them for the next call, since that costs nothing and is reversible. If the part that stays cluttered is the row of status icons at the top rather than the desktop, that is a different tool: see what a menu bar manager does and try Koffret for fourteen days before deciding.
Frequently asked questions
Does hiding desktop icons delete the files?
No. Every file stays in the Desktop folder in the home directory, and it can be opened from Finder's sidebar, from any app's Open dialog, or from Terminal. Turning the desktop back on shows the same icons in the same positions.
Is there a keyboard shortcut to hide desktop icons?
macOS has no built in shortcut for it. The usual approach is to save the two Terminal commands as a pair of Shortcuts, or as a single shortcut that reads the current value and flips it, and then assign a key to that.
Why did my desktop icons come back after a restart?
The Terminal setting survives restarts, so a return usually means the command was run with the value spelled differently, or was run as a different user account than the one logged in. Running the command again in the account that is logged in, and confirming that Finder relaunches, settles it.
How do I hide only the external drive icons and keep my files on the desktop?
Open Finder > Settings > General and clear the checkboxes for external disks and connected servers. The files in the Desktop folder are unaffected, and the change applies as soon as the box is cleared.
Will hiding desktop icons make the Mac faster?
Not in a way that is noticeable on current hardware. Drawing a few hundred icons costs very little. The reason to do it is what is on screen during a share, not performance.