Every guide lists its sources, tips, and warnings. Read our editorial policy.

How to Fix kernel_task Using 300% CPU on a MacBook With a Swollen Battery

kernel_task at 300% is not computing anything. macOS inflates it to occupy the CPU so real work cannot run and the chip cools. The heat source is the problem. On an older MacBook the battery is the usual one.

Download the full guide (PDF) Print checklist
Share
Set 52runoob as a preferred source on Google

Activity Monitor shows `kernel_task` pinned at 300% or more, the fans run flat out, and everything feels slow. The reported CPU temperature is not high, which confuses people. That is the point of the mechanism: macOS parks fake load on kernel_task so your apps get no cycles and the chip sheds heat. Something produces that heat, and on an old MacBook it is often the battery. How to clean a laptop covers the dust half.

Quick steps

  1. Confirm the top process is really kernel_task
  2. Read % CPU and CPU Time side by side
  3. Run pmset -g thermlog to watch the cap
  4. Check battery cycle count and condition
  5. Look for a bulge in the bottom case
  6. Replace the battery, never the kext

Things you'll need

  • Activity Monitor and Terminal on the Mac
  • A flat, hard table to check for a rocking chassis
  • The exact model identifier from System Information
  • A service appointment or a genuine replacement battery

Step-by-step

Method 1 of 3

Method 1 of 3: Confirm It Is Thermal Throttling

PDF
Step 1: Read the Process Name Exactly Download image

Step 1: Read the Process Name Exactly

Open Activity Monitor, choose All Processes from the View menu, and sort by % CPU. The top entry should read `kernel_task` with a small Apple icon. Anything else at the top is ordinary software and a different problem.

Step 2: Compare % CPU Against CPU Time Download image

Step 2: Compare % CPU Against CPU Time

Add the CPU Time column from View → Columns. A process doing real work raises both numbers. kernel_task at 400% with CPU time crawling is parked load, not computation. That single difference is the whole diagnosis.

Step 3: Watch the Thermal Log Live Download image

Step 3: Watch the Thermal Log Live

Run `pmset -g thermlog` in Terminal and leave it running. It prints CPU_Scheduler_Limit and CPU_Available_CPUs each time thermal pressure changes. A limit that drops below 100 means the system is withholding cycles on purpose.

Step 4: Read the Thermal Level Directly Download image

Step 4: Read the Thermal Level Directly

Run `sysctl machdep.xcpm.cpu_thermal_level`. A value above 0 means the CPU is being held back by thermal pressure. If this key returns nothing at all, you are on Apple Silicon and this check does not apply, so use the thermal log instead.

Source: Apple Support — If your Mac restarted because of a problem · See also Apple Support — Mac User Guide · Read next: Clean a Laptop

Step 5: Check the Fan and the Sensors Download image

Step 5: Check the Fan and the Sensors

Run `sudo powermetrics --samplers smc -n 1` to read fan RPM and sensor temperatures once. Fans near maximum against a modest CPU reading is the signature of this failure. Note both numbers before you change anything.

Step 6: Rule Out a Runaway Process First Download image

Step 6: Rule Out a Runaway Process First

If a browser tab or an indexing job sits at 200% on its own, fix that instead. kernel_task rises in response to heat, so a real CPU hog upstream looks almost identical. Quit it and watch whether kernel_task falls.

Method 2 of 3

Method 2 of 3: Find the Heat Source

PDF
Step 7: Pull the Battery Numbers Download image

Step 7: Pull the Battery Numbers

Run `ioreg -r -c AppleSmartBattery | grep -i cycle` and read CycleCount. Then check Condition in `system_profiler SPPowerDataType`. Service Recommended beside a count over 1000 is your answer. If no count appears, the cell has no gauge.

Step 8: Set the Mac on a Flat Table Download image

Step 8: Set the Mac on a Flat Table

Put it on a hard surface and press the four corners. A MacBook that rocks has a deformed bottom case, and the cause is almost always the cell underneath. This test takes five seconds and settles the question.

Step 9: Run a Finger Along the Trackpad Download image

Step 9: Run a Finger Along the Trackpad

A trackpad that has lost its click, or sits proud of the palm rest, is being pushed from below. Stop pressing hard on it. The switch is not the failure; the cell under it is.

Step 10: Open the Bottom Case and Look Download image

Step 10: Open the Bottom Case and Look

With the right pentalobe driver, remove the screws and lift the case. A swollen cell is visibly domed. Do not unplug anything and do not press the cell to see how soft it is. Look, then close it.

Source: Apple Support — Use Apple Diagnostics to test your Mac · See also Apple Support — Activity Monitor User Guide for Mac · Read next: Clean a Laptop

Step 11: Check the Vents and the Fan Download image

Step 11: Check the Vents and the Fan

Hold a light to the rear vent. A felt-like mat of dust means the fan is moving air through a blocked path. Clean it with short bursts of compressed air, and never let the air spin the fan.

Step 12: Note the Room and the Charger Download image

Step 12: Note the Room and the Charger

Ambient temperature above 35 °C and a 96 W charger both add heat. Test on battery in a cool room before concluding the hardware is failing. If the number drops there, your environment is part of the cause.

Method 3 of 3

Method 3 of 3: Replace the Battery, Not the Kext

PDF
Step 13: Decide It Is a Battery Job Download image

Step 13: Decide It Is a Battery Job

A bulging case, a dead trackpad, and a service recommendation together mean one repair. Book it with Apple or an authorized provider and give them the model identifier. Do not order a battery by screen size alone.

Step 14: Stop Charging It in the Meantime Download image

Step 14: Stop Charging It in the Meantime

Run it on battery, keep it off soft surfaces, and do not leave it plugged in overnight. A swollen cell that keeps taking charge keeps expanding. If a seam is visibly open, stop using the Mac entirely.

Step 15: Refuse the Kext Deletion Advice Download image

Step 15: Refuse the Kext Deletion Advice

Guides tell you to remove a model plist from `/System/Library/Extensions/IOPlatformPluginFamily.kext` so kernel_task drops. That disables the mechanism protecting the chip. The Mac then runs hotter and throttles harder under real work.

Step 16: Understand What That Edit Costs Download image

Step 16: Understand What That Edit Costs

Reaching that folder means disabling System Integrity Protection first. You trade a working thermal system and a protected boot volume for a number in Activity Monitor that looks better. It is self-harm with extra steps.

Source: Apple Support — Check the battery status of your Mac · See also Apple Support — Partition a physical disk in Disk Utility · Read next: Clean a Laptop

Step 17: Do the Cheap Part Yourself Download image

Step 17: Do the Cheap Part Yourself

Cleaning the fan and the vent costs nothing and can drop the load for a while. Replacing the battery fixes it properly. Patching software fixes neither, and the heat keeps damaging the board underneath.

Step 18: Stop When the Case Is Deforming Download image

Step 18: Stop When the Case Is Deforming

If the bottom case bulges, the lid will not close flat, or the trackpad has stopped clicking, stop using it and get it serviced. A punctured lithium cell is a fire, not a warranty argument. That is where this ends.

Tips

  • kernel_task CPU time barely moves while % CPU sits at 400. Real work raises both numbers.
  • A MacBook that rocks on a flat desk is telling you the battery has expanded. Believe it.
  • Charging a swollen battery adds heat. Run it on battery while you wait for the repair.
  • The model identifier matters. Apple prices and stocks battery service by that string.

Warnings

  • A swollen lithium battery is a fire risk. Do not press it, puncture it, or keep charging it.
  • Deleting the model plist in IOPlatformPluginFamily.kext disables thermal management, not the symptom.
  • Disabling System Integrity Protection to edit that kext leaves the Mac less protected afterwards.
  • Third-party batteries often report no temperature sensor, and the Mac then throttles harder.

Frequently asked questions

Is kernel_task malware?

No. It is the kernel's own task. That CPU number is a deliberate load, not a computation on your behalf.

Will a cooling pad fix it?

Only if airflow is the whole problem. It does nothing for a battery that is pushing the case up from inside.

Why did it start right after a macOS update?

Updates change thermal thresholds. A battery that was marginal in June becomes visible in September.

Can I just kill kernel_task?

No. It cannot be killed. Sleeping the machine is the only thing that resets the load, and it comes back.

References

  1. Apple Support — Mac. https://support.apple.com/en-us/mac
  2. Apple Support — Activity Monitor User Guide. https://support.apple.com/guide/activity-monitor/welcome/mac
  3. Apple Support — Mac User Guide. https://support.apple.com/guide/mac-help/welcome/mac
  4. Apple Support — Terminal User Guide. https://support.apple.com/guide/terminal/welcome/mac

Every guide is reviewed against its sources. See our editorial policy.

Get one fix like this every week

One short email with the most useful new guide and a printable checklist. No spam, unsubscribe anytime.

Reader comments

0 so far

Finished this guide? Tell other readers what worked, what didn't, and what you would change.

Stuck on a step? Tell us your device model and what happened — an editor reads every comment and usually replies within 48 hours.

Be kind and constructive. Comments are published instantly.