Skip to main content

Phones · iPhone

iPhone Keeps Turning Off And On By Itself

If your iPhone is constantly restarting, stuck on the Apple logo, or shutting off every few minutes, software crashes or hardware component failures are usually to blame. Here is how to diagnose and fix an iPhone boot loop.

Symptoms

  • iPhone turns off and reboots every 3 to 5 minutes consistently
  • Device gets stuck on the Apple logo, fades to black, and repeats continuously
  • Battery percentage jumps erratically right before the phone shuts down
  • Phone restarts immediately when plugged into a wall charger or computer
  • Screen unexpectedly goes black during high-power tasks like taking photos
  • Phone boots to the lock screen for a few seconds then freezes and restarts

Quick troubleshooting

  1. Step 1

    Perform a forced hard restart

    Quickly press and release Volume Up, press and release Volume Down, then press and hold the Side power button until the Apple logo appears. Release the button and let the phone attempt a clean boot. This flushes temporary system cache without erasing data.

  2. Step 2

    Inspect storage space and panic logs

    If the phone stays powered on long enough, open Settings > Privacy & Security > Analytics & Improvements > Analytics Data. Look for entries starting with 'panic-full'—the text inside will often cite the specific sensor or hardware bus failing. Also check Settings > General > iPhone Storage to ensure you have at least 5GB of free space.

  3. Step 3

    Update or restore via Recovery Mode

    Plug your iPhone into a computer running Finder or iTunes, then put the device into Recovery Mode using the hardware button sequence. Select 'Update' in the computer prompt to reinstall iOS without wiping your data. If the update fails or throws an error code, a full 'Restore' may be required.

  4. Step 4

    Isolate disconnected hardware components

    If software steps fail, open the device with appropriate pentalobe and tri-point drivers. Disconnect non-essential peripherals—specifically the top earpiece speaker/sensor flex cable—and try powering the board on again. A torn or shorted sensor flex on modern iPhones is a notorious cause of timed 3-minute reboots.

Likely causes

  • Severely degraded or chemically depleted lithium-ion battery
  • Corrupted iOS system software or interrupted over-the-air update
  • Full system storage preventing iOS from writing critical swap files
  • Damaged top speaker or proximity sensor flex cable causing kernel panics
  • Liquid intrusion or micro-corrosion on internal logic board components
  • Faulty power button or charging port flex cable assembly

What's going on

When an iPhone keeps turning off and on by itself—a issue commonly called a boot loop—the phone's operating system (iOS) is failing to complete its startup sequence or is hitting a critical hardware safety fault. During startup, the iPhone checks its internal components (battery health, thermal sensors, memory chips, and display flexes). If iOS encounters corrupted system files or a shorted sensor, it triggers a forced reboot to protect the logic board.

Depending on the underlying problem, your iPhone might loop indefinitely at the Apple logo, or it might fully turn on for 3 minutes before abruptly shutting down. Understanding whether your issue stems from system memory or a damaged physical cable saves you time and prevents unnecessary parts replacement.

Symptoms people notice

  • Continuous Apple logo loop: The phone shows the Apple logo, turns off, and shows it again endlessly without reaching the passcode screen.
  • Timed 3-minute shutdowns: The phone boots completely, lets you unlock it, but shuts off after exactly 180 seconds.
  • Rapid battery level drops: Displaying 80% charge one second, dropping to 1% the next, followed by an immediate shutdown.
  • Power cable dependency: The device only stays powered on while connected to a lightning cable or MagSafe charger.
  • Frozen camera or blank lock screen: The device stutters, locks up completely when performing basic tasks, and reboots.

Likely causes

  1. Degraded Battery Gas Gauge: When an iPhone battery degrades chemically, it can no longer deliver peak voltage required by the CPU, causing sudden power cuts.
  2. Damaged Sensor Flex Cables: On modern devices (iPhone X and newer), a damaged earpiece sensor assembly breaks communication with the motherboard, triggering a kernel panic thermal watchdog shutoff every 3 minutes.
  3. Critically Full Storage: If your iPhone runs out of local flash storage space entirely, iOS cannot write essential system files, trapping the device in a memory crash boot loop. Read more on our /problems catalog for memory-related crashes.
  4. Interrupted iOS Updates: An unfinished over-the-air update due to weak Wi-Fi or low power corrupts system software.
  5. Liquid Contact or Corrosion: Even small amounts of moisture inside the charging port or logic board line can short out system power rails.

Quick checks first

Before opening up hardware or erasing your data, try these rapid diagnostic checks:

  • Force Restart: Perform a quick hardware reset to interrupt corrupted background loops. This is often enough to break past a software glitch.
  • Plug into a Computer: If your phone won't turn on past the logo, connecting it to a computer running iTunes or Finder can interrupt the power cycle and prompt Recovery Mode.
  • Clean the Charging Port: Use a toothpick or plastic probe under a bright light to check for compressed lint in the power port. Shorted pins can send erratic power signals.
  • Check Panic Logs: If your phone stays on for a minute or two, go to Settings > Privacy & Security > Analytics & Improvements > Analytics Data. Look for files titled panic-full-[date]. If you see mentions of prx0 or mic1, an internal cable needs replacement.

When it's a real repair

If a software update via Recovery Mode fails or throws errors (such as Error 4013, Error 9, or Error 1100), you are dealing with a hardware-level failure.

  • Battery Replacement: If the phone turns off every time you unplug it or spike CPU usage, a fresh battery is required.
  • Sensor Flex Replacement: If your panic logs point to missing sensor readouts (common after screen replacements or liquid exposure), replacing the upper speaker/sensor flex assembly resolves the 3-minute reboot loop.
  • Logic Board Micro-soldering: If the device has severe water damage or was dropped heavily, internal power IC chips (like Tristar/Hydra) or sandwich board solder joints may be fractured.

For teardown instructions tailored to your specific model, browse our extensive /guides library.

DIY vs professional repair

Software troubleshooting and basic component swaps are well within the reach of most DIYers. Swapping an iPhone battery or replacing an upper ear-speaker flex assembly requires only standard precision tools and patience.

However, if the boot loop is caused by micro-soldering defects or heavy liquid corrosion on the motherboard, specialized equipment like hot-air rework stations and microscopes are necessary. If you prefer not to perform delicate internal work yourself, consider sending the device to a mail-in repair service or consulting verified technicians in our /community.

Next steps

  1. Backup Data First: If you manage to keep the phone on briefly, immediately back up essential photos and data to iCloud or your computer.
  2. Attempt Recovery Mode: Follow our step-by-step software recovery walkthrough available in /guides to reinstall iOS safely.
  3. Source Quality Parts: If you diagnose a bad battery or torn sensor flex, grab high-grade replacement components with proper adhesive seals.
  4. Share Your Experience: If you solved a tricky panic log or boot loop issue, leave a note in our /reviews section or community forum to help other device owners troubleshooting the same problem.

Next steps

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

Related problems