Pressing Command+H on a Mac hides the frontmost app and all its windows, returning you to the desktop or the next app behind it. The app keeps running in the background, so you can bring it back instantly with a click on its Dock icon or by using Command+Tab. Nothing needs to be installed or configured first — the shortcut is built into macOS and works in almost every app.

What You'll Need

  • A Mac running macOS (any modern version).
  • A keyboard with a Command (⌘) key — every Apple keyboard and most third-party Mac keyboards have one.
  • At least one app open in a window so you can see the effect.

Step-by-Step

  1. Open an app you want to hide. Click any window to make it active — for example, Safari, Notes, or Finder. The app's name should appear in the menu bar at the top left.
  2. Press Command+H. Hold down the Command key (next to the space bar) and tap H once. The window disappears immediately, and you see whatever was behind it — usually the desktop or another open app.
  3. Confirm the app is still running. Look at the Dock: the app's icon is still there, often with a small dot underneath indicating it is open. The app has not quit; it is only hidden.
  4. Bring the app back. Click its Dock icon, or press Command+Tab to cycle through open apps and release when the hidden app is highlighted. The window returns exactly where you left it.
  5. Hide all other apps instead (optional). If you want to focus on one app and hide everything else, press Command+Option+H. This hides every app except the one currently active.
  6. Check the menu for the Hide command (optional). You can also hide the current app from the app menu (the one named after the app, next to the Apple menu) and choose Hide [App Name]. The keyboard shortcut is listed there, which confirms it works in that app.

Common Mistakes

  • Confusing hide with quit. Command+H does not close the app or free much memory — it only removes the windows from view. To actually quit, use Command+Q.
  • Pressing Command+H in an app that has no windows. If the app is already in the background or has no open window, the shortcut may do nothing or hide a different app. Make sure the app you want to hide is active first.
  • Expecting it to work on the desktop. When the Finder desktop is active, Command+H hides Finder windows but not the desktop itself. That is normal.
  • Using it in full-screen mode. In full-screen apps, Command+H may not behave as expected because the app occupies its own space. Exit full screen first (Control+Command+F) if the shortcut seems unresponsive.
  • Thinking hidden apps are paused. Hidden apps keep running — downloads continue, music keeps playing, and notifications may still appear. Hide is not a way to stop background activity.

Tips

  • Use Command+Option+H to hide everything except the current app — great for clearing desktop clutter before a screen share.
  • Combine with Command+Tab: hide an app, then tab to another one without ever touching the mouse.
  • If you hide an app and forget it is running, check the Dock for the dot indicator or open Activity Monitor to see running apps.
  • Command+H works in most apps, but a few — especially games and some full-screen video players — may capture the keystroke for their own use.
  • On a Mac laptop, the Command key is the one with the ⌘ symbol, immediately left of the space bar.

Troubleshooting

If Command+H does nothing, work through these checks in order:

  1. Make sure the right app is active. Click the app's window first, then try again. The menu bar should show the app's name.
  2. Test the Command key itself. Try another Command shortcut, such as Command+C to copy text. If that also fails, the key may be stuck or the keyboard may need reconnecting (for Bluetooth keyboards, turn it off and on).
  3. Check for app-specific overrides. Some apps, particularly games and creative tools, remap shortcuts. Look in the app's preferences for keyboard shortcuts and see whether H is assigned elsewhere.
  4. Restart the app. Quit it with Command+Q and reopen it. A frozen app may ignore shortcuts.
  5. Restart the Mac. If the shortcut fails across all apps, restart the computer. This clears most transient input problems.
  6. Check System Settings for modifier keys. Open System Settings > Keyboard and look at the modifier keys configuration (labels vary slightly by macOS version). Make sure the Command key is not remapped to another function.

If none of that helps, the issue is likely hardware — test with another keyboard if you have one.

Frequently Asked Questions

Does Command+H quit the app?

No. It only hides the app's windows. The app keeps running in the background until you quit it with Command+Q or from the Dock menu.

How do I unhide an app I hid with Command+H?

Click its icon in the Dock, or press Command+Tab and select it. The windows reappear in their previous positions.

What is the difference between Command+H and Command+Option+H?

Command+H hides only the active app. Command+Option+H hides every other app and leaves the active one visible.

Can I hide all windows at once?

There is no single built-in shortcut that hides every open app. You can hide apps one at a time with Command+H, or use Command+Option+H repeatedly, or press F11 (or the Show Desktop gesture) to move windows aside without hiding apps.

Why does Command+H not work in some apps?

A few apps, especially full-screen games and video players, intercept the keystroke for their own controls. Exit full-screen mode or check the app's shortcut settings.

Does hiding an app save battery or speed up my Mac?

Only marginally. Hidden apps still run and use resources. To free memory or CPU, quit apps you are not using rather than hiding them.