Phones · iPhone
iPhone Keeps Turning On And Off By Itself
When an iPhone constantly turns on and off by itself, the issue usually stems from corrupted software, a degraded battery, or shorted hardware sensors. Learn how to isolate the cause and restore stability.
Symptoms
- Apple logo appears on screen, turns off after a few seconds, and continuously repeats
- iPhone boots up to the lock screen for 1–3 minutes before suddenly shutting down
- Device only stays powered on when actively plugged into a charger
- Battery percentage fluctuates wildly right before the phone powers off
- Phone feels excessively hot near the upper back casing during reboot cycles
- Screen flashes briefly (red, green, or white) right as the device turns off
- Analytics logs in Settings list frequent panic-full or thermal panic entries
Quick troubleshooting
Step 1
Perform a hardware force restart
Force resetting clears stuck memory states that trigger boot loops. On iPhone 8 and newer, press and quickly release Volume Up, press and quickly release Volume Down, then press and hold the Side button until the Apple logo appears. Do not release the button until you see the logo, even if the screen turns off.
Step 2
Connect to power and check stability
Plug your iPhone into a reliable wall charger using a known-good cable. If the phone stops rebooting and operates normally while plugged in, the underlying issue is almost certainly a failing battery that can no longer supply required operational voltage on its own.
Step 3
Update or restore iOS via Recovery Mode
Connect your iPhone to a computer running Finder or iTunes. Force restart the iPhone while connected, but continue holding the side button until the computer screen graphic appears. Select 'Update' in iTunes/Finder to reinstall iOS without erasing data, which resolves corrupt software loops.
Step 4
Free up local storage or perform a DFU restore
If the phone stays booted for short windows, immediately open Settings > General > iPhone Storage and delete large apps or videos to ensure at least 5GB is free. If the system crashes before you can navigate, put the phone into DFU mode using your computer and perform a full restore.
Step 5
Disconnect the upper proximity sensor flex (Advanced)
If software updates fail and the phone reboots every 3 minutes, open the display using basic prying tools and temporarily disconnect the ear speaker/sensor assembly flex from the logic board. A damaged proximity sensor flex is a frequent cause of hardware-induced 3-minute kernel panic restarts.
Likely causes
- Critically degraded battery unable to sustain voltage under peak processor demand
- Full internal storage preventing iOS from writing temporary cache files during boot
- Corrupted iOS system files caused by a interrupted over-the-air software update
- Liquid exposure or corrosion on the ear speaker / proximity sensor flex assembly
- Stuck or damaged side (power) button flex cable physically triggering hard resets
- Logic board damage, such as a failed power management IC or cracked interposer joints
What's going on
An iPhone that keeps turning on and off by itself is trapped in a reboot loop or experiencing recurring kernel panics. When iOS detects a critical hardware failure or encounters a unrecoverable software error, it automatically halts operations and attempts to restart the system to protect components from damage.
Depending on the root cause, the phone may never reach the lock screen—flashing the Apple logo continuously—or it might boot fully, run for a precise amount of time (often 180 seconds), and shut down again. Identifying whether the issue is driven by system storage, a degraded battery, or a shorted sensor determines whether a simple software flash or a DIY hardware swap will fix it.
Symptoms people notice
- The screen displays the Apple logo, goes dark, and repeats the cycle indefinitely.
- The phone powers on, lets you unlock it, but reliably crashes every few minutes.
- Rapid battery drain or sudden drops from 50% to 1% right before the device shuts down.
- The device powers on only when connected to a charger, shutting off the moment you unplug it.
- Frequent crashes accompanied by high heat near the rear camera or top speaker.
- The device enters Recovery Mode automatically after failing to boot several times.
Likely causes
- Degraded Battery Health: As lithium-ion batteries age, their internal resistance rises. When the CPU demands peak power, a worn battery drops voltage below operational thresholds, causing an instant shutoff.
- Exhausted Internal Storage: iOS requires several gigabytes of free flash memory to manage system caches and virtual memory. If storage drops to 0 bytes, the operating system panics and reboots.
- Proximity Sensor / Front Flex Short: Liquid or moisture entering the top earpiece speaker mesh often corrodes the front sensor flex cable. iOS checks this sensor every 3 minutes; if it returns invalid data, the kernel panics.
- Corrupted Firmware Update: Interrupted over-the-air updates can leave core system binaries fragmented, leading to a boot loop on the initial Apple logo screen.
- Logic Board / Power IC Fault: Drops or flex stress can damage power management integrated circuits (PMIC) or separate the layered sandwich logic boards found in modern iPhones.
Quick checks first
Start by ruling out simple power and software glitches before opening the device:
- Force Restart: Perform a forced hardware reset using the button sequence specific to your iPhone model to clear cached memory.
- Charge Test: Leave the device on a wall charger for 30 minutes. If it stops rebooting while connected, suspect a failed battery.
- Check Panic Logs: If the phone stays on long enough, navigate to Settings > Privacy & Security > Analytics & Improvements > Analytics Data. Scroll down to entries starting with
panic-full. Open the latest file and look at the top lines for terms likethermal panicorprx0(proximity sensor), which pinpoint the faulty part.
When it's a real repair
If a force restart and an iOS update via Recovery Mode fail to stop the reboot loop, you are dealing with a hardware failure. Common hardware repairs for this symptom include:
- Battery Replacement: Replacing an aged or swollen battery restores stable peak voltage to the processor.
- Front Sensor Flex Replacement: Replacing the ear speaker and sensor array solves the classic 3-minute restart loop caused by liquid intrusion.
- Power Button Flex Replacement: Swapping a torn or stuck side-button assembly stops physical contact shorts.
If you inspect the panic logs and see missing sensor references (like mic1 or gas gauge), or if the device continues to reboot with all peripheral flex cables disconnected, the issue lies in logic board micro-soldering.
DIY vs professional repair
Fixing a boot-looping iPhone yourself depends on the isolated cause. Software re-flashing and battery replacements are beginner-friendly DIY projects that can be accomplished with basic precision tools. Replacing the front proximity sensor flex is also manageable, though it requires patience and care around delicate screen ribbon cables.
However, if the issue stems from logic board interposer separation or a damaged power management chip, special micro-soldering equipment and schematics reading are required. Review our detailed hardware repair guides at /guides to evaluate tool requirements and step-by-step procedures before starting.
If you prefer to avoid handling delicate ribbons or micro-soldering, you can consult technician resources or mail-in services through LML Experts to handle complex board-level diagnostics.
Next steps
- Try a Recovery Mode Update: Connect to a computer and attempt an iOS reinstall without wiping your data.
- Isolate Hardware: If the phone turns off every 3 minutes, search our /problems directory to cross-reference panic log codes.
- Gather Parts and Tools: If you pinpoint a bad battery or sensor flex, check our recommended component guides at /guides.
- Get Community Feedback: Post your specific panic log text or device symptoms in our /community forum for community feedback on your repair.
- Check Reviews: Read user experiences with replacement parts and repair methods at /reviews to choose the best solution for your iPhone.
Next steps
Try the DIY guide if you're comfortable opening the device. Still stuck? Browse related problems for similar symptoms.

