Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All Articles →
🎬 Helpful Videos 🛍️ Shop This Part

Mazda Rain & Light Sensor Failure: 2022-2025 CX-30, CX-50, Mazda3 & More

Diagnose why your auto headlights and wipers are failing, and learn how to replace the sensor module without wasting money.

5 minutes to read 2022-2025 Mazda CX-30 2023-2025 Mazda CX-50 2024-2025 Mazda CX-90 2023-2025 Mazda 3 2025-2025 Mazda CX-70
Difficulty
1/5
Est. Time
0.5 hrs
DIY Doable?
✅ Yes
Shop Labor
$75 - $150
Used OEM Price
$50 - $125
⚠️ Drivable, but... — Yes, but you will lose all automatic headlight and wiper functions. You must operate these systems manually.
Key Takeaways
  • This part is a combined Rain and Light Sensor that controls both auto headlights and auto wipers.
  • Failure is often caused by a bad adhesive gel pad, not the sensor itself, especially after a windshield replacement.
  • This sensor does NOT control the Automatic High Beams; that function is handled by the separate Forward Sensing Camera (FSC).
  • Replacement is very easy (Difficulty 1/5) but requires a new, bubble-free installation of the adhesive pad for proper function.
The Automatic Headlight Sensor in these Mazda models is part of an integrated unit called the Rain and Light Sensor. Mounted on the interior of the windshield near the rearview mirror, this component performs two key jobs. An optical sensor measures ambient light and tells the Body Control Module (BCM) when to turn the headlights on or off. Simultaneously, an infrared sensor detects moisture on the glass to automatically control the windshield wipers when they are set to 'AUTO'. This combined functionality is central to the vehicle's convenience and safety systems.

Is it the Rain/Light Sensor or the Forward Camera?

Exterior view of a Mazda windshield showing the Forward Sensing Camera and Rain/Light Sensor housings.
The Forward Sensing Camera (FSC) handles driver-assist features like lane-keep assist, while the smaller Rain & Light Sensor strictly manages automatic wipers and headlights.

Many owners confuse the function of two different windshield-mounted sensors. It's important to know which part does what before you start a repair.

  • The Rain & Light Sensor (this part) controls the basic automatic on/off function of your headlights based on ambient light (dusk, tunnels) and the automatic operation of your windshield wipers when it rains.
  • The Forward Sensing Camera (FSC) is a separate, more complex camera that manages driver-assist systems. This includes the Automatic High Beam Control (switching between high and low beams for traffic), Lane-Keep Assist, and Smart Brake Support (Automatic Emergency Braking).

Recall Notice: Mazda issued recall 6824H (NHTSA ID: 24V649) for a small number of 2024 Mazda 3, 2024 CX-30, and 2025 CX-50 vehicles due to a faulty Forward Sensing Camera (FSC). This recall specifically addresses failures in the automatic high beams and other i-ACTIVSENSE safety systems, not the basic auto on/off headlights controlled by the rain/light sensor.

Symptoms of a Failing Rain & Light Sensor

Comparison showing a properly installed rain sensor with a clear gel pad versus a failing sensor with trapped air bubbles in the adhesive.
Often, erratic wiper or headlight behavior isn't the sensor itself, but a degraded or bubbled adhesive gel pad blocking the sensor's view.
Close-up of an uninstalled rain and light sensor showing the clear lens and electrical connector pins.
When buying a used OEM sensor, carefully inspect the clear lens for scratches and ensure the electrical connector pins are straight and free of corrosion.

When this sensor fails, you'll notice issues with automatic functions. The most common symptoms include:

  • Headlights Stay On All The Time: The sensor incorrectly reads the environment as dark, keeping the headlights and taillights on even in bright daylight. This can also cause the infotainment screen and Head-Up Display (HUD) to remain in their dim "night mode."
  • Automatic Headlights Don't Turn On: The opposite of the above, the sensor fails to detect darkness, and you have to turn the headlights on manually.
  • Automatic Wipers Don't Work: With the wiper stalk in the 'AUTO' position, the wipers will not activate when it rains.
  • Erratic Wiper or Light Behavior: The systems may work intermittently or behave unpredictably.

Pro Tip: Often, these symptoms are not caused by a failed sensor, but by a faulty adhesive gel pad between the sensor and the windshield. If air bubbles get trapped or the gel degrades, especially after a windshield replacement, the sensor can no longer get a clear reading.

Buying a Used Rain & Light Sensor

A used OEM sensor is an excellent, cost-effective alternative to an expensive new part. Because it's a genuine Mazda part, it's guaranteed to communicate correctly with your vehicle's other electronic modules, avoiding the compatibility headaches that can come with aftermarket electronics.

What to Inspect Before Buying

  • Check the Lens: The clear lens on the face of the sensor should be free of cracks, deep scratches, or haziness.
  • Inspect the Connector: Look at the electrical connector pins. They should be straight, clean, and free of any corrosion.
  • Ask About the Donor Vehicle: If possible, find out the mileage of the vehicle the part came from. Lower mileage is always better for electronic components.

Compatibility and Part Numbers

This sensor is shared across the 2022-2025 Mazda CX-30, 2023-2025 Mazda CX-50, 2024-2025 Mazda CX-90, 2023-2025 Mazda 3, and 2025 Mazda CX-70. However, always verify the part number.

  • The most current part number is BDGF-66-5G0J.
  • This part supersedes (replaces) older versions like BDGF-66-5G0H.

Warning: You MUST use a new adhesive pad when installing the sensor. The part number for the pad is often TK80-66-5G2. Do not reuse the old pad, as it will not seal properly and will cause the sensor to malfunction.

Replacement Guide (Difficulty: 1/5)

Using a plastic trim tool to pry open the plastic cover behind the rearview mirror on a Mazda.
The rain and light sensor is hidden behind the plastic trim cover at the base of the rearview mirror. Use a plastic pry tool to gently unclip it.

Replacing the rain and light sensor is a simple job that most DIYers can complete in under 30 minutes. The process is nearly identical across all listed Mazda models.

🎬 Watch this step-by-step walkthrough of the sensor and pad replacement.

Tools Needed

  • Small plastic pry tool or trim remover
  • Clean, lint-free cloth

Step-by-Step Instructions

  1. For safety, disconnect the negative terminal from your vehicle's battery.
  2. The sensor is located behind the rearview mirror. Gently pry open the plastic cover surrounding the mirror's base. It is typically held on by clips.
  3. With the cover removed, you will see the sensor. Press the release tab on the electrical connector and pull it away from the sensor.
  4. Slide the locking tabs on the sensor's mounting bracket to release it from the windshield. Remove the sensor.
  5. Thoroughly clean the mounting area on the windshield to remove any old adhesive residue.
  6. Peel the backing from your new adhesive pad and carefully apply it to the new or used replacement sensor, ensuring there are no air bubbles.
  7. Peel the final backing from the pad and press the sensor firmly onto the windshield bracket. Ensure there are no air bubbles between the sensor and the glass.
  8. Reconnect the electrical connector, snap the plastic cover back into place, and reconnect the battery.

After Installation

After replacing the sensor, you may need to reset the auto light sensitivity. This can often be done in the vehicle settings menu on your Mazda Connect infotainment screen. If the system was set to something other than the default ('Medium'), it may not operate correctly until you re-select your desired setting.

Cost Comparison

Part TypeEstimated Cost
New OEM$220 - $320
Used OEM$50 - $125
New Aftermarket$75 - $150 (Verify compatibility carefully)
Shop Labor$75 - $150

Frequently Asked Questions (FAQ)

Do I need to recalibrate the sensor after replacing it?

A full dealer-level recalibration is not usually necessary. However, you should check the auto light sensitivity settings in your infotainment system after installation to ensure it's set to your preference, as replacing the sensor can reset it to default.

My automatic high beams aren't working. Is this the right part to fix it?

No. Automatic high beam control is managed by the Forward Sensing Camera (FSC), a different part located nearby. The rain and light sensor only controls the standard automatic on/off function of the headlights.

Can I just replace the adhesive gel pad?

Yes. If your sensor is malfunctioning after a windshield replacement or you can see visible bubbles under the lens, replacing only the adhesive pad (Part No. TK80-66-5G2) is a very common and inexpensive first step that often solves the problem.

🎬 See how to properly replace the adhesive gel pad yourself.
Why did my sensor fail right after a windshield replacement?

This is a very common issue. The technician may have accidentally damaged the sensor during removal, or more likely, they reused the old adhesive gel pad. An old pad that has been removed and reinstalled rarely creates the perfect, bubble-free seal required for the sensor to read through the glass correctly.

# HOW TO REPLACE RAIN SENSOR AND RAIN SENSOR SHEET M-CX3
# HOW TO REPLACE RAIN SENSOR AND RAIN SENSOR SHEET M-CX3
Rain Light Sensor Gel pad Replace
Rain Light Sensor Gel pad Replace
“System disabled due to poor outward camera visibility” in Mazda cars
“System disabled due to poor outward camera visibility” in Mazda cars
2020 Mazda CX-30 Safety Features in the Rain with Jonathan Sewell Sells in Enterprise Alabama
2020 Mazda CX-30 Safety Features in the Rain with Jonathan Sewell Sells in Enterprise Alabama

Technical Specifications

OEM Part Numbers: BDGF-66-5G0J BDGF-66-5G0H BDGF-66-5G0G BDGF-66-5G0

Integrated rain and ambient light sensor module. Mounts to windshield.

Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated May 25, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the Automatic Headlight Sensor for:
  • Mazda CX-30: 2022202320242025
  • Mazda CX-50: 202320242025
  • Mazda CX-90: 20242025
  • Mazda 3: 202320242025
  • Mazda CX-70: 2025
In this article
🎬 Helpful Videos
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part