sodcalculator

10 Tech How-To

Samsung Phone Proximity Sensor Location & Fixes

Guide 10-51915 · Updated · Step by step

The proximity sensor on a Samsung phone sits in the top bezel, just above the display, usually to the left or right of the earpiece speaker grille. It is a tiny infrared emitter and receiver that detects when an object (like your ear) is close to the screen, so the touchscreen can be disabled during calls to prevent accidental taps. If you’re having issues with your screen turning off during calls or staying black after you pull the phone away, this guide explains exactly where the sensor is, how it works, and how to fix common problems.

What Is the Proximity Sensor and Why Does It Matter?

The proximity sensor is a small component that uses infrared light to measure distance. On Samsung phones, it is typically located in the top bezel area, near the front-facing camera and the earpiece. Its primary job is to detect when you hold the phone to your ear during a call. When the sensor is blocked, the phone’s display turns off to prevent your cheek or ear from accidentally pressing buttons, hanging up, or opening apps. When you move the phone away, the sensor detects the change and the screen turns back on.

This sensor also plays a role in other features, such as automatically muting alarms when you pick up the phone (on some models) and preventing accidental touches when the phone is in a pocket or bag. Without a working proximity sensor, you might experience the screen staying on during calls (causing accidental taps) or the screen staying black after a call (forcing you to press the power button).

Where Exactly Is the Proximity Sensor Located?

On virtually all Samsung Galaxy models—from the budget A-series to the flagship S-series and Z-foldables—the proximity sensor is in the top bezel, just above the display. It is usually positioned:

  • To the left of the earpiece speaker grille (the thin slit where you hear the caller).
  • To the right of the front-facing camera hole or punch-hole cutout.
  • Sometimes it is integrated into the same small strip as the light sensor and the camera.

On older models with a thicker top bezel, you might see a tiny dot or slit that is the sensor window. On newer models with an edge-to-edge display, the sensor is hidden behind the glass and is not visible. You can locate it by looking at the top edge of the phone’s front, just above the screen, and finding the small cluster of components near the earpiece.

If you have a Galaxy Z Flip or Z Fold, the sensor is still in the same relative position on the main display—top bezel area. On the Z Fold’s cover screen, the sensor is in the top bezel of that smaller display.

How Does the Proximity Sensor Work?

The sensor works by emitting a beam of infrared light (invisible to the human eye) and then measuring how much of that light bounces back. When you hold the phone to your ear, the light reflects off your skin and returns to the receiver, telling the phone that an object is very close. The phone then turns off the touchscreen. When you pull the phone away, the light no longer reflects back, and the screen re-enables.

This is a simple on/off mechanism, not a distance-measuring tool. The sensor doesn’t calculate exact distance; it just detects whether something is within a few centimeters. That’s why it works even in complete darkness—it uses its own light source, not the ambient light.

The sensor is controlled by the phone’s software, which decides when to activate it. During calls, it is always active. In other apps, it may be used for “smart stay” features or to prevent accidental touches when the phone is face-down.

Common Problems and How to Fix Them

If your proximity sensor isn’t working correctly, you might notice the screen staying on during calls, or the screen staying black after a call. Here are the most common causes and fixes:

  1. Dirt or debris: The sensor window can get covered by dust, oil, or screen protector residue. Clean the top bezel gently with a soft, dry cloth. Avoid using liquids that could seep into the openings.
  2. Screen protector: Some screen protectors, especially thick glass ones, can block the infrared beam. If you have a protector, try removing it and test again. If the sensor works without it, you need a protector with a cutout or a thinner one.
  3. Software glitch: A temporary bug can cause the sensor to misbehave. Restart your phone. If the problem persists, check for system updates in Settings > Software Update.
  4. App interference: Some apps, particularly those that use the camera or have accessibility permissions, can conflict with the sensor. Boot into Safe Mode (press and hold Power, then tap and hold “Power off” until the Safe Mode prompt appears). If the sensor works in Safe Mode, a third-party app is the culprit. Uninstall recently installed apps.
  5. Hardware failure: If none of the above work, the sensor itself may be damaged. This can happen from drops or water damage. In that case, contact Samsung support or a repair shop.

You can test the sensor by opening the Phone app, dialing a number, and covering the top of the screen with your thumb. The screen should turn off. If it doesn’t, the sensor is likely blocked or faulty.

How to Check if Your Proximity Sensor Is Working

There is a built-in diagnostic test on most Samsung phones that doesn’t require any third-party app. Here’s how to use it:

  1. Open the Phone app (the default dialer).
  2. Dial *#0*# to enter the service menu.
  3. Tap “Sensor” (or “Proximity” on some models).
  4. You’ll see a screen with a graphic. Place your hand or thumb over the top of the phone (where the sensor is). The value should change from “Far” to “Near” or the graphic should change color.
  5. Remove your hand, and it should go back to “Far.”

If the value doesn’t change, your sensor is not functioning. Note that this service menu is not available on all carriers or regions, but it is a standard feature on most Samsung phones. If it doesn’t work, you can also use a free app from the Play Store like “Proximity Sensor Test” or “Sensor Test.”

Proximity Sensor vs. Light Sensor: What’s the Difference?

People often confuse the proximity sensor with the ambient light sensor. They are two different components, even though they sit side by side.

  • Proximity sensor: Uses infrared to detect if an object is close. It controls the screen during calls.
  • Light sensor: Measures the brightness of the surrounding environment. It adjusts the screen brightness automatically.

Both are usually located in the same small strip at the top of the phone, but they serve different purposes. If your screen brightness doesn’t adjust automatically, the light sensor might be the issue, not the proximity sensor.

Can You Disable the Proximity Sensor?

On Samsung phones, you cannot completely disable the proximity sensor through the standard settings. It is a core safety feature that prevents accidental touches during calls. However, you can work around it in some cases:

  • Use the speakerphone or a Bluetooth headset so you don’t hold the phone to your ear.
  • In the Phone app, go to Settings (three dots > Settings) and look for “Call” or “Call-related” options. Some models have a “Proximity sensor” toggle, but it’s rare.
  • If you are having persistent issues, you can use an app like “Proximity Sensor Reset” or “Sensor Disabler” that uses root access to override the sensor. This is not recommended for most users because it can cause accidental touches and is not a permanent fix.

If you are having problems, it’s better to fix the underlying issue (like cleaning the sensor or removing a screen protector) than to disable it.

Frequently Asked Questions

Why does my Samsung screen stay black after a call?

This is usually because the proximity sensor thinks the phone is still near your ear. The sensor might be blocked by dirt, a screen protector, or a case that covers the top of the phone. Clean the sensor area, remove any case or protector, and restart your phone. If the problem persists, the sensor may be faulty.

Where is the proximity sensor on a Samsung S21?

On the Galaxy S21, the proximity sensor is located in the top bezel, just above the display, to the right of the earpiece speaker. It is not visible because it is hidden behind the glass, but it is in the same general area as the front camera.

Can a screen protector block the proximity sensor?

Yes. A thick or poorly aligned screen protector can cover the sensor window and block the infrared light. If you have a glass protector and notice sensor issues, try removing it. If the sensor works without it, you need a protector with a cutout or a thinner one.

Does the proximity sensor work in the dark?

Yes, because it uses infrared light, which is invisible to the human eye but works independently of ambient light. The sensor emits its own light, so it functions in complete darkness.

How do I reset the proximity sensor on my Samsung?

There is no official “reset” for the proximity sensor. You can clear the cache partition (turn off the phone, then press and hold Volume Up and Power to boot into recovery mode, then select “Wipe cache partition”). This clears temporary system files and can fix software glitches. If that doesn’t work, a factory reset will, but be sure to back up your data first.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →