Phones · iPhone
My iPhone Keeps Shutting On And Off
When an iPhone constantly shuts on and off, it is usually trapped in a boot loop caused by a severely degraded battery, full storage, or damaged internal flex cables.
Symptoms
- Apple logo appears on screen for a few seconds, then goes black repeatedly (boot loop)
- Device boots to the home screen but restarts unexpectedly every 3 to 5 minutes
- iPhone gets noticeably warm around the power button or rear camera before switching off
- Battery percentage jumps erratically (e.g., from 70% to 1% to off) before restarting
- Device only stays powered on while connected to a wall charger
- Panic log entries listed under Privacy Settings containing 'panic-full'
- Phone turns off abruptly whenever a resource-heavy app like the Camera opens
Quick troubleshooting
Step 1
Perform a Hard Force Restart
Quickly press and release Volume Up, press and release Volume Down, then press and hold the Side Power Button continuously. Keep holding the button through the shutdown screen until the Apple logo reappears, then release it. This clears stuck system memory and interrupts minor software reboot loops.
Step 2
Clear Low Storage Space
If the iPhone stays on long enough to navigate settings, immediately open Settings > General > iPhone Storage. If you have less than 2 GB remaining, delete several large apps or high-res videos right away. When storage hits zero, iOS cannot write swap files and will continuously crash and reboot.
Step 3
Inspect and Clean the Charging Port
Shine a light into the charging port and check for compressed lint, dirt, or corrosion that could bridge power pins and trigger short-circuit protection. Use a wooden toothpick or anti-static plastic pick to gently scrape out debris. Connect to a known-good wall adapter and cable to see if power remains stable.
Step 4
Reinstall iOS via Recovery Mode
Connect the iPhone to a computer running iTunes or Finder, then trigger Recovery Mode using your model's hardware key combo. Choose 'Update' on your computer—this attempts to reinstall the operating system without wiping user data. If the process fails with error code 4013, 11, or 9, a physical hardware failure is preventing the flash.
Step 5
Check Panic Logs for Hardware Clues
If you can access iOS, go to Settings > Privacy & Security > Analytics & Improvements > Analytics Data. Scroll down to look for files beginning with 'panic-full'. Open the latest log and check the text near the top for terms like 'thermalmonitord', 'prst0', or 'mic1', which point directly to a failing sensor or component.
Likely causes
- A degraded or failing battery unable to supply stable voltage under peak loads
- Extremely low internal storage (0 bytes free) causing iOS kernel crashes
- Corrupted iOS system software from an interrupted over-the-air update
- Water or moisture damage causing intermittent shorts on internal flex cables
- A jammed, dirty, or hardware-damaged power/volume flex cable assembly
- Logic board issues such as cracked solder joints or failing NAND flash memory
What's going on
An iPhone that keeps shutting on and off is experiencing an unexpected power disruption or a critical kernel fault. When iOS detects a severe hardware error—such as an unsafe voltage drop, a missing thermal sensor reading, or corrupted system files—it triggers an automatic shutdown to protect internal components from permanent damage.
If the issue repeats instantly, the phone is caught in what technicians call a boot loop. The device begins its boot sequence, hits the hardware or software roadblock, crashes, and starts all over again. Depending on whether the fault is software-based or hardware-based, this cycle can happen every few seconds or every few minutes.
Symptoms people notice
- The Apple Logo Loop: The screen lights up with the Apple logo, stays lit for 5 to 15 seconds, goes completely dark, and repeats indefinitely.
- Timed Restarts: The phone boots completely to the lock screen or home screen, works for a precise amount of time (e.g., exactly 3 minutes), and then abruptly reboots.
- Tethered Power Only: The phone functions fine while plugged into a fast charger, but powers off the second the charging cable is removed.
- Thermal Shutdowns: The upper half or back panel of the iPhone gets abnormally hot right before the device shuts down.
- False Battery Level Reads: Battery percentage fluctuates wildly upon restarting, showing 80% one minute and 1% the next.
Likely causes
- Degraded Lithium-Ion Battery: As batteries age or suffer damage, their internal resistance spikes. When the CPU requests a quick burst of power, a worn battery drops voltage below the operational threshold, causing the phone to brown out.
- Critical Storage Exhaustion: iOS relies on free internal memory (NAND) to execute basic background processes. When available space hits absolute zero, system processes collapse, resulting in endless boot cycles.
- Damaged Sensor Flex Cables: On modern iPhones (like the iPhone 11 series and newer), sensors embedded in the upper earpiece flex cable or charging port assembly report temperature data to the board. If these flex cables are torn or water-damaged, iOS restarts every 3 minutes when it fails to read the sensor.
- Software Corruption: A failed background update, damaged system partition, or broken jailbreak tweak can prevent the core operating system from loading properly.
- Logic Board Micro-Fractures: Physical drops can fracture microscopic solder joints under the main power management IC (PMIC), CPU, or storage chips.
Quick checks first
Before taking the phone apart, work through these non-invasive software and external checks:
- Force Restart: Perform the hard reset key combination for your specific model. This cuts physical power to the processor briefly, clearing temporary glitch states.
- Test Wall Power: Plug the device into an official Apple power adapter. If the phone stays on steadily only while plugged in, your battery is likely dead or disconnected internally.
- Check Free Storage: If you can reach the home screen momentarily, go to Settings > General > iPhone Storage and offload heavy apps immediately.
- Look for Liquid Exposure: Pull out the SIM tray and look inside the slot for the liquid contact indicator (LCI). If it has turned bright red, liquid ingress is likely shorting internal flex lines.
When it's a real repair
If a hard reset and a Recovery Mode update fail to fix the issue—or if iTunes throws error codes like 4013, 4005, or 11—you are dealing with a physical hardware failure.
- Battery Replacement: If the battery health is below 80%, or if the phone crashes under high processor loads (like opening the Camera), installing a fresh battery is necessary.
- Dock Connector / Flex Cable Swap: Corroded charging ports or damaged proximity sensor assemblies often break the sensor loop, forcing kernel panics. Replacing these modular flex cables resolves the 3-minute restart cycle.
- Board-Level Soldering: If the device was severely bent or dropped on hard concrete, lines on the logic board itself may require micro-soldering repair.
DIY vs professional repair
Fixing a boot-looping iPhone yourself is often manageable depending on the root cause:
- DIY-Friendly Repairs: Replacing an iPhone battery or swapping out a modular charging port/earpiece flex cable is very doable at home with basic precision screwdrivers, a suction cup, and plastic pry tools. Following our step-by-step repair guides will walk you through safe disassembly.
- When to Seek Professional Help: If panic logs indicate board-level power circuit issues, or if the phone fails software restores after replacing modular parts, specialized diagnostic equipment is required.
If you prefer not to perform delicate internal work yourself, consider consulting an expert technician through LML Experts or utilizing mail-in repair options.
Next steps
- Attempt a Data Backup: If the phone stays on for short windows, quickly connect it to a computer or trigger a manual iCloud backup before it cycles again.
- Identify Your Exact Model: Check the back cover or model number in settings so you purchase the correct replacement components.
- Gather Tools and Parts: Check out our comprehensive /guides to learn how to safely open your specific iPhone model without damaging the screen or ribbon cables.
- Join the Repair Community: Stuck on a specific panic log or error code? Ask a question on the /community board to get troubleshooting advice from experienced DIY repairers, or browse /reviews to find trusted replacement parts.
Next steps
Try the DIY guide if you're comfortable opening the device. Still stuck? Browse related problems for similar symptoms.

