iPhone keeps restarting by itself
An iPhone that shuts down and comes back on its own is not one single fault. Sometimes it is software, sometimes a small sensor that stopped answering. The most reliable way to tell them apart is the panic report the phone keeps itself.
Start with the symptom
- Restarting at regular intervals, often every 3 minutes, usually means a sensor is not answering. The phone restarts when it cannot get the reading it expects. Hardware is the likely cause.
- Shutting down during a particular action — opening the camera, turning the volume up, plugging in a charger — points to the part involved in that action.
- Random, once or twice a day makes software more likely, especially if it started after an iOS update or a new app.
- Stuck on the Apple logo and never starting is a different situation; the device has to boot before a panic log is of any use.
Software or hardware?
Ruling out software first is both cheap and quick:
- Back up first. The next steps can cost you data.
- Update iOS. If a known bug is behind it, this often ends the problem.
- If it continues, restore the device and use it as a new phone for a while, without loading the backup. This is how you find out whether an app in the backup is the cause.
- If it still happens on a clean install, it is time to look at the hardware.
If the panic logs always show the same message, hardware is likely; if each one shows something different, software or the logic board becomes more likely. That distinction alone is worth a lot.
Common hardware causes
These are the ones seen most often in repair work; for a real answer, go by what the log says.
- Charging port flex. It carries parts such as the barometer (air pressure sensor) and a microphone. Aftermarket ports often lack these sensors entirely, which is why restarts can begin right after a replacement.
- Battery. A phone that cannot read its battery data may also restart. Common with aftermarket or worn batteries.
- Front sensor assembly. Problems on the proximity and ambient light sensor line can appear after a screen replacement.
- Liquid damage. On a phone that met water, the fault can surface days later and affect several lines at once.
- After a drop. An impact can loosen a connector or break a trace on the board.
What the panic log gives you
Every time the phone restarts, it writes down which unit stopped answering. That line usually corresponds to a specific part. Starting where the log points, instead of swapping parts one by one, saves both time and money.
How to get the log is explained on this page. Once you have it, paste it on the analysis page.
Before replacing a part
A panic log is a clue, not a verdict. The same message can come from different faults. Where possible, test with a known-good part before replacing anything. One detail worth knowing: with sensor faults that restart the phone every 3 minutes, the related flex has to stay connected — unplugging it to test makes the phone restart anyway and will mislead you.
If you already have a log, the analysis page will show you which part it points to.