๐Ÿ“ฑ iPhoneiPadFix All Guides โ†’

Mac Keeps Restarting or Crashing? 10 Fixes

As an Amazon Associate we earn from qualifying purchases. This costs you nothing extra and helps keep this site free.

โšก Recommended for This Repair

Tools and accessories matched to this guide.

iFixit Pro Tech Toolkit
64 bits, pro-grade โ€” for serious DIY repair only
Check Price →
99% Isopropyl Alcohol (1 quart)
Required for safe electronics cleaning
Check Price →
iFixit Pro Tech Toolkit
64 bits, pro-grade โ€” for serious DIY repair only
Check Price →
99% Isopropyl Alcohol (1 quart)
Required for safe electronics cleaning
Check Price →

Seeing "Your computer restarted because of a problem" repeatedly, or your Mac freezes and reboots with no warning? These steps fix kernel panics and random restarts on all Mac models including Apple Silicon M1โ€“M4 and Intel.

โšก First Move

Read the crash log before doing anything else: Apple menu โ†’ About This Mac โ†’ More Info โ†’ System Report โ†’ Logs (or open Console app โ†’ Crash Reports). The kernel panic log tells you exactly which driver, extension, or hardware component triggered the crash. This saves hours of blind troubleshooting.

Read the Crash Log

1Find the panic log

Open Finder โ†’ Go โ†’ Go to Folder โ†’ type /Library/Logs/DiagnosticReports/. Look for files named "Kernel_[date].panic" or "Sleep Wake Failure." Open the most recent one in TextEdit. Scan for lines starting with "Backtrace" โ€” these name the process or driver that caused the crash. If you see a third-party app name or a kext (kernel extension) filename, that's your culprit.

Software Fixes

2Update macOS and all apps

System Settings โ†’ General โ†’ Software Update. Install any pending macOS update first โ€” kernel panics introduced by OS updates are usually patched quickly. Then open the App Store โ†’ Updates tab and update all apps. Third-party apps with kernel extensions (security tools, virtualization, audio interfaces) are the most common kernel panic triggers and frequently release compatibility patches after macOS updates.

3Remove recently installed software

If crashes started after installing something new, remove it. Applications with kernel extensions are the main offenders: antivirus software, VPNs, virtualization apps (Parallels, VMware), audio drivers, and backup tools. To fully remove kernel extensions, don't just drag the app to Trash โ€” use the app's official uninstaller or a tool like AppCleaner. Check System Settings โ†’ Privacy & Security โ†’ Extensions for any third-party kernel extensions you don't recognize.

4Boot in Safe Mode to isolate the cause

Apple Silicon: hold Power button at startup until "Loading startup options" appears โ†’ hold Shift โ†’ click "Continue in Safe Mode." Intel: hold Shift immediately after startup chime until login screen. Safe Mode disables all third-party kernel extensions and login items. If your Mac runs stably in Safe Mode for hours, a third-party extension or login item is causing the panic. Identify it from the crash log and remove it.

โš ๏ธ Overheating-triggered panics: Macs throttle heavily when hot, but extreme overheating can cause sudden shutdowns that look like kernel panics. Check Activity Monitor โ†’ CPU tab โ€” if any process is pegged at 100% CPU, it may be cooking the chip. Ensure vents are unobstructed (never use a MacBook on a bed or pillow). Run Apple Diagnostics (hold D at startup) to check for thermal sensor errors (code "PPF" or "NDD").

Hardware Checks

5Run First Aid on the startup disk

Restart into Recovery Mode (hold power on Apple Silicon, hold Cmd+R on Intel) โ†’ Disk Utility โ†’ select Macintosh HD โ†’ First Aid โ†’ Run. File system corruption on the startup volume is a common kernel panic cause, especially after crashes or unexpected power loss. If First Aid finds errors it can't repair, your SSD may be failing.

6Test RAM (Intel Macs)

Faulty RAM is a classic kernel panic cause on Intel Macs. Run Apple Diagnostics (hold D at startup). Error codes starting with "MEM" indicate RAM issues. You can also run an extended memory test via Apple Hardware Test. If RAM errors are confirmed, the RAM module needs replacement. Note: Apple Silicon Macs have unified memory soldered to the chip โ€” it cannot fail independently of the logic board.

7Check for external hardware triggers

Disconnect all external devices: USB hubs, external drives, monitors (use built-in display only), docks, and dongles. If crashes stop, reconnect devices one at a time to identify the problematic one. A malfunctioning USB-C dock that sends bad voltage, a failing external drive, or a third-party monitor with buggy DisplayPort firmware can all trigger kernel panics. This is especially common with cheaper USB-C hubs.

System-Level Resets

8Reset NVRAM/PRAM (Intel) or power cycle (Apple Silicon)

Intel: restart and hold Option+Cmd+P+R for 20 seconds. Apple Silicon: shut down fully, wait 30 seconds, restart. NVRAM stores hardware configuration including sleep settings that can trigger wake-from-sleep panics. A reset clears corrupted hardware state that survives normal restarts.

9Reinstall macOS (preserve data)

Boot into Recovery Mode โ†’ Reinstall macOS. This reinstalls the OS without touching your user data, apps, or settings. It replaces all system files including any corrupted kernel components. Takes 30-60 minutes. If panics persist after a clean OS reinstall with all external hardware disconnected, the issue is hardware-level and needs service.

10Run extended diagnostics and check MRI

Apple Silicon Macs have a built-in diagnostics suite more powerful than the startup D-key test. In Recovery Mode, some models offer "Mac Resource Inspector" (MRI) under the Utilities menu โ€” run the full suite. For Intel Macs, an Apple Authorized Service Provider can run ASD (Apple Service Diagnostic) which performs deeper hardware tests than user-accessible tools. If the Mac has an active AppleCare+ plan, kernel panics caused by hardware defects are covered.

โœ… Sleep wake failure vs kernel panic: "Sleep Wake Failure" panic logs (common on MacBooks) are specifically triggered during sleep/wake cycles โ€” usually caused by a USB-C device keeping the system awake, a problematic app preventing sleep, or a Thunderbolt driver issue. Try: System Settings โ†’ Battery โ†’ disable "Wake for network access" and "Enable Power Nap." These are two distinct issues with different fixes โ€” reading the panic log type first saves time.

๐Ÿ”— Useful Tools

โ†’ MacBook Cooling Stands on Amazon โ†’ Portable SSDs for Mac Time Machine Backup on Amazon โ†’ Quality Powered Thunderbolt Hubs on Amazon

Hardware-level kernel panics?

If panics persist after a clean OS reinstall with no external hardware connected, the logic board, SSD, or RAM needs professional diagnosis. PC Medics of NJ handles Mac kernel panic diagnosis and repair on all models.

๐Ÿ“ž Call 856-914-1074

๐Ÿ›’ Recommended Products

iFixit Pro Tech Toolkit
The #1 repair kit โ€” 64 bits, pro tools, lifetime warranty
Check Price โ†’
Spigen GlasTR Screen Protector
EZ Fit tray โ€” foolproof install, 9H tempered glass 2-pack
Check Price โ†’
Anker 3-in-1 MagSafe Charger
Charge iPhone, Watch & AirPods โ€” one compact cube
Check Price โ†’

Browse All Tools & Parts โ†’ ยท Full Toolkit Comparison โ†’

๐Ÿ“– Related Buying Guides

Can't fix it yourself? Get a Mail-In Repair Quote โ†’ ๐Ÿ“ž (856) 914-1074