Skip to main content

Phones · iPhone

My iPhone Keeps Turning Off And On By Itself

If your iPhone is continuously turning off and on, you are likely dealing with a degraded battery, critical storage shortage, or corrupted iOS system files.

Symptoms

  • Apple logo appears for a few seconds, flashes off, and endlessly repeats (reboot loop)
  • Device boots into iOS, stays on for exactly 3 minutes, then suddenly restarts
  • iPhone shuts off without warning even when battery indicator displays 20% or more
  • Phone operates normally while plugged into power, but turns off immediately upon unplugging
  • System feels extremely sluggish or freezes briefly before the screen turns black
  • Analytics logs show repeated 'panic-full' entries under system diagnostics

Quick troubleshooting

  1. Step 1

    Perform a Force Restart

    A force restart cuts power at the hardware level to interrupt spinning software loops. Quick-press Volume Up, quick-press Volume Down, then press and hold the Side Power button until the screen goes dark and the Apple logo reappears. If the logo flashes or turns off immediately, release the button and move to recovery mode.

  2. Step 2

    Check Storage Space (If Booting into iOS)

    If your device stays on long enough to navigate settings, go to Settings > General > iPhone Storage right away. If free storage is under 2 GB, immediately delete large apps, cached video files, or photos to prevent iOS from crashing into a permanent boot loop.

  3. Step 3

    Update iOS via Recovery Mode

    Connect your iPhone to a computer running iTunes or Finder. Put the phone into Recovery Mode using the force restart button sequence, but continue holding the power button until the recovery screen appears on the phone. Select 'Update' on your computer—this reinstalls iOS without erasing your user data.

  4. Step 4

    Check Analytics for Thermal Panic Logs

    If the phone restarts regularly every few minutes, go to Settings > Privacy & Security > Analytics & Improvements > Analytics Data. Scroll down to look for files starting with 'panic-full'. Open the log and look near the top for terms like 'missing sensor' (often thermal sensors inside the charging port or ear speaker flex cable).

  5. Step 5

    DFU Restore (Full System Reset)

    If a basic update fails, place the device into Device Firmware Update (DFU) mode to completely wipe and reload the firmware. Note that this erases all personal data, so only attempt this if you have a recent iCloud or computer backup.

Likely causes

  • Severely degraded lithium-ion battery unable to maintain stable voltage under load
  • Completely exhausted internal storage preventing iOS from writing temporary swap files
  • Corrupted system update or failed over-the-air (OTA) software installation
  • Damaged proximity sensor or charging port flex cable (triggering thermal panic resets)
  • Liquid intrusion causing sub-surface corrosion on logic board power rails
  • Physical board damage or micro-fractures in the CPU/power management IC (PMIC)

What's going on

When an iPhone keeps turning off and on by itself, it means the device is failing its initial hardware boot check or experiencing an unrecoverable kernel panic. During startup, iOS runs quick checks on battery voltage, storage access, and critical flex cable sensors. If any of these systems drop out or return invalid data, the operating system shuts down automatically to protect delicate internal components.

Depending on the root trigger, this issue might present as an infinite boot loop (stuck on the Apple logo) or as a phone that boots up for a few minutes before abruptly resetting.

Symptoms people notice

  • The phone displays the Apple logo, turns off, and repeats the cycle indefinitely without ever reaching the lock screen.
  • The device powers on successfully, but automatically restarts every 3 to 5 minutes like clockwork.
  • Random shutdowns occur specifically when launching power-hungry apps like the Camera or playing games.
  • The iPhone will only remain powered on when connected directly to a wall charger.
  • Screen turns black without warning while battery life still shows 20% or higher.

Likely causes

  1. Degraded Battery: As iPhone batteries age, their internal chemical resistance rises. They may report 80% charge, but under sudden processor spikes, they fail to supply the required peak voltage, causing an emergency shutdown.
  2. Full Storage Space: iOS relies on free internal flash memory for page swapping and caching. If storage drops to absolute zero, the operating system panics and collapses into a boot loop.
  3. Damaged Sensor Flex Cables: Modern iPhones monitor thermal sensors located on the charging port assembly and top speaker assembly. If these cables are damaged, worn, or torn during a previous repair, iOS automatically restarts every 3 minutes when it fails to read sensor data.
  4. Software Corruption: A failed background update, interrupted restore, or corrupted system file can corrupt the boot partition.
  5. Liquid or Hardware Damage: Moisture exposure around the logic board can cause subtle short circuits on power rails, leading to unexpected thermal resets.

Quick checks first

Before taking your phone apart, work through basic triage to see if software or power state is the culprit:

  • Force Restart: Perform a hardware reset sequence (Volume Up, Volume Down, hold Side Button) to clear temporary system memory.
  • Plug into Power: Plug the phone into a high-wattage wall adapter (20W+) using a known-good cable. If it boots up and stays on, suspect a failing battery.
  • Recovery Mode Re-flash: Plug the phone into a Mac or PC running iTunes/Finder. Trigger Recovery Mode and click Update to rewrite system files without losing user data.
  • Clear Storage: If you can get into settings temporarily, offload heavy applications to free up at least 3–5 GB of headroom.

If you want to read deeper into common phone power issues across various models, check out our troubleshooting guides.

When it's a real repair

If updating iOS or forcing a reboot does not stop the power cycling, you are dealing with a physical hardware failure:

  • Battery Replacement: If your battery capacity is below 80% or the phone turns off immediately when unplugged, a fresh battery module is required.
  • Flex Cable Replacement: If system logs report a missing sensor (common on iPhone 11 and newer models), replacing the charging port ribbon cable or upper sensor assembly usually resolves the 3-minute restart loop.
  • Board-Level Repair: If the device has severe water damage or was dropped, micro-soldering repair may be required to fix broken traces or faulty power management ICs (PMIC).

DIY vs professional repair

Replacing an iPhone battery or modular flex cable is a straightforward DIY task if you have steady hands, precision tools, and an organized workspace. You can consult detailed step-by-step teardown instructions on our guides section to evaluate whether you feel comfortable removing the display panel.

However, if the restarts are caused by logic board corrosion or micro-soldering issues, attempting a fix at home without specialized diagnostic tools like a thermal camera or multimeter can cause permanent data loss. In those situations, sending your device to LML Experts or taking it to a professional repair facility is the safer route.

Next steps

Start by executing a force restart and attempting an iOS update via Recovery Mode on your computer. If the problem persists, review our hardware teardown guides to learn how to open your model safely and check internal connections. You can also read through user experiences in our community forum or check out device tool kit recommendations in our reviews section.

Next steps

Try the DIY guide if you're comfortable opening the device. Still stuck? Browse related problems for similar symptoms.

Related problems