kernel_task using a lot of CPU
Activity Monitor shows kernel_task at 300%, 600% or more, and the Mac crawls. It looks like the culprit. It is not.
The short answer
kernel_task is the core of macOS. When the Mac gets too hot, macOS makes kernel_task take processor time so other apps get less of it and the processor cools down. The heat comes from something else: find that, and kernel_task calms down by itself.
Why it happens
kernel_task does the system's own work: memory, files, the network, drivers. That rarely takes much. A high figure almost always means the Mac is too warm and macOS is holding the processor back on purpose. The heat comes from:
- Something else working hard: a build, a virtual machine like Docker, a video export, a browser tab with a game.
- Heat that cannot get out: a bed, sofa or lap under the Mac, dust in the vents, a warm room or direct sun.
- Extra load on a laptop: charging while it works hard, or an external display with the lid closed.
What helps
- In Activity Monitor's CPU tab, sorted by % CPU, look at the line under kernel_task: that is usually what heats the Mac.
- Quit it or let it finish. If it is a virtual machine, give it fewer cores in its own settings.
- Give the Mac a hard, flat surface and clear vents.
MyMacFriend's Health tab does the first step for you: it says when the Mac runs hot, names what heats it, even inside a virtual machine, and what helps.
Can I quit kernel_task?
No. It is part of the running system. It cannot be quit, and stopping it would not cool the Mac anyway.