Force Quit an Application in Mac OS X
Few things are more frustrating when working on a Mac than a crashed program. Even worse is when a program crashes and stays stuck running on your system. To solve this problem, you’ll need to Force Quit the offending application. Find the method below that suits you the most.
Contents
Steps
Keyboard Shortcuts
- Press .Command + Option + Esc simultaneously. This will open the Force Quit Applications window.
- Command is the button with the looped square pattern (⌘) on it. On pre-2008 Apple keyboards it also had an Apple icon on it. It is in the bottom-left of your keyboard.
- Alt/Option key is located at the bottom-left of your keyboard.
- Esc (Escape) is located at the top-left corner of your keyboard.
- Select the application you want to force quit. If the program has crashed, it will typically say "Not Responding" next to it in this menu.
- Click the button that says "Force Quit". This will forcefully end the program that has crashed.
- Force quit your front-most application. You can force quit your active window by holding down Command + Option + Shift + Esc for three seconds. This will force quit an unresponsive window that you are currently using.
Menu Bar
- Click on either your desktop or a window of any other application.
- Click the Apple icon in the top left of your screen.
- Select "Force Quit" from the menu. This will open the Force Quit Applications window.
- Select the application you want to force quit. If the program has crashed, it will typically say "Not Responding" next to it in this menu.
- Click the button that says "Force Quit". This will forcefully end the program that has crashed.
Dock Contextual Menu
- Hold the Option key and right-click on the application's icon in the Dock. This will open a small list of options, referred to as a contextual menu.
- If you don't have a two button mouse, click and hold the mouse button to open the menu. You can also hold Ctrl and click to open the right-click menu.
- Select Force Quit. This will end the application that you selected in the Dock.
Terminal Commands
- Open the Terminal application. By default, this is in the Utilities folder, located in the Applications folder.
- Sometimes trying to Force Quit an application through the menu doesn't quite work the way you'd expect it to. If a normal Force Quit doesn't work, you may need to use this method to end the program.
- Type "top" and press Enter. The “top” command displays various information about currently running applications, including CPU usage, memory info, and other advanced information.
- Find the program you want to close. Under the column titled "COMMAND", find the name of the application you wish to quit.
- The COMMAND list may use a truncated name for the program. Look for a name that looks similar to the program you are trying to close.
- Find the PID (Process ID). Once you find the name of program, find the number to the immediate left of it, under the PID column. Make a note of the PID number.
- Type "q". This will exit the list of applications and return you to the command line.
- Type "kill ###". Replace the "###" with the number from the PID Column you just located. For example: If you were trying to quit iTunes, and found iTunes to have PID number 3703, you would type "kill 3703".
- If the program does not respond to the “kill” command, type “sudo kill -9 ###”, replacing ### with the PID number.
- Exit the terminal. The application should have quit. Unlike previous versions of the Mac OS, you don't need to restart your computer after force-quitting an application. You can simply relaunch the application and keep on working.
Activity Monitor
- Go to Spotlight, type 'Activity Monitor', and click on the program that appears. Activity Monitor shows all running processes, a more extensive list than 'Force Quit Applications' shows.
- Find and select the application or process that you want to kill in one of the tabs.
- Hit the 'stop' button in the top left. This forces the application to quit.
Tips
- It is not possible to force quit Finder. If you select Finder, the "Force Quit" button will say "Relaunch".
- Before you click "Force Quit", double check that the application is still frozen. Sometimes the application un-freezes while you bring up the "Force Quit" window.
Warnings
- Force quitting a running program can cause you to lose any unsaved changes in that program.
- Pressing the red X will not fully quit some applications, and may not work when the app freezes. Applications that have this behavior are Skype, Safari, and Mail.
Related Articles
- Measure the Capacity of a Mac Battery Using Coconut Battery
- Invert Colors on a Mac
- Stop an Application from Opening at Startup With Mac OS X
- Personalize Your Mac OS X Desktop
- Make a DMG File on a Mac
- Stop Your Mac from Freezing Up