The flashing red light on an iPhone is a byproduct of the TrueDepth camera system, which uses infrared sensors to power Face ID and Attention Aware features. According to Apple’s technical specifications, these sensors map a user’s face to unlock the device and adjust screen behavior based on whether the user is actively looking at the display.
How the TrueDepth Camera and Infrared Sensors Work
The red light users see in dark environments isn’t a glitch; it’s the infrared emitter in action.
Beyond security, these sensors drive “Attention Aware” technology. This feature detects when you’re looking at your phone and can automatically lower the volume of alert notifications or prevent the screen from dimming while you’re reading. Most iPhones released after the 2017 iPhone X utilize this hardware, as do newer iPad models.
Pro Tip: If the red light bothers you at night, you can’t turn it off entirely, but you can stop the phone from constantly scanning. Go to Settings > Face ID & Passcode and toggle off Attention Aware Features.
Distinguishing the Infrared Light from Privacy Indicators
It is easy to confuse the hardware’s infrared flash with the software’s privacy dots. Apple introduced specific on-screen indicators to signal when sensitive hardware is active.
An orange dot appearing in the top-right corner, or within the Dynamic Island, indicates that an app is currently using the microphone. Unlike the infrared light, which is a physical beam of light from the sensor, the orange dot is a digital UI element designed to alert users to active recording or listening.
Did you know?
Future Trends in Biometric Sensing and User Privacy
Frequently Asked Questions
Why does my iPhone have a flashing red light in the dark?
It is the infrared sensor of the TrueDepth camera scanning for your face to enable Face ID or Attention Aware features.

Can I completely disable the infrared light?
No. Because the light is tied to the proximity sensor and Face ID, it cannot be fully disabled, though you can reduce its frequency by turning off Attention Aware features.
What is the difference between the red light and the orange dot?
The red light is a physical infrared beam from the camera; the orange dot is a software notification that the microphone is in use.
Want to optimize your device’s privacy? Share your thoughts in the comments below or subscribe to our newsletter for more deep dives into mobile hardware.
Keep reading