The three ways to close a window on a Mac
Close a window by clicking the red circle in the top-left corner of that window, pressing Command+W on your keyboard, or right-clicking the app's name in the Dock and selecting "Quit". The red circle is the fastest method if your hands are on the mouse. Command+W works best if you are typing. Quitting from the Dock closes the entire process, not just one window — use this only when you want the app completely shut down.
The red close button sits next to a yellow minimize button and a green maximize button. All three are in the title bar at the very top of the window. Hovering over them reveals what each does. The red button closes only that single window; if the app has other windows open, those stay on screen.
If a window will not close, the app may be waiting for you to save a document or respond to a prompt. Look for a dialog box behind the window or check whether the title bar shows a dot next to the filename — that dot means unsaved changes. Save the file or click "Don't Save" before trying to close again.
Key Takeaways
- Click the red circle button in the top-left corner of any window to close just that window while keeping the app running.
- Press Command+W as a keyboard shortcut to close the active window without moving your hands from the keyboard.
- Right-click the app's icon in the Dock and select "Quit" to close the entire process and all its windows at once.
- A dot next to the filename in the title bar means unsaved changes — save or discard them before the window will close.
- Closing a window is different from quitting an app; closing leaves the app running in the background.
Why closing a window does not quit the app
On a Mac, closing a window and quitting an process are two separate actions. When you close a window, the app keeps running in the background. You can see this in the Dock — the app's icon stays there with a dot underneath it, showing the app is still active. This is different from Windows, where closing the last window usually quits the app.
This design lets you close a document or window while keeping the app ready to open a new one. For example, you can close a Safari window but keep Safari running so you can open a new tab or window without waiting for the app to launch again. To fully shut down a Mac app, you must quit it — either by clicking the red button when it is the last window, or by using Command+Q.
Using Command+W and other keyboard shortcuts
Command+W closes the active window — the one you are currently using or looking at. This works in almost every Mac app: Safari, Mail, Finder, Word, Chrome, and others. If you have multiple windows open in the same app, Command+W closes only the one in front.
Command+Q quits the entire app and closes all its windows at once. This is faster than closing windows one by one. Command+Tab switches between open apps, and Command+` (the backtick key, usually top-left of your keyboard) switches between windows within the same app.
These shortcuts work the same way across macOS, so learning them once saves time in every app you use. Write them down or practice them a few times until they become automatic.
What to do if a window is stuck and will not close
If clicking the red button does nothing or Command+W does not work, the app is usually waiting for a response. Check the entire screen for a dialog box — it might be hidden behind the main window or off to the side. Common prompts ask whether you want to save changes, confirm an action, or enter a password. Click the button the dialog is asking for, then try closing the window again.
If you cannot find a dialog, try force-quitting the app. Press Command+Option+Escape to open the Force Quit window, select the stuck app from the list, and click "Force Quit". This closes the app and all its windows when ready, but you will lose any unsaved work in that app. Use force quit only when the normal close and quit methods do not work.
After force-quitting, the app is completely shut down. You can open it again normally. If the same app keeps getting stuck, the problem may be with that specific app — try updating it or reinstalling it.
Closing windows in full-screen mode
When an app is in full-screen mode, the close button is still in the top-left corner, but you may need to move your mouse to the top of the screen to see it. On newer Macs, the title bar hides automatically when you are not using it. Move your cursor to the very top of the screen and the title bar appears, showing the red close button.
You can also press Command+W or Command+Q in full-screen mode — these shortcuts work the same way. Pressing the Escape key exits full-screen mode and returns the window to normal size, but does not close it.
Closing multiple windows at once
To close all windows in an app at once, use Command+Q to quit the app. This closes every window that app has open. If you want to close multiple windows but keep the app running, you must close them one at a time using the red button or Command+W.
Some apps, like Safari, let you close all windows except one by right-clicking a tab and selecting an option, but this varies by app. The most reliable method is to close each window individually or quit the app entirely.
Frequently Asked Questions
What is the difference between closing a window and quitting an app?
Closing a window shuts down that single document or tab while the app stays running in the background. Quitting an app closes all its windows and stops the app completely. You can see whether an app is still running by looking at the Dock — a dot under the icon means the app is running.
Can I close a window without saving my work?
Yes. When you try to close a window with unsaved changes, a dialog appears asking whether you want to save, discard, or cancel. Click "Don't Save" to close without saving. Be careful — you cannot undo this action once the window is closed.
Why does my Mac app not respond when I try to close it?
The app may be waiting for a response to a dialog, processing a large file, or frozen. Look for a hidden dialog box first. If you cannot find one, use Command+Option+Escape to force-quit the app. You will lose unsaved work, but the app will close.
Does closing a window on Mac delete my files?
No. Closing a window closes only that document in the app. Your file stays saved on your hard drive. If you made changes and did not save them, those changes are lost, but the original file remains.
Can I close a window using the trackpad?
Yes. Click the red button in the top-left corner using your trackpad the same way you would with a mouse. You can also use Command+W, which works with the keyboard on any Mac.