The three ways to close an app on Mac

You can close an app on Mac in three ways: use the red close button in the top-left corner of the window, press Command+Q while the app is active, or right-click the app icon in the Dock and select Quit. The red button closes the window but may leave the app running in the background — Command+Q fully closes the app. Which method you use depends on whether you want the app completely shut down or just want the window out of your way.

The most reliable method is Command+Q because it works the same way in nearly every Mac app. The red close button's behavior varies: in some apps like Safari or Mail, closing the window keeps the app open; in others like Notes, it closes both the window and the app. If you are unsure whether an app is still running after you close its window, check the Dock — a dot under the app icon means it is still active.

Key Takeaways

  • Command+Q closes an app completely and works in almost every Mac process.
  • The red close button in the top-left corner closes only the window, not always the app itself.
  • A dot under an app icon in the Dock means the app is still running even if you cannot see its window.
  • Right-clicking an app icon in the Dock and selecting Quit is another way to fully close it.
  • Some apps like Safari stay open in the background by design, even after you close their windows.

Using the keyboard shortcut Command+Q

Command+Q is the fastest way to close any app on Mac. Click the app window or its Dock icon to make sure it is active, then hold down the Command key (the key with the Apple logo) and press Q. The app will close when ready. This works in nearly every Mac process, from built-in apps like Mail and Calendar to third-party apps like Chrome or Slack.

If the app has unsaved work, a dialog box will appear asking whether you want to save before closing. You can click Save, Don't Save, or Cancel. If you click Cancel, the app stays open so you can save your work manually first. This safety feature prevents you from accidentally losing documents.

Closing the window with the red button

The red button in the top-left corner of every app window closes that window, but it does not always close the app. In Mail, Safari, and some other apps, closing the window leaves the app running in the background. You will still see the app icon in the Dock with a dot underneath, meaning it is active and ready to open a new window if you click its icon.

This behavior is intentional in some apps. Mail, for example, keeps running so it can check for new messages even when you have no window open. If you want to fully close the app instead of just the window, use Command+Q or right-click the Dock icon and select Quit.

Quitting from the Dock

Right-click (or Control+click) any app icon in the Dock to see a menu with a Quit option at the bottom. Click Quit to close the app completely. This method works the same way as Command+Q — the app closes fully and stops running in the background.

The Dock menu also shows you whether an app is currently running. If you see a dot under the icon, the app is active. If there is no dot, the app is not running. This is useful for checking whether an app is still open after you close its window.

Checking if an app is still running

After you close a window, look at the Dock to see whether the app is still running. The Dock is the row of icons at the bottom of your screen (or the side, if you have moved it). If there is a small dot or line under an app icon, that app is still active in the background. If there is no dot, the app has been fully closed.

You can also check the menu bar at the top of the screen. Some apps show their name in the menu bar when they are running. For example, if Safari is open, you will see "Safari" in the top menu bar. If the app is closed, that menu item disappears.

When an app will not close

If an app does not respond to Command+Q or the Quit menu, it may have frozen. Try clicking the app window to make sure it is active, then press Command+Q again. If that does not work, use Force Quit: press Command+Option+Escape to open the Force Quit Applications window, click the frozen app in the list, and click Force Quit.

Force Quit closes the app when ready without saving any unsaved work, so use it only when the app is not responding. After you force-quit an app, you can open it again normally. If an app freezes repeatedly, restarting your Mac or updating the app may help.

Closing multiple windows in one app

Some apps like Safari, Chrome, and Mail let you open multiple windows at once. Closing one window does not close the others or the app itself. If you want to close all windows and the app together, use Command+Q. If you want to close only one window while keeping the app and other windows open, click the red button on that specific window.

You can also close a single window with Command+W, which closes only the active window without closing the entire app. This is useful when you have multiple windows open and want to close one at a time.

Frequently Asked Questions

Does closing a window close the app?

Not always. In some apps like Safari and Mail, closing the window leaves the app running in the background. In other apps, closing the window closes the app. The safest way to fully close an app is to use Command+Q, which works the same way in all apps.

What is the difference between closing and force quitting?

Closing an app (with Command+Q or Quit) gives it a chance to save your work and shut down normally. Force Quit closes it when ready without saving. Use Force Quit only when an app is frozen and not responding to normal close commands.

How do I close an app on Mac if Command+Q does not work?

Try right-clicking the app icon in the Dock and selecting Quit. If that does not work, the app may be frozen. Press Command+Option+Escape to open Force Quit Applications, select the app, and click Force Quit.

Can I close an app without losing my work?

Yes. When you use Command+Q or Quit, most apps will ask you to save unsaved changes before closing. Click Save in the dialog box. If you use Force Quit, unsaved work will be lost, so avoid it unless the app is not responding.

Why does an app icon stay in the Dock after I close it?

The icon stays in the Dock because you have pinned it there, not because the app is running. Look for a dot under the icon — if there is no dot, the app is closed. You can remove the icon from the Dock by right-clicking it and selecting Remove from Dock.