Fixing a Malfunctioning Proximity Sensor on Android

A malfunctioning proximity sensor usually shows up as the screen staying lit against your ear during calls, or the screen going dark at odd times. Here is how to track down the cause.

  1. Understand what the sensor does

    The proximity sensor sits near the top of the screen, close to the earpiece speaker, and uses infrared light to detect how close an object is. During a call it tells the phone to turn the screen off so your cheek does not trigger touches, and back on when you pull the phone away.

  2. Check your screen protector or case

    A thick, low-quality, or misaligned screen protector is one of the most common causes of proximity sensor issues, since it can block or scatter the infrared light the sensor relies on. Try removing the protector temporarily to see if the problem goes away.

  3. Clean the sensor area

    Dust, lint, or a smudge of skin oil directly over the sensor opening can interfere with its readings. Gently wipe the top edge of the screen near the earpiece with a dry microfiber cloth.

  4. Run a sensor test

    Many Android phones have a hidden diagnostic menu (often reached by dialing a code like *#0*# on Samsung devices) that includes a proximity sensor test, letting you wave your hand over the sensor and see a pass/fail result in real time.

  5. Restart the phone and check for updates

    A software glitch can occasionally cause the sensor to misreport its state even when the hardware is fine. Restart the phone, and check that your Android version and any relevant apps (like your dialer) are up to date.

  6. Use a workaround setting if the hardware is worn out

    Some phones or third-party dialer apps offer an option to disable proximity-based screen control entirely, letting you manually lock the screen during calls instead. This is a workaround, not a fix, but it is useful if the sensor hardware itself has degraded with age.

Hardware wear is a real possibility

Proximity sensors do not have moving parts, but the infrared emitter and receiver can degrade slowly over years of use, or get physically damaged after a drop that does not otherwise crack the screen. If cleaning, removing the screen protector, and restarting the phone all fail, this is a case where a repair shop or manufacturer diagnostic is worth the visit.

Dark or textured cases can also interfere

It is not just screen protectors β€” a case with a lip that extends over the top edge of the screen, especially a dark-colored or textured one, can sometimes block the sensor's infrared path enough to cause misreads. If removing the screen protector does not help, try the phone without its case as well.

Frequently Asked Questions

Why does my screen stay off even after the call ends?

This usually means the sensor is stuck reporting 'covered' even when nothing is near it. Restarting the phone typically clears a stuck sensor reading; if it recurs frequently, it points toward a hardware issue rather than a one-off glitch.

Is there a way to just turn the sensor off permanently?

Stock Android does not offer a simple toggle for this, but some phone brands or third-party dialer apps include a setting to disable proximity-based screen locking during calls, trading the convenience of automatic locking for consistent behavior.