If an app on your Mac is frozen, unresponsive, or consuming too much CPU, you can force quit it by pressing Command+Option+Escape to open the Force Quit window, or by using the kill command in Terminal. The Terminal method gives you more control, letting you target specific processes by name or PID, and is especially useful for background processes that don’t appear in the Force Quit window.
What Is a Process on a Mac?
Every program running on your Mac—whether it’s Safari, a background helper, or the Finder itself—is made up of one or more processes. Each process has a unique Process ID (PID), a number that the operating system uses to track it. When an app becomes unresponsive, it’s usually because a process is stuck or using too many resources.
The macOS system manages processes automatically, but sometimes you need to step in. The built-in tools for this are:
- Force Quit window – a simple graphical interface for quitting user-facing apps.
- Activity Monitor – shows all processes and lets you quit them individually.
- Terminal – the command-line interface with powerful commands like
kill,pkill, andkillall.
Why Would You Need to Kill a Process?
You might need to kill a process when an app stops responding, when a background process is using excessive CPU or memory, or when an app won’t quit normally. Common culprits include:
- A web browser with many tabs that freezes.
- A video editor that crashes during export.
- A background updater that runs constantly.
- A process left over after an app has been quit.
Killing a process is a forceful action—the app won’t get a chance to save its state, so you may lose unsaved work. It should be a last resort after trying to quit normally (Command+Q) or via the app’s menu.
How to Kill a Process Using the Force Quit Window
This is the safest and easiest method for most users. It works for apps that appear in the Dock or have a window.
- Press Command+Option+Escape (or click the Apple menu and choose Force Quit).
- In the Force Quit window, select the app you want to quit.
- Click the Force Quit button.
- Confirm if prompted.
If the app is completely frozen, this window may still respond because it’s part of the system, not the app. If Finder is unresponsive, you can relaunch it from this same window—select Finder and click Relaunch.
How to Kill a Process Using Terminal
Terminal gives you precise control. Open Terminal from Applications > Utilities (or search with Spotlight). Here are the main commands:
Find the Process ID (PID)
Before killing, you need to know the PID or the exact process name. Use the ps command to list processes:
ps aux | grep -i "appname"
This shows a list of processes matching “appname” (case-insensitive). The second column is the PID. For example, to find a stuck Google Chrome helper:
ps aux | grep -i chrome
Kill by PID
Once you have the PID, use the kill command:
kill 1234
Replace 1234 with the actual PID. This sends a graceful termination signal (SIGTERM), asking the process to close. If it doesn’t respond within a few seconds, force it:
kill -9 1234
The -9 flag sends SIGKILL, which instantly terminates the process without giving it a chance to clean up.
Kill by Name
If you know the exact name, use pkill or killall:
pkill -i "chrome"
This kills all processes with “chrome” in the name (case-insensitive). To be more precise, use the full name:
killall "Google Chrome"
Note that killall matches the exact process name, which you can see in Activity Monitor. Be careful—killall with no arguments will kill all processes you own, which can crash your session.
How to Choose the Right Method
Your choice depends on the situation:
- Force Quit window – best for a single frozen app that you can see. It’s safe and doesn’t require knowing PIDs.
- Activity Monitor – best for troubleshooting resource hogs. Open Activity Monitor, sort by CPU or Memory, select the process, and click the X button. You can choose to Quit or Force Quit.
- Terminal – best for background processes, multiple related processes, or when the other methods don’t work. It’s also scriptable.
If you’re not sure what a process is, don’t kill it. Some system processes are essential; killing them can cause instability or require a restart.
Common Problems and Solutions
Here are typical issues you might run into:
- “Operation not permitted” – Some system processes are protected. You may need to run the command with
sudo(e.g.,sudo kill 1234), but be extremely careful—you could damage your system. - App relaunches immediately – Some apps have watchdog processes that restart them. You may need to kill all related processes, or disable the app’s login item in System Settings > General > Login Items.
- Killing a process doesn’t fix the problem – If the app keeps freezing, the issue may be deeper—corrupt preferences, insufficient disk space, or a bug in the app. Try restarting your Mac.
- Accidentally killed the wrong process – If you killed a system process, your Mac may become unresponsive. Force restart by holding the power button until it turns off, then turn it back on.
Safety and Precautions
Killing processes can cause data loss and system instability. Always save your work before using these methods. Never kill processes you don’t recognize, especially ones running as root (shown as “root” in the user column of ps). Killing the Finder is safe—it relaunches automatically—but killing WindowServer or kernel_task will crash your graphical interface.
If you’re trying to free up memory, killing an app is not the same as quitting it normally. Quitting normally (Command+Q) lets the app save state and release resources cleanly. Force quitting should be reserved for truly stuck apps.
Alternatives to Killing Processes
Before resorting to force-quitting, try these gentler approaches:
- Quit normally – Use Command+Q or the app’s File menu.
- Restart the app – Sometimes a simple relaunch fixes the issue.
- Restart your Mac – This clears all processes and often resolves temporary glitches.
- Check for updates – An outdated app may have bugs that are fixed in a newer version.
- Free up disk space – Low storage can cause apps to hang.
Frequently Asked Questions
What is the difference between kill and kill -9?
kill sends SIGTERM, a polite request to terminate. The process can catch it, save data, and exit cleanly. kill -9 sends SIGKILL, which the system enforces immediately—the process cannot ignore it, but it also cannot clean up. Use kill first, wait a few seconds, then use kill -9 if needed.
How do I force quit an app without the Force Quit window?
If the Force Quit window is also unresponsive, open Terminal and use pkill with the app name, or find the PID with ps aux | grep and then kill -9 PID. You can also restart your Mac by holding the power button if the system is completely frozen.
Can I kill a process on my Mac from my iPhone?
No, not directly. You can use Screen Sharing (if enabled) to connect to your Mac from your iPhone and then open Terminal or Activity Monitor remotely. This requires both devices to be on the same network and the Mac to have Remote Management enabled in System Settings > General > Sharing.
Is it safe to kill all processes with a certain name?
Only if you’re sure that name belongs exclusively to the app you want to close. For example, killall "Google Chrome" will close all Chrome windows and helpers. But be careful: some names are generic, like mdworker (Spotlight indexing) or nsurlsessiond (network). Killing those can cause temporary system slowdowns.
Why does my Mac say “Application Not Responding”?
That message appears when the app’s main thread is blocked and it can’t process user input. It often happens due to a heavy operation, a bug, or a resource shortage. You can wait a few seconds, or force quit as described. If it happens frequently, check the app’s memory usage in Activity Monitor and consider updating or reinstalling the app.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- DisplayPort vs HDMI: Which Cable Should You Use?
- Soundbar vs 2.1 Speaker System: Which Is Better?
- Mouse Moving on Its Own? Causes & Fixes
- Slack Channels for Construction Projects: Setup Guide
- Surface Won’t Turn On: Quick Fixes1.8 h
- Survive Lava for Brainrot Tier List170 points