The fastest way to close a stuck program
If a program on your Mac stops responding or you just want to shut it down, the quickest method is Command + Q while the program is in focus. This is the standard keyboard shortcut that works in almost every Mac process. If that does not work — meaning the program is frozen and will not respond to any input — use Command + Option + Esc to open the Force Quit Applications window, select the frozen program from the list, and click "Force Quit".
Force quitting closes the program when ready without saving any unsaved work, so use it only when the program truly will not respond. For programs that are running normally, Command + Q is the right choice because it gives the process a chance to save your work and close cleanly.
Key Takeaways
- Use Command + Q to close any program normally — this is the standard Mac shortcut and works in nearly every process.
- Use Command + Option + Esc if a program freezes or stops responding, then select the program and click Force Quit.
- Force quitting closes the program when ready without saving, so only use it when the program will not respond to normal commands.
- You can also close a program by clicking the red close button in the top-left corner of its window, though this does not always fully quit the program.
- Some programs continue running in the background even after you close their window — check the menu bar or Activity Monitor if you want to make sure they are completely shut down.
Using the menu bar to close a program
Every Mac program has a menu bar at the top of the screen when that program is active. The leftmost menu item is always the program name — for example, "Safari" or "Mail". Click on that menu, and you will see a "Quit [Program Name]" option near the top. This is another reliable way to close a program normally, and it is equivalent to using Command + Q.
This method is useful if you prefer using the mouse, or if you want to be certain you are quitting the right program when you have multiple windows open. The keyboard shortcut is faster once you get used to it, but both methods do the same thing.
Closing a frozen program with Force Quit
When a program stops responding to clicks or keyboard input, the normal close methods will not work. Press Command + Option + Esc to open the Force Quit Applications window. You will see a list of all open programs. Find the one that is frozen — it will usually have the word "not responding" next to its name.
Click on the frozen program to select it, then click the "Force Quit" button in the bottom right. The program will close when ready. This does not save any unsaved work in that program, so you will lose any changes you made since the last time you saved. Use this method only when the program will not respond to normal commands.
The difference between closing a window and quitting a program
On a Mac, closing a window (by clicking the red button in the top-left corner) does not always quit the program. Many applications continue running in the background even after you close their last window. You can tell because the program name still appears in the menu bar, or because it still shows up in the Dock at the bottom of the screen with a dot underneath its icon.
If you want to completely shut down a program, use Command + Q or the Quit option from the menu. This ensures the program is no longer using your computer's memory or processing power. This matters most for programs you do not plan to use again soon, or if your Mac is running slowly and you want to free up resources.
Checking what is still running in Activity Monitor
If you are not sure whether a program is still running after you close it, open Activity Monitor. You can find it by pressing Command + Space to open Spotlight Search, typing "Activity Monitor", and pressing Enter. Activity Monitor shows every program and background process currently running on your Mac.
Look for the program name in the list. If it is there, the program is still running. If you want to force it to close from Activity Monitor, select it and click the "X" button in the top-left corner, then click "Force Quit" in the dialog that appears. This is another way to force quit a program, though Command + Option + Esc is usually faster.
Why a program might freeze or stop responding
Programs freeze for many reasons: a bug in the software, a corrupted file you opened, insufficient memory on your Mac, or a conflict with another program. If a program freezes regularly, it may be outdated. Check the App Store or the program's website to see if a newer version is available — updates often fix bugs that cause freezing.
If a program freezes only when you open a specific file, that file may be corrupted. Try opening a different file in the same program to see if the problem happens again. If the program works fine with other files, the issue is with that particular file, not the program itself.
Restarting your Mac if nothing will close
In rare cases, a problem is so severe that even Force Quit will not work and programs will not close. If this happens, restart your Mac. Click the Apple menu in the top-left corner, select "Restart", and click "Restart" again in the dialog that appears. Your Mac will shut down and start up again, which closes all programs and clears out temporary problems.
If your Mac will not respond even to the restart command, hold down the power button on your Mac for about 10 seconds until it shuts down completely. Wait a few seconds, then press the power button again to turn it back on. This is a hard shutdown and should only be used as a last resort, but it will force your Mac to close everything and start fresh.
Frequently Asked Questions
What is the difference between Command + Q and Command + Option + Esc?
Command + Q tells a program to quit normally, giving it a chance to save your work and close cleanly. Command + Option + Esc force quits a program that is not responding, closing it when ready without saving. Use Command + Q for programs that are working normally, and Command + Option + Esc only when a program is frozen.
Will closing a program delete my files?
Closing a program does not delete any files on your Mac. However, if you had unsaved work open in that program, you will lose those changes. The program itself and all your saved documents remain on your computer. Force quitting is more likely to lose unsaved work because it does not give the program a chance to save.
Why does a program keep running after I close its window?
Many Mac programs are designed to keep running in the background even when their window is closed. This lets them respond quickly when you open them again, or continue doing work like checking email or downloading files. To completely stop the program, use Command + Q or select Quit from the menu bar.
Can I close multiple programs at once?
You can force quit multiple programs using the Force Quit Applications window. Press Command + Option + Esc, then hold Shift and click on each program you want to close, then click Force Quit. For normal closing, you need to quit each program separately using Command + Q or the menu.
What should I do if a program crashes instead of closing?
If a program crashes, it closes on its own and may show an error message. You do not need to do anything — the program is already shut down. If the same program crashes repeatedly, check for updates or try reinstalling it. Crashes usually mean the program has a bug or is not compatible with your version of macOS.