Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Command + Q on a Mac: How to Quit Apps Properly

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Command + Q is the standard Mac keyboard shortcut for quitting the app that is currently in the foreground. Press the Command (⌘) key and the Q key at the same time, and the active application closes completely rather than just hiding its window. Nothing needs to be installed or enabled first, but the shortcut only works when an app is frontmost and the app must actually support quitting.

What You'll Need

  • A Mac running macOS (the shortcut has been standard for many years).
  • A keyboard with a Command key — the built-in keyboard or an Apple keyboard. On a third-party Windows keyboard, the key labelled Alt usually acts as Command.
  • At least one app open and active in the foreground.

Step-by-Step

  1. Bring the app to the front. Click anywhere on its window, or click its icon in the Dock. The app's name should appear in the menu bar at the top-left of the screen, just to the right of the Apple menu. Command + Q always applies to the frontmost app, not to every open app.
  2. Press and hold the Command key. On most Apple keyboards this is the key with the ⌘ symbol, located immediately to the left of the space bar. Keep it held down.
  3. Tap the Q key once while still holding Command. The order matters only in that Command must be down when you press Q. You do not need to hold Q.
  4. Release both keys. The app should close. If it had unsaved changes, a dialog will appear asking whether to save, don't save, or cancel — choose the option you want. Choosing Cancel aborts the quit and leaves the app open.
  5. Confirm the app has quit. Look at the Dock: a small dot beneath an app icon means it is still running. If the dot is gone, the app has quit. You can also open the Apple menu > Force Quit to see a list of running apps, though that window is mainly for force-quitting unresponsive apps.
  6. Repeat for other apps if needed. Click each app in turn to make it frontmost, then press Command + Q again. There is no built-in shortcut to quit every app at once, so this is a one-at-a-time action.

Common Mistakes

  • Confusing Command + Q with Command + W. Command + W closes the current window or tab but leaves the app running. Command + Q quits the app entirely. If you press Command + W and the app stays in the Dock with a dot, that is expected.
  • Pressing Q without Command. Typing a plain Q just enters the letter into whatever text field is active.
  • Assuming it quits every app. Command + Q affects only the frontmost app. Other apps keep running in the background.
  • Ignoring the save dialog. If you press Command + Q and then click Don't Save without reading, unsaved work is discarded. Read the dialog before choosing.
  • Using it on a Windows keyboard without checking the mapping. On many third-party keyboards the Alt key sends Command, so Alt + Q is the equivalent. If nothing happens, try the key with the Windows logo, which often maps to Command on Mac layouts.
  • Expecting it to work on menu bar extras or background helpers. Some small utilities and menu bar items have no Quit command and cannot be closed this way.

Tips

  • If you only want to hide an app rather than quit it, use Command + H. The app keeps running and its windows disappear until you click its Dock icon again.
  • To see which apps are running, open the Apple menu and choose Force Quit, or open Activity Monitor from Applications > Utilities. Both list running processes.
  • Menu labels and the exact appearance of the save dialog can differ slightly between macOS versions, so if a wording looks different from what you expect, look for the closest matching option.
  • Quitting apps you are not using can free memory and reduce background activity, but macOS manages memory automatically, so quitting everything is not required for normal performance.
  • If an app refuses to quit with Command + Q, try choosing Quit from the app's own menu in the menu bar before resorting to Force Quit.

Troubleshooting

If Command + Q does nothing, work through these checks in order, simplest first.

  1. Check which app is frontmost. Look at the app name in the menu bar. If it is Finder, Command + Q does nothing because Finder cannot be quit in the normal way. Click the app you actually want to close.
  2. Try the app's own menu. Open the menu named after the app (for example, Safari or Mail) and look for Quit at the bottom. If that works, the shortcut is being intercepted by something else.
  3. Check for a dialog behind the window. A save prompt or modal alert may be waiting off-screen or behind another window. Move windows aside or use Mission Control to find it.
  4. Test the Command key. Try another Command shortcut such as Command + C. If none work, the key may be stuck, disabled in System Settings under Keyboard, or the keyboard may have a hardware fault. If you use a third-party keyboard, check its mapping software.
  5. Restart the Mac. Choose Apple menu > Restart. This clears stuck apps and keyboard states. Save your work first.
  6. Force quit the app if it is frozen. Press Option + Command + Esc, select the app in the Force Quit window, and click Force Quit. This closes the app without letting it save, so unsaved changes are lost — use it only when normal quitting fails.

Frequently Asked Questions

What does Command + Q actually do?

It sends a Quit command to the frontmost app, closing the app and all its windows. If there are unsaved changes, the app asks whether to save first.

Why does Command + Q not close every app at once?

The shortcut is designed to act on one app — the one currently in the foreground. macOS has no built-in shortcut to quit all apps simultaneously; you quit them one by one.

What is the difference between Command + Q and Command + W?

Command + Q quits the whole app. Command + W closes only the current window or tab, and the app keeps running in the Dock.

Can I quit Finder with Command + Q?

No. Finder is always running as part of macOS and does not respond to Command + Q. You can relaunch it from the Force Quit window if it becomes unresponsive, but it will restart automatically.

Does Command + Q work the same on a Windows keyboard connected to a Mac?

Usually yes, but the key mapping varies by keyboard. On many models the Alt key acts as Command, so Alt + Q quits the app. Check the keyboard's documentation or its mapping software if the shortcut does not respond.

Will quitting an app lose my work?

Only if you choose Don't Save in the save dialog, or if the app is force-quit. Normal quitting with Command + Q prompts you to save unsaved changes first.