How To Fix A Mac Restarted Because Of A Problem (2026)

The message Your computer was restarted because of a problem appears after a Mac restarts on its own and starts up again.

Apple says the cause is usually software installed on the Mac or a device connected to it, so the fix is to test those two things in a set order.

This guide follows Apple’s order: software first, then peripherals, then Apple Diagnostics, then a macOS reinstall.

Quick answer: what to try, in order

OrderCheckWhat to do
1Software updatesInstall every available update for macOS and your apps
2App promptIf the Mac offers to move an app to the Trash, accept it and ask the developer for an update
3Safe modeStart in safe mode and see whether the restarts stop
4Connected devicesDisconnect everything except display, keyboard and mouse or trackpad, then add them back one at a time
5Apple DiagnosticsRun it with the devices still unplugged
6ReinstallReinstall macOS from Recovery

What the message means

Apple describes this as a rare restart caused by a software or hardware problem, which people often call a kernel panic.

If the problem makes the Mac restart every time it starts up, Apple warns it might eventually shut down.

One unexpected restart is not a reason to erase anything, so start with the cheap checks below.

Install all available updates

Apple’s first software step is to install every available macOS update, and updating your apps from their developers is a sensible companion step.

If the Mac cannot finish an update, our guide to a Mac that will not update macOS covers the common blockers.

Respond to the app prompt

If your Mac suspects a particular app caused the restart, it may ask whether you want to move that app to the Trash.

  1. Click Move to Trash when the prompt appears.
  2. Contact the developer of that app to ask whether an updated version is available.

Apple’s older Mac Help page adds that you should uninstall plug-ins or enhancement software from other manufacturers and check their read me notes for compatibility with your macOS version.

Use safe mode to isolate the cause

Apple says safe mode can help you find out whether software that loads as the Mac starts is behind the problem.

First check your chip by choosing Apple menu > About This Mac, where a Chip entry means Apple silicon and a Processor entry means Intel.

Mac typeHow to start in safe mode
Apple siliconChoose Apple menu > Shut Down and wait for the screen to go black, hold the power button until Loading startup options appears, select a volume, hold Shift and click Continue in Safe Mode
IntelTurn on or restart the Mac and hold Shift immediately until the login window appears, then log in (you may be asked twice)

Safe Boot appears in the menu bar at the login window when it worked.

You can also hold Option, choose Apple menu > System Information, select Software and look for Boot Mode: Safe means safe mode is on and Normal means it is off.

If the Mac runs without restarting in safe mode, the cause is likely software that loads at startup.

Disconnect your devices

  1. Shut down the Mac and unplug all peripherals, such as external drives and printers.
  2. On a desktop Mac, leave only a display, a keyboard and a mouse or trackpad connected.
  3. Turn the Mac on and use it for as long as it normally takes for the restart to happen.
  4. If the restarts stop, reconnect one device at a time and test after each until the problem returns.

The device that brings the restart back is the one to replace, update or leave unplugged.

If a port or drive turns out to misbehave, our guides on USB-C and Thunderbolt ports and external drives help with those.

Apple’s older page also says to remove third-party hardware upgrades such as extra RAM or PCI cards, then restart.

Run Apple Diagnostics

If the restarts continue with devices removed, Apple says to run Apple Diagnostics to test the Mac.

Mac typeHow to start Apple Diagnostics
Apple siliconHold the power button until the Options icon appears and release it, then hold Command-D until the Mac restarts
IntelTurn the Mac on and hold D immediately, or Option-D if D does not work, and release at a progress bar or language prompt
  • Before you start, install the latest macOS updates, shut the Mac down and unplug everything except keyboard, mouse, display, Ethernet and power.
  • Place the Mac on a hard, flat, stable surface with good ventilation.
  • If asked, choose Run Offline unless Apple Support or a technician has started an online session.
  • In macOS Tahoe 26 and later you choose a specific diagnostic, while earlier versions select tests automatically.

If you get reference codes, look them up in Apple’s list of reference codes and bring them to any repair provider.

Reinstall macOS as a last software step

If nothing above helps, Apple says to reinstall macOS from Recovery.

Apple’s older page warns that moving or renaming a system file or folder cannot be fixed by putting it back, and only a reinstall cures that.

Reinstalling from Recovery does not remove your apps or personal data according to Apple, though a backup is still advised.

If the Mac keeps restarting before you can do anything

If the Mac will not start all the way, Apple points to its startup-screens guide, which includes the question mark, circle with a line and blank-screen cases.

Our guide to a Mac that will not turn on or start up covers those cases.

When to contact Apple

If Apple Diagnostics reports a reference code, or the restarts continue after you reinstall macOS, the Mac likely needs service.

Apple says out-of-warranty repairs can use genuine Apple parts through Self Service Repair in certain countries for specific Macs introduced in 2020 or later.

Sources

Leave a Reply

Your email address will not be published. Required fields are marked *