“I have a MacBook Pro 2020, and every time I go to use it, it crashes within a couple of minutes. I’ve tried everything, resetting the SMC and drive and cleaning the inside with an air duster….” - RubSquare9947

Mac’s “Your computer restarted because of a problem” message usually appears after a kernel panic. This happens when macOS hits a serious error and cannot continue running safely. The cause may involve faulty software, incompatible external hardware, or an internal Mac hardware problem.

A single unexpected restart may not indicate an ongoing problem. Repeated panics, app-linked crashes, or a restart loop require more focused troubleshooting. When the restart happens can help narrow the trigger before deeper troubleshooting begins. For repeated panics that block Mac access, Recoverit can help recover files that become inaccessible.

⚡ Quick Answer: Fix "Your Computer Restarted Because of a Problem" on Mac

Your Situation First Step Best Path
Restarts tied to one app Update or remove that app Check App Store updates, then move it to Trash and retest
Restarts after connecting a device Disconnect the device and retest Reconnect one at a time to isolate the culprit
Restarts before login (restart loop) Boot into Safe Mode If it fails, use macOS Recovery (Disk Utility First Aid, then reinstall)
Random panics even in Safe Mode Run Apple Diagnostics and note the reference code Codes starting PPN/NDC/VFD point to power, network, and display hardware
Repeated panics blocked file access Stop using the drive Recover files with Recoverit before further repairs
Try Recoverit to Perform Data Recovery

article-safe-itemSecurity Verified. 3,591,664 people have downloaded it.

Part 1. What Does “Your Computer Restarted Because of a Problem” Mean on Mac?

MacBook’s “Your computer restarted because of a problem” message describes a protective response. macOS restarts the system to prevent further instability after a serious system-level error.

How a Kernel Panic Causes an Unexpected Restart

macOS encounters a serious error it cannot recover from and restarts the system. After login, a report can appear with details about the unexpected restart event. Software, peripherals, storage problems, or hardware can trigger a kernel panic, so the message alone does not identify the exact cause.

Apple says known kernel panic problems can identify faulty software causing crashes. Moving identified software to Trash can prevent further panics from that source.

One Restart vs. Repeated Kernel Panics

One unexpected restart may never return and does not require major changes yet. Repeated kernel panics need investigation, and their pattern helps narrow the cause. Use these restart patterns to decide where you should begin checking first:

Restart Pattern What It Suggests
Restarts tied to one app The app or its supporting software may be triggering the kernel panic
Restarts tied to one device A problem with the device, cable, driver, supporting software, or connection
Restarts before login A startup-level issue requiring troubleshooting before normal macOS access
single restart vs repeated panics

Part 2. Match the Mac Restart Pattern to the Likely Problem

Restart timing can narrow the causes behind the Mac’s message “Your computer restarted because of a problem.” The table below matches each restart pattern with the most probable issue:

When the Mac Restarts Likely Area to Investigate Best First Check
While Using One Specific App That app or related software Update or remove the app
After Connecting a Device Peripheral, driver, or accessory Disconnect the device and retest
Soon After Login Login item or background software Test Safe Mode
After Sleep or Wake Background software or connected device Check software and peripherals
During Startup, Before Login macOS, storage, firmware, or hardware Use Safe Mode first, then Recovery if needed

A Mac restarting before login requires troubleshooting outside the normal macOS desktop environment. Part 6 covers Safe Mode, Recovery, disk checks, and reinstallation for that situation.

Part 3. 5 Common Causes of Repeated Mac Kernel Panics

A MacBook “Your computer restarted because of a problem” message can have several causes. Below are the main triggers behind repeated Mac kernel panic restarts:

Cause What Happens Corresponding Check
Incompatible apps or system extensions Outdated or incompatible apps, plug-ins, drivers, or extensions conflict with macOS Update or remove the suspect app
Problematic drivers, docks, or external devices Faulty peripherals, unstable docks, bad cables, or device software cause conflicts Disconnect peripherals and retest
macOS update or system software problems An update exposes compatibility problems in older plug-ins, drivers, or extensions Update macOS and apps; reinstall if needed
Startup disk or file system errors File system or startup-volume problems contribute to instability Run Disk Utility First Aid
Low free disk space A nearly full startup disk starves virtual memory and can trigger panics under load Free at least 20% of the disk
Internal hardware or firmware faults Problems with memory, storage, logic-board components, or firmware cause panics that continue after software checks Run Apple Diagnostics and note the reference code
common mac kernel panic causes

Part 4. Find the Trigger Behind the Restart

The macOS “Your computer restarted because of a problem” error needs diagnosis. Use these 4 focused checks to identify its trigger before choosing the correct fix.

Check 1. Review the Restart or Panic Report

The restart dialog can reveal useful details about what caused the crash. Focus on repeated software names instead of decoding complex memory addresses manually. Here’s how to review the report properly:

  1. After the Mac restarts, click "Report…" in the restart dialog to view detailed information.
    open mac restart report
  2. Look near the top for the panic string and the named process, extension, or driver. A third-party .kext name or a vendor name in the backtrace points straight at the cause — review the report for software, extensions, drivers, or components that appear repeatedly across multiple panics. A single mention does not always identify the cause. Skip the hexadecimal memory addresses; they rarely help.
    review kernel panic report details
  3. If the report does not reveal the cause, open "Console" > check recent "Diagnostic Reports" and "Crash Reports". Compare entries from multiple restarts and note any software or component that appears repeatedly.
    inspect console crash reports

Check 2. Check What Changed Before the Restarts Started

Mac’s “Your computer restarted because of a problem” often follows recent changes. New apps, updates, peripherals, or utilities may trigger the first restart unexpectedly. To find the trigger, use these checks first:

  1. Review recently added login items or extensions using the method in Part 5. Next, open "Finder > Applications" > select the item grouping icon > sort by "Date Added" to review recently installed apps.
    sort recently modified mac apps
  2. Open "System Settings > General > Software Update" to review recent macOS updates.
    check macos software updates
  3. Then open "App Store > Updates" to check recent app updates.
    view app store updates

Check 3. Disconnect Peripherals to Isolate a Hardware Trigger

Attached hardware is one of the easiest kernel panic triggers to test. Apple lists external devices among possible causes, so check them early. Shut down the Mac and disconnect everything except the power adapter. Use the Mac normally, then reconnect devices one at a time if restarts stop.

disconnect external mac devices

Check 4. Compare Normal Startup With Safe Mode

MacBook’s “Your computer restarted because of a problem” error warrants Safe Mode testing. Safe Mode helps determine whether startup software contributes to repeated kernel panic restarts. Apple says Safe Mode helps identify issues caused by software loading during startup.

Use the Apple silicon or Intel Safe Mode procedure explained in Part 6. If restarts stop there, inspect login items, extensions, drivers, and background utilities first. After testing, restart the Mac normally and check whether the panic returns.

Part 5. Fix Mac Restarts Based on the Trigger

Each fix targets triggers behind Mac “Your computer restarted because of a problem.” Choose the fix matching your restart pattern instead of trying every method listed.

Case 1. If One App Causes the Mac to Restart

An app can trigger kernel panics when it conflicts with installed macOS. Check compatibility first, especially when crashes begin after app or macOS updates. Now, let’s test the app:

  1. Open "App Store > Updates" > press "Update" beside an app. Check the app developer's website and confirm it supports your current macOS version.
    update installed mac applications
  2. If the Mac still restarts, uninstall the app from "Finder > Applications > File > Move to Trash" and test the Mac with the app removed.
    remove problematic mac application
note
Note: For software that installed drivers, extensions, or background components, use the developer's official uninstaller when available. Restart and test the Mac before reinstalling the latest compatible version.

Case 2. If a USB Device, Dock, or Peripheral Triggers the Restart

macOS’s “Your computer restarted because of a problem” may involve peripherals. Docks interact with power, displays, and data, which can destabilize macOS systems. Peripheral conflicts can therefore trigger kernel panics. Here is how you can do that:

Instructions. Disconnect the suspected USB device or peripheral > Test the Mac without it. If the restart stops, update the device’s driver from the manufacturer > Reconnect it using a different cable or port instead of a hub.

test mac without peripherals

Case 3. If the Mac Restarts Shortly After Login

Restarts soon after login often indicate software launching during the startup process. Login items and system extensions become strong suspects when crashes follow sign-in. To isolate the trigger, inspect startup software first:

  1. Start your Mac in "Safe Mode" using the Part 6 method. Open "System Settings > General > Login Items & Extensions".
    access login items extensions
  2. Check "Open at Login" and "App Background Activity" for suspicious items. Turn them off, restart the Mac, then restore them one by one if the issue stops.
    manage startup background applications

Case 4. If the Restarts Began After a macOS Update

Mac “Your computer restarted because of a problem" message can follow conflicts after updates. Older apps, plug-ins, or extensions may become incompatible after a macOS system upgrade. Check for any newer macOS or app updates using the methods covered earlier. If repeated kernel panics continue, enter macOS Recovery and reinstall macOS using the methods given in Part 6.

Case 5. If the Mac Restarts After Sleep or Wake

Wake-related kernel panics can involve external devices, drivers, or background software resuming with the Mac. Disconnect peripherals before sleep and keep macOS and device software updated. If the problem continues, test Safe Mode before investigating hardware.

Part 6. Fix a Mac Stuck in a Restart Loop Before Login

MacBook’s “Your computer restarted because of a problem” loops require recovery tools outside. Use these methods in order when the Mac cannot reach the desktop normally.

Fix 1. Boot the Mac in Safe Mode

Safe Mode offers a low-risk way to reach the Mac desktop again. Reaching it there can point toward startup software rather than hardware faults. The instructions below cover both Mac chips:

For Apple Silicon Mac

Instructions. Power off the Mac > Press and hold the “Power” button until startup options load > Choose the startup disk > Hold “Shift” > Select “Continue in Safe Mode.”

enter apple silicon safe mode

For Intel Mac

Instructions. Start or restart the Mac > Immediately hold “Shift” > Release it when the login window appears.

hold shift during intel startup

Fix 2. Start macOS Recovery When Safe Mode Fails

Recovery can help determine whether the restart problem extends beyond standard macOS startup. Look at the instructions below to enter Recovery after shutting down:

For Apple Silicon: Press and hold the “Power” button until “Loading startup options” appears > Click “Options > Continue.”

For Intel: Hold “Command + R” until the Apple logo or another startup screen appears.

Instructions. Enter macOS Recovery using the correct method. Open “Disk Utility” > Confirm that the internal startup disk appears in the sidebar. If Recovery remains stable, confirm that the internal startup storage appears. If startup or disk errors are suspected, run First Aid before considering macOS reinstallation.

select disk utility recovery

Fix 3. Check the Startup Disk With Disk Utility First Aid

If macOS’s “Your computer restarted because of a problem” persists, use Disk Utility First Aid to check the startup storage. First Aid can repair file system errors from Recovery while the volume remains idle. According to Apple, Disk Utility can repair formatting and directory structure errors on disks. Follow the steps below to check the disk:

  1. Open "Disk Utility" in macOS Recovery > click "View" > "Show All Devices" > select the startup disk > click "First Aid".
    choose startup disk first aid
  2. Click "Run" > wait for First Aid to finish > review any reported errors > restart the Mac and check whether the restart loop continues.
    run first aid disk check
note
Note: If irreplaceable files are already inaccessible, secure or recover them first when possible. Avoid repeated repair attempts on a failing or unstable drive.

Fix 4. Reinstall macOS Without Erasing Personal Data

A standard macOS Recovery reinstall is designed to reinstall macOS while keeping your files and user settings intact. This differs from erasing the startup disk before installing macOS again completely. Here is how to reinstall macOS safely:

Instructions. In macOS Recovery, select “Reinstall macOS” > Follow the on-screen instructions > Choose the current startup disk as the installation destination. Complete the reinstall without erasing the disk, then restart the Mac and check whether the restart problem returns.

reinstall macos from recovery

Part 7. Signs Repeated Mac Restarts May Be Hardware-Related

Hardware faults can trigger MacBook “Your computer restarted because of a problem” messages. Here are 5 signs showing the restart problem may involve Mac hardware instead:

Sign What It Means
Panics continue in Safe Mode Safe Mode limits third-party startup software, so repeated panics there make ordinary startup software a less likely cause
Restarts continue with everything disconnected If panics continue after removing all nonessential external devices, peripheral-related causes become less likely
The Mac panics inside Recovery Recovery uses a separate environment, so panics there suggest a deeper system, firmware, or hardware problem
Apple Diagnostics returns a reference code A diagnostic reference code can point to a hardware area that may need further testing or professional service
Panics survive a clean macOS reinstall If panics continue after a standard compatible reinstall, hardware or lower-level system issues become more likely
hardware related restart warning signs

Run Apple Diagnostics for Repeated Restarts

Apple Diagnostics helps investigate Mac’s “Your computer restarted because of a problem” error. Diagnostics can help determine which internal hardware component might be faulty. It checks internal hardware but cannot detect every possible Mac fault. Use the instructions below to run Apple Diagnostics:

Instructions. Remove all nonessential external devices, keep the Mac connected to power, then shut it down. On an Apple Silicon Mac, press and hold the “Power” button until startup options appear, then press and hold “Command + D.” On an Intel Mac, start the Mac and immediately hold “D” during startup. Choose “Run Offline” if that option appears. Record any reference code shown before contacting Apple or an Authorized Service Provider.

run apple diagnostics offline

Reference codes starting PPN, NDC, or VFD point to power, network, and display hardware respectively — share the exact code with Apple or an Authorized Service Provider to speed up the diagnosis.

note
Note: Apple Diagnostics does test internal hardware such as the logic board, memory, and wireless components, but it does not diagnose external hardware or software conflicts.

When to Stop Software Troubleshooting

Repeating the same software fix seldom changes the outcome after several failed attempts. Reinstalling macOS again without improvement wastes time and offers little diagnostic value afterward. A kernel panic message cannot identify the exact internal component causing repeated restarts.

Document each restart pattern, secure important files, and seek service after software checks. If the internal drive disappears from Disk Utility, shows physical-failure symptoms, or repeatedly becomes inaccessible, stop repeated software repair attempts.

Part 8. Recover Files After Repeated Mac Restarts

Repeated kernel panics can interrupt file access and leave important documents unavailable afterward. MacBook’s “Your computer restarted because of a problem” loops can also block login. This is where Recoverit can help recover files from an affected Mac system.

When macOS still starts, Recoverit scans storage for lost or inaccessible file data. For crashed Macs, Recoverit supports bootable USB recovery without loading installed macOS first. Recovered files can then be saved to another safe storage location instead.

Key Features

  • Startup-Independent Reading: Reaches files on a Mac caught in a restart loop by booting from separate media.
  • Both Mac Filesystems: Handles APFS and HFS+, including encrypted containers once the passphrase is supplied.
  • AI-Powered Custom Recovery: Recoverit uses AI to provide recovery approaches tailored to different data-loss scenarios.
  • AI Search: Helps locate recoverable files by using descriptive search terms, making it easier to find specific files within large scan results.
  • Latest Mac Compatibility: Supports modern macOS versions and Intel, T2, M1, M2, M3, and M4-based Apple hardware.

How to Recover Your Files After Repeated Mac Restarts Using Recoverit

Prepare a second working Mac and a spare drive, then follow these steps to recover files:

  1. Enter Mac crash recovery. Install and launch Recoverit on a working Mac. Select "Other Tools" > pick "Computer Not Bootable" > click "Start".
    open mac crash recovery recoverit
  2. Create a bootable USB. Connect an empty USB drive to the working Mac. Select the connected USB drive > confirm the required macOS version > press "Start" to create the bootable recovery drive.
    create bootable usb drive
  3. Recover files from the restarting Mac. Plug the bootable USB into the restarting Mac and boot from it. Scan the internal storage > preview the scanned files > press "Recover" to export them.
    recover files from restarting mac
Wondershare Recoverit – Leader in Data Recovery
  • Recovers data from 1000+ file formats and 1 million devices, including Camera, CFexpress, SD, micro SD, Transcend SD, HDDs, SSDs, Win/Mac, Linux/NAS etc.
  • Handles 10000+ data loss scenarios, such as deletion, emptied trash, formatting, virus attacks, etc.
  • Recovers lost or deleted files like words, photos, videos, music, emails, and other 1000+ file types effectively, safely and completely.
  • Recovers full HD, Ultra HD, 4K, and 8K videos without corruption.

Conclusion

In summary, macOS’s “Your computer restarted because of a problem” message can signal a kernel panic. A single restart may not return, but repeated crashes need focused troubleshooting. Restart timing can help narrow the cause across software, peripherals, storage, and hardware. If repeated restarts make important files inaccessible, Recoverit can help recover data before further repairs when possible.

FAQ

  • My Mac restarts repeatedly even after updating macOS. Why?
    Updating macOS may not resolve incompatible third-party extensions, drivers, connected devices, or hardware faults. Test Safe Mode and remove peripherals to narrow the remaining cause.
  • Can a USB device or dock cause a Mac kernel panic?
    Yes. A faulty device, cable, dock firmware, driver, power-delivery issue, or compatibility problem can contribute to kernel panics.
  • Why does my Mac restart after waking from sleep?
    Wake restarts can involve peripherals or background software resuming from sleep states. Disconnect peripherals before sleep, then test whether wake restarts still occur afterward.
  • Can repeated kernel panics corrupt files on a Mac?
    Mac’s “Your computer restarted because of a problem” issue can interrupt writes. Open documents may become damaged if a panic interrupts saving data midway.
Share article:
Get Recoverit Get Recoverit