How to make a Mac close apps like Windows does
On Windows, clicking the X on a program’s last window usually exits the program. On a Mac it doesn’t, and that is one of the first surprises for anyone switching.
What’s different
| Windows | Mac | |
|---|---|---|
| Close button | The X, top right | The red button, top left |
| Closing the last window | Usually exits the program | Leaves the app running |
| Exiting a program | Alt+F4, or close it | ⌘Q, or app menu → Quit |
| Where its menus are | Inside each window | In the menu bar at the top of the screen |
The last row explains the rest. A Mac app’s menus live at the top of the screen, not in its window, so the app can stay open with no windows at all. Closing a window just closes that window.
Habits that help
- Use ⌘Q when you’re finished with an app, instead of closing its window. ⌘ is the Command key, beside the space bar.
- Use ⌘W when you only want to close one window and keep the app.
- Watch the Dock: a dot under an icon means the app is still running.
Can macOS be set to work like Windows?
Not with a built-in setting. Apple has never offered one. You can either learn the ⌘Q habit, or use a small app that adds the Windows behaviour back.
Make it automatic with Exeunt
Exeunt is a small menu bar app that does one thing: when you close an app’s last window, it quits the app. You keep closing windows the way you already do, with the red button or ⌘W.
- Your work is safe. Exeunt never closes a window and never force-quits. It asks the app to quit the same way ⌘Q does, so an app with unsaved changes shows its usual save dialog.
- You choose the exceptions. Mail, Messages and music apps are useful with no window open. Add them to the never-quit list with one click from the menu bar.
- System apps are protected. Finder, the Dock, System Settings, Control Centre and Notification Centre are never quit.
It runs on macOS 13 or later, on Apple Silicon and Intel Macs. Free for 14 days with no account, then a one-time $5.
Exeunt has two ways of working. In the normal one, closing an app’s last window quits it, the closest match to Windows. In the other, clicking the red button quits the app even if it has other windows open, while ⌘W still just closes a window. Hold Shift as you close to keep an app open just this once.
By buying, you agree to the Terms.
Questions
What is the Mac equivalent of Alt+F4?
Command-Q quits the app in front. Command-W closes just the current window, which on a Mac leaves the app running.
Why doesn't closing a window on a Mac exit the program?
On a Mac an app's menus are in the menu bar at the top of the screen, not in its windows, so the app can stay open with no windows at all. Closing a window only closes that window.
How do I make my Mac quit apps when I close them, like Windows?
macOS has no setting for it. Exeunt, a small menu bar app, quits an app when you close its last window, and never closes windows or force-quits.