Phones · iPhone
My iPhone Keeps On Turning On And Off
An iPhone that constantly turns on and off is usually caught in a boot loop caused by depleted storage, a failing battery, a corrupted software update, or hardware sensor damage.
Symptoms
- Displays the Apple logo for a few seconds, shuts off, and repeats indefinitely
- Boots to the lock screen but restarts consistently every 3 to 5 minutes
- Screen flashes briefly, shows a pink/purple hue, or goes black before restarting
- The back panel feels warm near the processor camera bump while cycling on and off
- Restarts immediately whenever plugged into a Wall charger or computer USB port
- Shuts down unexpectedly even when the battery indicator shows plenty of charge
- Analytics data contains multiple panic-full or panic-base logs in system settings
Quick troubleshooting
Step 1
Perform a Hard Force Restart
Force-rebooting cuts power to the processor memory, clearing temporary state errors. On modern iPhones (8 and newer), press and quickly release Volume Up, press and quickly release Volume Down, then press and hold the Side Power button until the Apple logo appears. Release the button only after the screen goes dark and the logo reappears.
Step 2
Update iOS via Recovery Mode
Connect your iPhone to a Mac or PC using a trusted Lightning or USB-C cable. Put the device into Recovery Mode by holding the force restart keys until the computer icon appears on screen. Open Finder or iTunes and choose 'Update' (do not select 'Restore' first, as Update attempts to fix the system without erasing your data).
Step 3
Check Storage Space and Panic Logs
If your phone stays on long enough to navigate, go to Settings > General > iPhone Storage to ensure you have at least 5GB of free space. Next, check Settings > Privacy & Security > Analytics & Improvements > Analytics Data. Scroll for entries starting with 'panic-full'—if you see multiple entries with sensor codes like 'PRS0' or 'i2c', a specific hardware cable is failing.
Step 4
Inspect the Charging Port and Battery Health
Check Settings > Battery > Battery Health & Performance. If the peak performance capability lists 'Service' or degraded output, the device may crash as soon as the CPU demands a power spike. Clean any debris out of the charging port with a non-conductive wooden toothpick to rule out power input fluctuations.
Step 5
Disconnect the Upper Flex Cable (Advanced DIY)
If the phone restarts every 3 minutes continuously on models like the iPhone X through 13 series, the ambient light/earpiece flex cable is frequently shorted. Disassembling the display and temporarily unplugging the upper sensor assembly can immediately stop the restart loop, confirming that the front sensor flex needs replacement.
Likely causes
- Critically low internal storage preventing iOS from completing its boot sequence
- Degraded or depleted battery failing to deliver stable peak voltage to the processor
- Corrupted iOS system files resulting from an interrupted or failed software update
- Damaged top earpiece speaker / proximity sensor flex cable triggering kernel panics
- Liquid exposure or corrosion causing short circuits on the logic board components
- Stuck or damaged power/side button flex cable holding the physical switch closed
- Hardware failure in the NAND flash memory or power management micro-IC (PMIC)
What's going on
When an iPhone keeps turning on and off—commonly referred to as a boot loop—the phone's operating system is starting its boot checks, encountering a critical error or hardware drop, and shutting down to protect its hardware.
This behavior can happen before you ever reach the lock screen (looping on the Apple logo) or it might happen every few minutes after unlocking. While it feels like the phone is completely broken, the cause usually isolates down to one of two areas: a system software failure caused by zero free storage, or a faulty hardware sensor triggering a safety reset.
Symptoms people notice
- The infinite Apple logo loop: The screen lights up with the Apple logo for 5 to 15 seconds, goes black, and immediately repeats.
- Timed 3-minute restarts: The phone boots completely, lets you enter your passcode, but shuts off or restarts exactly 180 seconds later.
- Thermal throttling / Warm glass: The upper right section of the phone back panel gets hot to the touch during the restart cycle.
- Restarts tied to charging: The device stays powered on while plugged into a fast charger, but drops offline the moment it runs on battery power alone.
- Screen flashes before dying: A thin white line or brief colored screen (red or purple) appears right as the power cuts out.
Likely causes
- Full Storage (NAND saturation): iOS requires around 2GB to 3GB of workspace memory to unpack system files during boot. If your internal storage is completely full, the operating system crashes immediately upon startup.
- Failing Upper Flex Cable: On iPhone X, 11, 12, and 13 models, moisture or dust entering the top speaker mesh corrodes the proximity and ambient light sensors. iOS polls these sensors every 180 seconds; if it gets no response, it triggers an intentional kernel panic.
- Degraded Battery: Lithium-ion batteries degrade over time. When a worn battery cannot supply sudden voltage spikes demanded by the CPU, system brownouts force a sudden reboot.
- Interrupted iOS Update: A loss of Wi-Fi or battery depletion during an over-the-air system update can corrupt system files, breaking the system boot loader.
- Motherboard / PMIC Shorts: Physical drops or water exposure can crack solder joints beneath the board power management micro-chip.
Quick checks first
Before opening up hardware or resetting your phone, run through these non-invasive steps:
- Force Restart: Perform the hard restart key combination appropriate for your model. This forces a clean memory flush.
- Plug into a Power Bank or Computer: Test if the device stays powered on longer when connected to a steady power source.
- Inspect the Proximity Mesh: Look at the top ear speaker at the top of the screen. Is there liquid residue or noticeable impact damage?
- Check System Analytics: If the phone stays on for a couple of minutes, navigate to
Settings > Privacy & Security > Analytics Data. Look forpanic-fulllogs to see if a hardware component is named in the crash report.
When it's a real repair
If a forced restart and an iOS update via Recovery Mode fail to resolve the boot loop, you are facing a physical component issue:
- Battery Replacement: If the phone boots only while connected to power, or shuts off immediately upon unplugging, the battery cell is exhausted.
- Sensor Flex Replacement: If panic logs point to sensor failures or the device restarts every 3 minutes on the dot, replacing the top screen sensor cable will resolve the issue.
- Logic Board / Micro-soldering: If the device was severely water-damaged or dropped hard on concrete, internal power lines on the motherboard may require trace repair.
For guided teardowns on testing components yourself, read through our detailed repair guides.
DIY vs professional repair
- DIY Feasibility: High for software recovery, battery swaps, and modular flex cable replacements. Most modern iPhone components can be swapped using basic precision drivers and heat pads. If you are comfortable taking off the screen and managing tiny bracket screws, you can handle most sensor or battery replacements yourself.
- When to seek professional help: Micro-soldering board damage, recovering critical data from a storage-corrupted device without backing up, or repairing severe liquid intrusion requires specialized equipment. You can share your diagnostic symptoms with the LML Repair Community to get advice from seasoned fixers before sending a device out.
Next steps
- Try placing your iPhone into Recovery Mode and running an Update using Finder or iTunes.
- Read user experiences and panic log breakdowns in our /problems index.
- If software restoration doesn't stop the restarts, check out our step-by-step iPhone battery and screen teardown /guides to replace damaged hardware.
Next steps
Try the DIY guide if you're comfortable opening the device. Still stuck? Browse related problems for similar symptoms.

