How to Fix Kernel Panic on Mac
A kernel panic forces your Mac to restart unexpectedly, displaying a black screen with white text or the Apple logo with a spinning wheel. These system crashes occur when macOS encounters a critical error it cannot recover from, typically caused by hardware failures, incompatible software, or corrupted system files.
- Boot into Safe Mode. Shut down your Mac completely. Press the power button and immediately hold the Shift key until the login screen appears. Safe Mode loads only essential system files and disables third-party extensions. If your Mac runs normally in Safe Mode, the issue stems from software rather than hardware.
- Check Console for panic logs. Open Applications > Utilities > Console. In the sidebar, expand System Reports and look for files beginning with "kernel" followed by a date and time. Click on the most recent kernel panic report. Look for hardware-related keywords like "AppleIntelCPUPowerManagement," "IOPCIFamily," or specific component names in the panic string.
- Remove recently installed software. Navigate to Applications and move any recently installed programs to the Trash. Pay special attention to system utilities, antivirus software, and kernel extensions. Empty the Trash and restart your Mac. If kernel panics stop occurring, reinstall software one application at a time to identify the problematic program.
- Reset NVRAM and SMC. Shut down your Mac and press the power button. Immediately hold Option + Command + P + R for 20 seconds, then release. For the SMC reset on Intel Macs, shut down and hold Shift + Control + Option on the left side plus the power button for 10 seconds. On Apple Silicon Macs, simply restart twice in succession to reset the SMC.
- Run Apple Diagnostics. Shut down your Mac and disconnect all external devices except keyboard, mouse, and display. Press and hold the power button, then immediately hold the D key until the diagnostics screen appears. Follow the on-screen instructions to run a complete hardware test. Note any error codes that appear.
- Check and reseat RAM. For user-accessible RAM slots, shut down your Mac and disconnect power. Remove the back panel according to your Mac model's specifications. Carefully remove RAM modules and inspect for corrosion or damage. Clean the contacts with isopropyl alcohol and firmly reseat each module until it clicks into place. Replace the panel and test.
- Reinstall macOS. Boot into macOS Recovery by holding Command + R during startup. Select "Reinstall macOS" from the utilities menu. This process preserves your files while replacing system files that may be corrupted. The installation requires an internet connection and takes 30-60 minutes depending on your Mac model and connection speed.