How to show the desktop on a Mac

The shortcut, the trackpad gesture, a hot corner and a click on the wallpaper, how to stop windows flying away when you don’t want them to, and how to clear everything except the window you’re working in.

3 min read

A Mac desktop in HideTheRest Focus mode: only the code editor is clear, every other window is blacked out, and the editor has the lime selection outline.

Use the Show Desktop keyboard shortcut

  1. Press Command–Mission Control. Mission Control is the key with three rectangles (F3) on Apple keyboards.
  2. If your keyboard has a Globe or Fn key, Fn‑H or Fn‑F11 does the same.
  3. Your windows slide to the edges of the screen and the desktop shows. Press the shortcut again, or click a window edge, to bring them back.

Nothing is closed or minimized: the windows are just pushed aside, so dragging a file from the desktop into one of them still works. If the shortcut does nothing, open System Settings → Keyboard → Keyboard Shortcuts… → Mission Control and check that Show Desktop is turned on and set to a key you can press. On a keyboard set to use F1, F2 and so on as standard function keys, add Fn. Apple’s Mac keyboard shortcuts.

Spread four fingers on the trackpad

Place your thumb and three fingers on the trackpad and spread them apart. The desktop appears. Pinch them back together to return to your windows. (Pinching them together from the start opens your apps instead.)

If nothing happens, open System Settings → Trackpad → More Gestures and make sure Show Desktop is on. A Magic Mouse has no equivalent gesture, so mouse users are better off with the shortcut or a hot corner. Apple’s Multi-Touch gestures.

Click the wallpaper (macOS Sonoma or later)

Since macOS Sonoma, clicking any empty part of the wallpaper moves every window out of the way so you can reach your desktop files and widgets. Click a window, or the wallpaper again, to bring everything back.

Many people turn on a new Mac and find this happening by accident. To change it, open System Settings → Desktop & Dock and find Click wallpaper to reveal desktop. Choose Always to keep it, or Only in Stage Manager so a stray click on the wallpaper no longer sends your windows flying. Apple’s Desktop & Dock settings.

Set a hot corner

  1. Open System Settings → Desktop & Dock and click Hot Corners… near the bottom.
  2. Click the pop-up menu for a corner and choose Desktop. Click Done.
  3. Move the pointer into that corner to show the desktop, and into it again to bring the windows back.

If you trigger the corner by accident, hold Command, Option, Control or Shift while choosing the action. The corner then only works while you hold that key. Apple’s hot corners guide.

Hide or minimize everything except one app

Showing the desktop clears the whole screen. Often you want the opposite: everything gone except the app you’re using.

  • Option‑Command‑H hides every app except the front one. Hidden apps keep running; click their Dock icon or press Command‑Tab to bring one back, or choose Show All from the app menu.
  • Command‑H hides only the front app.
  • Option‑Command‑M minimizes every window of the front app into the Dock.
  • Stage Manager (in Control Center) keeps the current app in the middle and tucks the others into a strip at the side.

These work on whole apps. If the distraction is a second window of the same app, or a panel inside the window you’re using, they can’t separate it out. Apple’s guide to app windows.

Black out everything except one window with HideTheRest

A crowded Mac desktop: a code editor beside a video site, Notes and a Messages window with unread chats. The same desktop in HideTheRest Focus mode: the code editor is clear and every other window is blacked out, still open underneath.
Four windows open, and only one of them is the work.

Show Desktop moves your windows away, and Hide Others removes whole apps. HideTheRest takes a third route: every window stays exactly where it is, still running, and only what you choose stays visible.

  1. Press ⌃⇧H to open the HideTheRest editor and switch to Focus.
  2. Drag a box over the window you’re working in. Add a second box for a to-do list or a reference if you need one.
  3. Choose Blackout, Blur or Dim, then press Return. Everything outside your boxes is shaded, on every part of the screen.

Use Peek to glance underneath for a moment, and press ⌃⇧⎋ to remove every shade at once. Save Layout keeps the setup for next time. If you only want to grab a file from the desktop, the built-in shortcut is quicker. HideTheRest is for staying on one thing for an hour.

HideTheRest for Mac · Holiday Season Sale

Get the app now
for $9.99.

Cover what distracts you in any app, site or game, on every desktop and display. Pay once and it’s yours.

  • Works in every app, with no permissions
  • Hide or Focus, with Dim, Blur or Blackout
  • Saved layouts, one click from the menu bar
  • No account, no subscription, works offline
Try the demo first

Holiday Season Sale price until Thursday, December 31 at 11:59 PM PST · One-time purchase · macOS 13 Ventura or later

The same desktop in HideTheRest Focus mode: the code editor is clear and every other window is blacked out, still open underneath.

$9.99was $19.99one-time