Closing your last tab in most Mac apps leaves the app running in the background
On Mac, closing the final tab in an app like Chrome, Firefox, or Safari does not automatically quit the application. The window closes, but the app stays open in memory and continues running — you can see it still listed in the Dock and in your Activity Monitor. This is different from Windows, where closing the last window usually quits the program. If you want closing a tab to shut down the entire app, you need to change a setting or use a keyboard shortcut instead.
The reason apps behave this way is by design. macOS treats the app itself as separate from its windows. An app can have zero windows open and still be running, which is why you can reopen a window instantly without relaunching the whole program. Some people prefer this — it keeps the app ready to use. Others find it wastes memory and battery, especially if they have many apps open.
Key Takeaways
- Closing the last tab in Chrome, Firefox, Safari, or most other Mac apps does not quit the app — only the window closes.
- To quit an app completely, use Command+Q or right-click the Dock icon and select Quit.
- Some apps like Chrome have a setting to quit when the last window closes, but most Mac apps do not offer this option.
- If you want an app to close automatically when you close its last tab, the fastest method is to use Command+Q as a habit instead of just closing the window.
The difference between closing a window and quitting an app
When you close a tab or window by clicking the red circle in the top-left corner, you are closing only that window — not the app. The app itself keeps running. You can verify this by looking at the Dock: the app icon will still have a dot underneath it, showing it is active. If you click the app icon again, it will reopen the last window you had, often with your tabs and history intact.
Quitting an app means shutting down the entire process. The app no longer runs in the background, it no longer uses RAM or CPU, and it no longer appears in the Dock with an active indicator. The next time you open it, it starts fresh (though most modern apps restore your previous session).
This distinction matters if you are trying to free up memory or battery life. A closed window still consumes resources. A quit app does not.
How to quit an app instead of just closing its window
The fastest way to quit an app on Mac is to press Command+Q. This works in nearly every Mac application. You can do it whether a window is open or not — if the app is running, Command+Q will quit it immediately.
Alternatively, you can right-click (or Control+click) the app icon in the Dock and select Quit from the menu. This achieves the same result. Some apps will ask you to confirm unsaved changes before quitting; others will close without prompting.
If an app is frozen or not responding, you can force it to quit by pressing Command+Option+Escape, which opens the Force Quit Applications window. Select the app and click Force Quit. This is more aggressive and may cause you to lose unsaved work, so use it only when the app will not respond to Command+Q.
Which Mac apps have a "quit on last window close" setting
Most Mac apps do not offer a built-in setting to quit when you close the last window. However, Google Chrome does have this option. To enable it in Chrome, open Chrome menu (top-left corner) → Settings → Advanced → System, then toggle on Continue running background apps when Google Chrome is closed. Turning this off means Chrome will quit when you close the last window.
Firefox and Safari do not have an equivalent setting. For these browsers and most other Mac apps, closing the last window simply closes the window — the app remains running. If you want the app to quit, you must use Command+Q or the Dock menu.
Some third-party utilities exist that can force any app to quit when its last window closes, but they require installing additional software and may cause unexpected behavior. For most users, using Command+Q as a habit is simpler and more reliable.
Why Mac apps stay open after you close their windows
This behavior is part of macOS design philosophy. Apple treats applications as separate entities from their windows, which allows for features like having an app menu bar at the top of the screen even when no windows are open. It also means you can close all windows, then click the Dock icon to reopen the app instantly without relaunching it from scratch.
This design choice saves time if you use an app frequently throughout the day — you do not have to wait for it to launch each time. However, it also means apps consume memory and battery power even when you are not actively using them. On older Macs or when you have many apps open, this can noticeably slow things down.
How to check which apps are running in the background
To see which apps are currently running on your Mac, open Activity Monitor (search for it in Spotlight by pressing Command+Space, then type "Activity Monitor"). The window shows every process running on your system, sorted by default by CPU usage.
Look for app names you recognize — if you see Chrome, Safari, or another app listed even though you thought you closed it, that app is running in the background. You can select it and click the X button to force quit it, though using Command+Q in the app itself is gentler and allows the app to save state before closing.
Checking Activity Monitor occasionally can help you spot apps that are consuming unexpected amounts of memory or CPU. If you notice an app using significant resources even when you are not using it, quitting it with Command+Q is the simplest fix.
Frequently Asked Questions
Does closing a tab close the app on Mac?
No. Closing a tab closes only that tab, not the app. The app continues running in the background. To close the app entirely, use Command+Q or right-click the Dock icon and select Quit.
How do I make Chrome quit when I close the last tab?
Open Chrome → Chrome menu → Settings → Advanced → System. Toggle off "Continue running background apps when Google Chrome is closed." Now Chrome will quit when you close the last window.
What is the keyboard shortcut to quit an app on Mac?
Press Command+Q. This works in nearly every Mac app and quits the application immediately. If the app is frozen, use Command+Option+Escape to force quit instead.
Why does my Mac feel slow if I close windows but do not quit apps?
Closed windows still consume RAM and CPU. If many apps are running in the background, your Mac has less memory available for active tasks, which slows everything down. Quitting apps you are not using frees up these resources.
Can I set all Mac apps to quit when I close their last window?
Most Mac apps do not offer this setting natively. Third-party utilities exist that can enforce this behavior system-wide, but they are not necessary for most users. Using Command+Q as a habit is the simplest approach.