Mac Random Shutdowns: How to Fix Them
In this article
Random shutdowns on a Mac usually point to a power, thermal, or software problem rather than a single "shutdown" setting. The fastest first move is to note exactly when the shutdowns happen (under heavy load, on battery, after waking from sleep), then work through the checks below from safest to most invasive. Most people fix the issue by resetting the SMC on Intel Macs, checking battery health, or finding a runaway process in Activity Monitor. Apple silicon Macs (M1 and later) do not have an SMC you can reset, so those steps are skipped there.
What You'll Need
- Your Mac and its power adapter (use the original charger if possible)
- About 30–60 minutes, since some checks require a restart
- macOS updated to the latest version available for your model
- A backup of important files before any reset or reinstall step
Step-by-Step
- Write down the pattern. Before changing anything, note whether shutdowns happen on battery only, when plugged in, during video calls or games, or right after waking. This tells you whether to focus on power, heat, or software. Menu labels can differ slightly by macOS version and region, so treat the paths below as a guide.
- Check for a thermal cause. Put the Mac on a hard, flat surface and make sure vents are not blocked. If it shuts down only under heavy load, heat is likely. Open Activity Monitor (Applications > Utilities) and look at the CPU tab for any process pinned near 100%. Quit anything you do not recognise, then test again.
- Run Apple Diagnostics. Shut down, disconnect external devices, then hold the power button (Apple silicon) or the D key (Intel) while starting up. Apple Diagnostics reports hardware codes if it finds a fault. If it returns a reference code, note it for Apple Support.
- Check battery condition. Open System Settings and look for the Battery section, then Battery Health. A battery marked "Service Recommended" or "Replace Soon" can cause sudden shutdowns, especially on battery. On older Intel Macs the same information is under System Preferences > Battery.
- Reset the SMC (Intel Macs only). Shut down and unplug the power adapter. On a Mac with a non-removable battery, press Shift+Control+Option on the left side and the power button together for about 10 seconds, then release and plug back in. On a Mac with a removable battery, remove it, hold the power button for 5 seconds, reinstall, and start up. Apple silicon Macs skip this step entirely.
- Reset NVRAM (Intel Macs only). Shut down, then start up while holding Option+Command+P+R until you hear the startup sound twice or see the Apple logo appear and disappear twice. This clears stored startup settings that can occasionally cause odd behaviour.
- Boot in Safe Mode. On Apple silicon, shut down and hold the power button until "Loading startup options" appears, choose your disk, then hold Shift and click "Continue in Safe Mode." On Intel, hold Shift during startup. If the Mac stays stable in Safe Mode, a login item or third-party extension is the likely culprit.
- Remove suspicious login items and extensions. Open System Settings > General > Login Items and disable anything you do not need at startup. Also check for kernel extensions or system extensions from third-party utilities and remove ones you no longer use.
- Update macOS and firmware. Open System Settings > General > Software Update and install everything offered. Firmware updates that ship with macOS often fix power-management bugs.
- Test with a different charger and cable. A failing adapter or a worn cable can cause shutdowns under load. Use the original charger and, if possible, a different outlet.
- Reinstall macOS as a last resort. Back up first with Time Machine. On Apple silicon, use macOS Recovery (hold the power button at startup) and choose Reinstall macOS. On Intel, restart holding Command+R. This keeps your files but replaces system software; it does not fix failing hardware.
Common Mistakes
- Resetting the SMC on an Apple silicon Mac. There is no SMC to reset on M-series chips, so the key combination does nothing.
- Ignoring the pattern. Shutdowns only on battery point to the battery; shutdowns under load point to heat or the power adapter.
- Reinstalling macOS before checking battery health and Apple Diagnostics, which wastes hours and may not fix a hardware fault.
- Using a third-party charger with the wrong wattage, which can cause shutdowns under heavy load.
- Skipping the backup before reinstalling or resetting anything.
Tips
- Keep at least 10–15% free disk space; a nearly full drive can slow the system and trigger odd behaviour.
- Use a hard, flat surface and avoid soft bedding or laps that block vents.
- Note the exact time of each shutdown so you can match it to a log entry in Console if you need to dig deeper.
- If the Mac shuts down only when unplugged, test with the charger connected for a day to confirm the battery is the cause.
Troubleshooting
If the Mac still shuts down after all of the above, open Console (Applications > Utilities) and look for shutdown causes around the time of the event; entries mentioning thermal or power can confirm a hardware issue. If Apple Diagnostics returns a code, contact Apple Support or an authorised service provider rather than continuing to reinstall software. If the Mac shuts down during the reinstall itself, stop and treat it as a hardware fault. If Safe Mode is stable but normal startup is not, disable all login items and re-enable them one at a time to find the culprit. If the shutdowns started after a specific app install, remove that app and test again.
Frequently Asked Questions
Why does my Mac shut down randomly?
The most common causes are a failing battery, overheating, a faulty power adapter, or a software or login-item conflict. Apple Diagnostics and Battery Health are the quickest ways to narrow it down.
Can I reset the SMC on an M1 or M2 Mac?
No. Apple silicon Macs do not have an SMC you can reset. Restarting the Mac is the equivalent first step, followed by the other checks above.
Does Safe Mode fix random shutdowns permanently?
No, but it isolates the cause. If the Mac is stable in Safe Mode, a login item or third-party extension is likely responsible, and you can remove it.
Will reinstalling macOS delete my files?
A standard reinstall keeps your files and settings, but you should still back up with Time Machine first in case something goes wrong.
How do I know if my battery is the problem?
Check Battery Health in System Settings. A "Service Recommended" status, or shutdowns that happen only on battery, strongly suggest the battery needs attention.
When should I contact Apple Support?
If Apple Diagnostics returns a reference code, if the Mac shuts down during a reinstall, or if it still shuts down after all software checks, contact Apple Support or an authorised service provider.