Troubleshooting
'Your Computer Was Restarted Because of a Problem' on Mac? Here's What It Means
Mac shows 'restarted because of a problem'? Here's how to read the panic log, find the cause, and fix kernel panics — software and hardware.
You’re typing an email and the screen goes black. The Mac chimes, the Apple logo appears, and after the desktop comes back you see this dialog: “Your computer was restarted because of a problem. Press any key or wait a few seconds to continue starting up.” That’s a kernel panic — the Mac equivalent of a Windows blue screen.
Panics aren’t a casual error. The kernel hit something so wrong it couldn’t safely continue, so it dumped state to disk and rebooted. Your job is to figure out what.
What the dialog is actually telling you
The exact text:
“Your computer was restarted because of a problem. Press any key or wait a few seconds to continue starting up.”
When you click Report, you get a panic log preview. That preview is the most important diagnostic information you’ll get for free.
Behind it, macOS wrote a full panic report to /Library/Logs/DiagnosticReports/. It’s a text file with a .panic extension and a timestamp. You can read these in Console.app under Crash Reports → there’s a separate section near the top for panics.
Read the panic log first
Open Console.app → Crash Reports in the sidebar → look for entries marked Kernel.panic or with a .panic extension. The top of the report has the structured fields you need.
Look for these:
- Panic String — a one-line summary like
Kernel data access faultorSleep transition failed. Sometimes obvious enough to search verbatim. - Cause — a short explanation of which subsystem panicked.
- Backtrace — the call stack at panic time. The first non-Apple kext (kernel extension) named here is your most likely culprit.
- Kernel Extensions in backtrace — explicitly lists third-party kexts that were active. If you see
com.somevendor.driver, suspect that.
Two patterns are common:
- Panic mentions a specific kext — almost certainly that kext is buggy or incompatible with your macOS version. Update or remove it.
- Panic mentions only Apple kexts — could be hardware (RAM, GPU) or a system-level bug. Run Apple Diagnostics.
Quick fixes that resolve most panics
1. Restart and see if it repeats
A single panic might be a one-time fluke — a cosmic ray, a weird race condition that won’t recur. Don’t escalate after one panic. Track frequency.
2. Disconnect everything
Unplug all USB devices, external drives, displays, dongles. If panics stop, reconnect one at a time to find the culprit. Bad USB-C hubs, off-brand video adapters, and old eGPUs cause a disproportionate share of panics.
3. Boot in Safe Mode
Apple Silicon: shut down, hold power until “Loading startup options” appears, hold Shift, click “Continue in Safe Mode.”
Intel: hold Shift during boot.
Safe Mode disables third-party kexts and clears system caches. If the Mac runs fine in Safe Mode but panics in normal mode, you have a kext problem.
4. Check for macOS updates
System Settings → General → Software Update. Many panic-causing bugs ship and then get hotfixed within weeks. Don’t run a year-old point release if updates are available.
5. Update or remove third-party kernel extensions
System Settings → Privacy & Security → scroll to the bottom → look at the System Extensions list. Common offenders:
- VPN clients (especially older versions)
- Antivirus software
- Audio interface drivers (Universal Audio, RME)
- Virtualization (VMware Fusion, Parallels older versions)
Update them. If the issue persists, uninstall using the vendor’s uninstaller, not by manually deleting files.
Common panic types and what they mean
”Sleep transition failed”
The Mac panics when waking from or entering sleep. Causes ranked by frequency:
- An external drive woke unexpectedly and the bus state was inconsistent.
- A USB device’s driver refused to suspend.
- A misbehaving Bluetooth device.
Try unplugging USB devices and disabling “Wake for network access” in System Settings.
”Kernel data access fault”
Memory corruption. If repeated, suspect:
- Failing RAM (Intel Macs with user-replaceable RAM — re-seat it).
- A buggy kext writing where it shouldn’t.
- A failing SSD if the panic mentions storage subsystems.
Run Apple Diagnostics to test RAM.
”GPU panic” or panic mentioning AGX, AMD, or Intel HD graphics
The GPU driver or hardware faulted. If you have an external display, disconnect it. If you use an eGPU, try without it. Update to the latest macOS — GPU driver fixes ship in point releases.
Panic mentioning APFS or storage drivers
Filesystem-level panic. Run First Aid in Disk Utility from Recovery Mode. If First Aid can’t repair, you may need to back up via Migration Assistant from Recovery Mode and reformat.
Run Apple Diagnostics
This is non-negotiable for repeated panics.
Apple Silicon: Shut down. Press and hold power until “Loading startup options” appears. Press Cmd+D.
Intel: Shut down. Press power, immediately hold D until a progress bar appears.
The test takes a few minutes and reports any hardware faults with reference codes. PFM (memory) and PPM/PPF (component) codes mean replace the affected hardware. NDC and NDD mean network controller — sometimes spurious, run twice. PFR means firmware needs reinstallation.
If diagnostics reports any error, screenshot the code and call Apple Support. Don’t try to keep running — failing RAM corrupts data silently.
When to suspect software vs. hardware
Likely software:
- Panics started after a macOS update or new app install.
- Panics happen only when a specific app is running.
- Panics happen when waking from sleep.
- Apple Diagnostics passes clean.
Likely hardware:
- Panics are random, no pattern.
- Apple Diagnostics reports an error.
- Mac is hot, fans run constantly.
- Panics paired with random app crashes.
- Older Mac with original RAM.
Ambiguous:
- Panics during heavy GPU load (could be thermal throttling, could be driver, could be hardware).
- Panics with external displays connected.
Reset NVRAM and SMC (Intel only)
On Intel Macs, occasional panics resolve with these resets.
NVRAM: Restart while holding Cmd+Option+P+R until you hear the second startup chime.
SMC: Procedure varies by model — check Apple’s support page for the exact steps for your Mac. Generally involves shutting down and holding specific keys with the power button.
Apple Silicon Macs handle these resets automatically on every restart, so there’s nothing to do there.
Reinstall macOS as a last software step
Before assuming hardware failure, reinstall macOS in place. This replaces system files without deleting your data:
- Boot into Recovery Mode.
- Choose Reinstall macOS.
- Follow prompts. Takes 30–60 minutes.
If panics stop, a system file was corrupt. If they continue, the problem is hardware or a deeply embedded third-party component.
When it’s time to call Apple
After you’ve:
- Updated macOS to the latest version.
- Run Apple Diagnostics (it passed).
- Removed or updated third-party kexts.
- Booted in Safe Mode (panics still happened).
- Reinstalled macOS in place.
If panics continue, it’s hardware. Apple Support can run more thorough diagnostics, and if the Mac is under warranty or AppleCare, get it serviced. Document the panic frequency, exact dates, and what you were doing — they’ll ask.
A single panic is a fluke. Two in a week is a trend. Five in a week is a Mac with a problem that won’t fix itself. Read the log, follow the backtrace, and you’ll usually find the cause without involving Apple at all.