iPhone Keeps Going to Lock Screen? Fixes That Work
In this article
- Why Does My iPhone Keep Locking Itself?
- First: Check Auto-Lock and Display Settings
- Clean or Replace a Stuck Side or Home Button
- Face ID or Touch ID Failure Can Force a Lock
- Software Glitches and How to Reset Them
- Case and Screen Protector Interference
- Hardware Damage: What to Do
- Frequently Asked Questions
If your iPhone keeps returning to the lock screen unexpectedly, the most common causes are a faulty Face ID or Touch ID sensor, an unresponsive physical button, a software glitch, or an aggressive Auto-Lock setting. This guide walks you through each likely cause and the exact steps to fix it, from simple settings checks to a full restore.
Why Does My iPhone Keep Locking Itself?
An iPhone locks itself for one of three reasons: you pressed a button, the software thinks you pressed a button, or the Auto-Lock timer expired. When it happens repeatedly without you touching anything, the culprit is almost always one of these:
- Auto-Lock set too short – if it’s set to 30 seconds, the screen will go dark and lock very quickly.
- Side button or Home button stuck – a physically stuck button sends a constant “press” signal.
- Face ID or Touch ID failure – if the sensor fails repeatedly, iOS locks the screen to force you to enter your passcode.
- Screen protector or case interference – a poorly fitted protector can cover the proximity sensor or press the buttons.
- Software bug – a corrupted settings file or a failed update can cause erratic lock behavior.
First: Check Auto-Lock and Display Settings
Start with the simplest fix. Go to Settings → Display & Brightness → Auto-Lock. Choose 1 minute or Never (if you don’t mind the battery drain). If it was already set to 30 seconds, that’s your answer. Also check Settings → Accessibility → Touch (or Face ID & Passcode) for any toggle that might be triggering a lock, like “Tap to Wake” or “Raise to Wake” – these don’t lock the phone, but they can make the screen turn on and off, which can feel like locking.
If Auto-Lock is not the issue, move on to the next steps.
Clean or Replace a Stuck Side or Home Button
A common hidden cause is a physical button that’s stuck in the pressed position. This can happen after a drop, or from dust and debris getting under the button. To test: press the button firmly a few times and see if it clicks normally. If it feels mushy or doesn’t click, try cleaning around it with a soft, dry, lint-free cloth. Do not use water or solvents. If the button is truly stuck, you may need to take it to a repair shop. On iPhones with Face ID, the side button is the only lock button. On older models, the top or side button plus the Home button both lock the device.
Face ID or Touch ID Failure Can Force a Lock
If Face ID or Touch ID fails to recognize you several times in a row, iOS locks the screen and requires your passcode. If your sensor is dirty, blocked, or damaged, it will fail repeatedly. For Face ID: make sure the TrueDepth camera at the top of the screen is clean and unobstructed. For Touch ID: clean the Home button and your finger. If you have a screen protector, verify it doesn’t cover the sensor. If the sensor is damaged, you’ll see a message like “Face ID has been disabled” – in that case, you’ll need to use your passcode until it’s repaired.
Software Glitches and How to Reset Them
A one-off software bug can cause random lock behavior. Try these in order:
- Force restart your iPhone – the method varies by model. For iPhone 8 and later: press and release Volume Up, then Volume Down, then hold the Side button until the Apple logo appears. For iPhone 7: hold Volume Down + Side button. For iPhone 6s and earlier: hold Home + Top/Side button.
- Check for iOS updates – go to Settings → General → Software Update. Install any pending update, as Apple often fixes lock-screen bugs.
- Reset all settings – go to Settings → General → Transfer or Reset iPhone → Reset → Reset All Settings. This won’t delete your data, but it will reset Wi-Fi passwords, wallpapers, and accessibility settings. It can clear a corrupted settings file that causes the issue.
- Restore via a computer – if nothing else works, back up your iPhone, then connect to a computer and use Finder (macOS Catalina or later) or iTunes (Windows or older macOS) to restore the device to factory settings. This is the most thorough software fix.
Case and Screen Protector Interference
Sometimes the fix is as simple as removing your case. A tight case can press the side button continuously, or a magnetic mount can trigger the lock screen. If you use a screen protector, check that it doesn’t cover the proximity sensor (located near the earpiece) – a blocked proximity sensor can cause the screen to turn off during calls and sometimes lock the phone. Remove the case and protector, then test the phone for a few hours. If the problem stops, you know the accessory is the culprit.
Hardware Damage: What to Do
If you’ve tried all the software fixes and the problem persists, it’s likely a hardware issue. Common culprits include a faulty power button, a damaged charging port that sends phantom signals, or a failing battery that causes the phone to shut down and lock. If your iPhone is under warranty, contact Apple Support. If not, a reputable repair shop can diagnose the issue. Avoid DIY repairs unless you have experience, as opening an iPhone can cause further damage.
Frequently Asked Questions
Why does my iPhone lock when I’m in the middle of using it?
This usually means you’re accidentally pressing the side button, or the Auto-Lock timer is set to 30 seconds. Check Auto-Lock first, then check if your case or grip is pressing the button. If it happens only during certain apps, it could be a specific app bug – force-close the app and update it.
Can a low battery cause the iPhone to lock?
No, a low battery doesn’t cause the lock screen to appear, but when the battery is critically low, the phone may shut down completely, which looks like a lock. If your phone shuts off at 20% or higher, your battery may need calibration or replacement.
Will resetting all settings delete my photos?
No. Reset All Settings only resets system settings like Wi-Fi, Bluetooth, and notifications. It does not delete photos, contacts, or apps. However, it’s always wise to back up before doing any reset.
How do I know if it’s a hardware problem vs. software?
If the problem happens even after a full restore (which erases all software), it’s almost certainly hardware. Also, if the lock happens when you press a specific spot on the screen or when you put pressure on the phone, that points to hardware.
Does a screen protector cause Face ID to fail?
Yes, if the protector has a cutout that’s misaligned, or if it’s thick or has a privacy filter, it can block the TrueDepth camera. Most quality protectors are designed to work with Face ID, but remove it to test if you suspect it.
Why does my iPhone lock when I take it out of my pocket?
This is likely due to “Raise to Wake” or “Tap to Wake” being enabled, combined with accidental touches. Go to Settings → Display & Brightness and turn off “Raise to Wake” if you don’t need it. Also, make sure your pocket isn’t pressing the side button.