How does a rain sensor on a windshield work?
Reviewed by the Skyview Auto Glass technical team — NWRD-, ASE- and DINITROL-trained technicians · Updated November 2026
Quick answer
A rain sensor shines infrared light into the windshield and measures how much bounces back inside the glass. When rain hits the surface, it scatters the light, and the sensor reads the change and triggers the wipers. On a replacement, the gel pad under the sensor must seat flat without bubbles so the reading stays accurate.
How do automatic wipers know it is raining?
The sensor works by watching how light behaves inside the glass, not by feeling the water.
- 1
Light shines into the glass
An infrared LED sends light into the windshield at an angle so it reflects along the inside surface.
- 2
Dry glass reflects it back
When the surface is dry, most of the infrared light bounces back to a receiver beside the emitter.
- 3
Rain scatters the light
A raindrop on the outside breaks the reflection and scatters the light outward, so less reaches the receiver.
- 4
The sensor triggers the wipers
The drop in received light tells the system the glass is wet, and it sets the wiper speed to match the rainfall.
What is a rain sensing windshield?
A rain-sensing windshield is not a special kind of glass; it is a standard windshield fitted with a rain sensor mounted behind the rearview mirror. The sensor reads the glass through a gel pad that couples it optically to the surface, filling the tiny air gap so the infrared light passes cleanly in and out. The system then adjusts wiper speed automatically as the rainfall changes.
On a windshield replacement, the sensor is removed from the old glass and reseated on the new one with a fresh gel pad. That pad must sit flat against the glass with no bubbles or gaps, because any air trapped under it scatters the infrared light the same way a raindrop does, and the wipers may run constantly or not at all. A clean reseat keeps the reading accurate.
The rain sensor is distinct from the forward camera, though they often sit near each other behind the mirror. The camera handles lane keeping and automatic braking; the rain sensor handles the wipers. On some vehicles the rain-and-light sensor is re-initialized as part of the replacement. See our guide on what gets recalibrated after a windshield replacement for how the two differ.
Rain sensor not working after windshield replacement?
A wiper that runs on a dry glass or never triggers usually means the gel pad is bubbled, misaligned, or missing. It is a reseating matter, not a sensor failure, and the installer is the first call.
More questions about rain sensors
Why is my rain sensor not working after a windshield replacement?
The gel pad that couples the sensor to the glass usually needs reseating. A bubbled, misaligned, or missing pad scatters the infrared light the way a raindrop does, so the wipers misfire. The installer reseats the pad flat against the glass to fix it.
Does a rain sensor need calibration after a replacement?
The sensor itself is reseated with a fresh gel pad rather than calibrated. On some vehicles it is re-initialized as part of the replacement. The forward camera is the component that gets recalibrated when the vehicle requires it.
Where is the rain sensor located?
It mounts behind the rearview mirror, often alongside the light sensor, looking out through a clear zone on the windshield. The gel pad couples it to the glass so the infrared light passes cleanly in and out.
Related guides
More in Glass types and features
Need auto glass service?
Skyview Auto Glass has 191 shops across Michigan, Indiana and Illinois, each offering in-shop and mobile service. Call us or book a visit — same-day service is often available.