Why is python3 (or Python) using so much CPU on my Mac?
Last reviewed: 19 November 2026. Apple's python3 and a Homebrew Python checked on macOS 26.3.1.
A python3 process is the Python interpreter running a script, so the useful question is which script and what started it: a tool you ran, a package install, a notebook, a local server or a helper from another app. Its command line names the script and its parent process shows who launched it. Many Python installations run as a process named Python rather than python3, so search Activity Monitor for both.
python3 at a glance
| python3 | |
|---|---|
| Made by | Python Software Foundation (Python); Apple ships a copy with the developer tools |
| Type | Python interpreter process |
| Location | /usr/bin/python3 |
| Runs as | your user |
| Can you quit it? | Yes, but the script it is running stops. Find out what it is first. |
What is python3?
Python's documentation explains that recent macOS includes /usr/bin/python3, which links to a version provided by and for Xcode or the Command Line Tools (Python 3.9.6 on the Mac used for checking), and that you should not modify or delete it. Python from python.org installs into /Library/Frameworks/Python.framework, and Homebrew installs its own versions.
Framework builds start the interpreter from a Python.app inside the framework, so Activity Monitor shows them as Python; on the Mac used for checking, Homebrew's Python 3.14 ran as .../Python.framework/Versions/3.14/Resources/Python.app/Contents/MacOS/Python. Other builds show as python3 or a versioned name such as python3.12.
Is python3 safe?
The interpreter is safe; what matters is the script. A Python process you cannot link to a tool, project or app you use deserves a closer look at its command line and parent.
Why does python3 use so much CPU and memory?
- Data and machine learning work. Scripts and notebooks that process data, train models or run simulations can use every core for as long as they run.
- Installing packages.
pip installmay compile C extensions with clang when no prebuilt wheel exists, which shows as python plus several clang processes. - Large datasets in memory. Loading big files into memory, for example with pandas or NumPy, makes a single Python process hold gigabytes.
- Background tools and servers. Local web servers, language servers in editors, file watchers and automation scripts started at login run in Python and can loop or poll.
How much CPU is normal for python3?
A script doing heavy work uses 100% of one core, or more if it uses several threads or processes, until it finishes.
Python processes that stay at 0% CPU are waiting for input or events; editor language servers commonly sit idle like this.
How do you find out what a Python process is running?
- Search for both names. In Activity Monitor, search for
pythonto match python3, python3.x and Python. - Read its command line. Run
ps -o pid,ppid,args -p <PID>. The first argument after the interpreter is the script or module, for example-m http.server. - Trace who started it. Run
ps -o comm= -p <PPID>with the parent PID, andlsof -a -p <PID> -d cwdto see its working folder. - See what it is doing. Run
sample <PID> 5in Terminal to take a five-second sample of its call stacks; native libraries and long loops show up in the report. - Stop it at the source. Press Control-C in its Terminal window, stop the notebook kernel, or quit the app or editor that started it.
When should you worry about python3?
A Python process that starts at login, runs from a hidden folder in your home directory and sends network traffic, with no tool you recognize as its parent, should be investigated. Check ~/Library/LaunchAgents for a job that runs it.
Do not delete Apple's /usr/bin/python3; Python's documentation notes it is Apple-controlled and used by Apple and third-party software.
How do you check python3 in Activity Monitor and Terminal?
Open Activity Monitor (Applications > Utilities), and type python3 in the search field. The CPU tab shows its % CPU. The Memory tab shows its Memory. Double-click the row for its parent process, memory details and open files.
In Terminal, the first command lists every python3 process with its PID, user, CPU and memory (RSS is resident memory in kilobytes).
ps -axo pid,user,%cpu,%mem,rss,command | grep -F 'python3' | grep -v grep
How can Thrum help with python3?
Thrum keeps a live CPU graph in the menu bar. One click shows the eight processes using the most CPU, so you can see when python3 is among them and how much it takes. An optional alert tells you when a process stays above a CPU level you choose (50 to 200% of one core) for 1 to 10 minutes. Click python3 in the list for its PID, threads and memory, and Quit or Force Quit it after a confirmation.
Thrum is $4.99 once with a 14-day free trial and no account. It requires macOS 26 Tahoe on Apple silicon or Intel.
Questions about python3
Why does Activity Monitor show Python instead of python3?
Framework builds of Python, such as Homebrew's and python.org's, run the interpreter from a Python.app bundle, so the process is named Python.
Which python3 is /usr/bin/python3?
It runs the Python that comes with Xcode or the Command Line Tools. /usr/bin/python3 --version prints its version, and which -a python3 lists every python3 on your PATH.
Sources
- Python documentation: Using Python on macOS
- sample(1) man page: run man sample in Terminal