Proximity, auto-rotate or face unlock not working? How to test your phone's sensors

Which sensor is misbehaving?
Match the symptom to the sensor — it's the fastest way to diagnose:
| Symptom | Sensor involved |
|---|---|
| Screen stays on / you cheek-tap during calls | Proximity sensor |
| Display won't auto-rotate | Accelerometer / gyroscope |
| Brightness won't auto-adjust | Ambient light sensor |
| Compass / maps direction wrong | Magnetometer |
| Face unlock fails | Front camera / IR sensors |
Test the sensors yourself
Our free sensor test checks the motion and orientation sensors so you can confirm whether they're responding at all. For the proximity sensor, make a call and cover the top of the screen — it should switch the display off; for auto-rotate, enable rotation and turn the phone sideways.
Try the software fixes first
A lot of sensor issues are software or accessory problems, not failed hardware:
- Restart the phone to reset stuck sensor services
- Install pending updates (sensor bugs are often patched)
- Remove a screen protector covering the proximity or face-unlock sensors at the top
- Take off a case that overlaps sensor cut-outs
- Re-enroll your face for face unlock; recalibrate the compass by moving the phone in a figure-8
The proximity sensor — the most common complaint
If the screen stays lit during calls and your ear keeps muting or hanging up, the proximity sensor isn't reading correctly. After ruling out a screen protector or case over the top of the screen, the usual hardware cause is a previous screen replacement with a cheap panel, or damage after a drop.
When it's a hardware fault
Suspect hardware if a sensor failed right after a screen replacement, a drop, or water exposure, or if software fixes do nothing. Sensors are usually part of a flex cable or the front assembly, so the fix is a component replacement. iTweak diagnoses which sensor and shows you before quoting, for Apple and Android, with warranty and a digital invoice.
Get it fixed
More diagnose-it-yourself guides
Not sure what's wrong? These walk you through spotting the fault before you book — and each links to the free phone self-test tools.
- No signal or 'No Service'? How to tell if it's your SIM, your network, or your phone
- Wi-Fi or Bluetooth not working on your phone? How to diagnose it
- Phone won't turn on? How to tell a dead battery from a black screen or a dead board
- Phone keeps restarting on its own? How to find the cause of random reboots
- Phone charging slowly? How to tell if it's the charger, cable, port, or battery
- Fingerprint sensor not working? How to fix Touch ID and in-display scanners
Related guides & repairs
Ready to fix it? See our phone repair service. Browse every Other brands repair-cost guide.
- Phone storage full or won't update? How to free space and fix failed updates
- Fingerprint sensor not working? How to fix Touch ID and in-display scanners
- Phone charging slowly? How to tell if it's the charger, cable, port, or battery
- Phone keeps restarting on its own? How to find the cause of random reboots