The fastest way to close a program on Mac
To close a program on Mac, press Command + Q while the program is open and in focus. This is the standard keyboard shortcut that works in almost every Mac application. The program will quit immediately, though most apps will prompt you to save any unsaved work before closing.
If you prefer using the menu, click the program name in the top menu bar (next to the Apple logo), then select "Quit [Program Name]" from the dropdown. This does the same thing as Command + Q and is useful if you want to see the option written out.
Both methods are clean exits — they tell the program to shut down properly rather than forcing it to stop. This matters because a proper quit gives the program a chance to save temporary files and close connections to servers or other programs.
Key Takeaways
- Command + Q closes the active program and is the standard method on Mac.
- Most programs will ask you to save unsaved work before quitting, giving you a chance to prevent data loss.
- Force Quit (Command + Option + Escape) stops a frozen program but should only be used when a program is not responding.
- Closing a program is different from closing a window — closing the last window of some programs will quit the entire application, while others stay open in the background.
When a program is frozen and won't respond
If a program stops responding and Command + Q does not work, use Force Quit. Press Command + Option + Escape to open the Force Quit Applications window. Select the program that is not responding and click "Force Quit".
Force Quit stops the program immediately without saving. Use it only when a program is truly frozen — if you use it on a working program, you will lose any unsaved changes. After force quitting, the program closes completely and you can reopen it fresh.
If Force Quit itself does not open, restart your Mac by holding the power button for 10 seconds, then press it again to turn it back on. This is a last resort, but it will close everything.
The difference between closing a window and closing a program
On Mac, closing the window in the top-left corner (the red circle) closes that window but may not close the entire program. Many Mac applications stay open in the background even when all their windows are closed. You will see the program name still in the menu bar at the top of the screen.
To fully close the program, use Command + Q or the Quit option in the menu. If you only close the window and the program is still running in the background, it will use a small amount of memory and may continue checking for notifications or updates.
Some programs, like Mail or Messages, are designed to stay open in the background so they can receive new messages. Others, like Preview or TextEdit, do not need to stay open. There is no harm in leaving a program open in the background if you plan to use it again soon.
How to see which programs are currently running
To see all open programs, look at the menu bar at the top of your screen. Any program with a dot underneath its icon is currently running. You can also press Command + Tab to see a list of all open programs and switch between them.
If you want a more detailed view, open Activity Monitor by pressing Command + Space, typing "Activity Monitor", and pressing Enter. This shows every program running on your Mac, how much memory each one is using, and how much processing power it needs. You can select any program and click the X button to force quit it, though this is the same as using Command + Option + Escape.
Programs that stay open even after you close their windows
Some Mac programs are designed to keep running in the background. Mail, Messages, Slack, Discord, and Spotify are common examples — they stay open so they can receive notifications and updates even when you are not actively using them. You will see their icons in the menu bar at the top of the screen.
If you want to fully close one of these programs, you still use Command + Q. The program will quit and stop running in the background. The next time you open it, it will start fresh. If you want a program to stop running in the background but still be easy to reopen, closing its window (not quitting it) is usually enough — the program will stay in your dock or Applications folder and you can click it to bring it back.
What happens to your work when you close a program
When you close a program using Command + Q, most applications will show a dialog box asking if you want to save changes before quitting. If you click "Don't Save", any work you did since the last save will be lost. If you click "Save", the program will save your work and then close.
Some programs, like Google Chrome or Microsoft Word, have autosave features that save your work automatically. Even if you force quit one of these programs without clicking Save, your work may still be there when you reopen it. However, autosave is not may provide — it depends on the program and whether you were connected to the internet.
To be safe, manually save your work before closing any program. Use Command + S to save in most Mac applications. This ensures your work is stored on your computer and you will not lose it if something goes wrong.
Frequently Asked Questions
Is it bad to force quit programs on my Mac?
Force quitting occasionally is not harmful to your Mac, but doing it regularly can cause problems. Each time you force quit, you lose unsaved work and the program does not get a chance to clean up temporary files. If a program freezes repeatedly, the problem is usually with that program, not your Mac — try updating it or reinstalling it.
Why does my Mac slow down when I have many programs open?
Each open program uses memory and processing power. If you have many programs running at once, your Mac has to divide its resources among them, which can make everything slower. Closing programs you are not using will free up memory and speed things up. Check Activity Monitor to see which programs are using the most resources.
Can I close a program without saving my work?
Yes, but you will lose any changes you made since the last save. When you try to quit, most programs will ask you to confirm. If you click "Don't Save", the program closes and your unsaved work is gone. Always save before closing if you want to keep your work.
What is the difference between closing and restarting a program?
Closing a program (Command + Q) shuts it down completely. Restarting means closing it and then opening it again. Restarting can fix problems because it clears the program's memory and resets it to a fresh state. If a program is behaving strangely, closing it and reopening it often solves the problem.
Do I need to close programs before shutting down my Mac?
No. When you shut down your Mac, all programs close automatically. However, if you have unsaved work, your Mac will ask you to save it before shutting down. Closing programs before shutdown is not necessary, but it is a good habit if you want to make sure nothing is left unsaved.