2017-2025 Mazda CX-5 Headlight: AFS vs. Standard and Known Failure Points
This guide explains the critical differences between adaptive and standard LED headlights for the Mazda CX-5 to ensure you buy the right part the first time.
- You MUST verify if your CX-5 has Standard LED or Adaptive Front-lighting System (AFS) headlights; they are not interchangeable.
- The LED Daytime Running Lights (DRLs) and main beams are integrated. If any part of the light fails, the entire assembly must be replaced.
- A known issue on 2019-2023 models is a buzzing noise from the headlight, caused by a failing internal fan motor (TSB SA-013-23).
- When buying a used assembly, the most critical inspection is for broken or repaired mounting tabs, as they are fragile and essential for proper fitment.
- All replacement headlights require manual aiming after installation, and AFS models may need electronic calibration to function correctly.
Understanding the Headlight Options for Your 2017-2025 CX-5

When replacing a headlight on a 2017-2025 Mazda CX-5, the single most important factor is determining which version your vehicle has. All trims use LED headlights, but they come in two main variations that are not interchangeable.
Standard LED Headlights
Found on lower to mid-range trim levels (like Sport, Touring, and Select), these are high-quality LED headlights that provide excellent illumination. They feature automatic leveling, which adjusts the beam height based on the vehicle's load to avoid glaring at oncoming drivers. However, they have a fixed forward-facing beam.
Adaptive LED Headlights (AFS)
Standard on higher trims (like Grand Touring, Grand Touring Reserve, and Signature), these headlights include the Adaptive Front-lighting System (AFS). This system pivots the low beams into turns as you steer, improving visibility on winding roads. These assemblies have different internal motors, wiring connectors, and require communication with the AFS control module, making them incompatible with vehicles not originally equipped with the feature.
Warning: Standard and Adaptive (AFS) headlight assemblies are NOT interchangeable. They use different wiring harnesses and control modules. Attempting to 'upgrade' from standard to AFS requires extensive and costly rewiring and programming. Always confirm which system your vehicle has before purchasing a replacement.
Known Issues, Recalls, and Technical Service Bulletins (TSBs)

Headlight Buzzing or Humming Noise (TSB SA-013-23)
Some owners of 2019-2023 CX-5 models may notice a persistent buzzing or humming noise from one or both headlight assemblies, even after the car is turned off. Mazda issued Technical Service Bulletin SA-013-23 🎬 Watch: Hear the buzzing noise and see the TSB fix to address this. The noise is caused by a small internal cooling fan motor whose bearings can wear prematurely due to contamination during manufacturing. Since the headlight is a sealed unit, it cannot be repaired. The only authorized fix is to replace the entire headlight assembly. This repair is covered under the vehicle's new car warranty, but can be costly if the warranty has expired.
Internal Condensation or Fogging (TSB 09-030/20)
For 2017-2020 models, Mazda acknowledged an issue where headlights could develop internal fogging or water spots. This was attributed to the performance of the original anti-fog coating inside the lens. A TSB was issued to address the problem by replacing the affected headlight assembly with an updated part that has an improved coating. This repair is typically covered under the vehicle's original warranty.
Daytime Running Light (DRL) Failure Recall (2016 Models)
While this recall primarily affects the 2016 model year, it's a well-known issue in the CX-5 community. A recall (NHTSA Campaign 20V063000, Mazda recall 4320A) was issued because the LED Daytime Running Lights could flicker or fail completely. The cause was a sealing gasket that released sulfur, corroding the LED circuit. The fix involves dealers inspecting the headlights and replacing the gasket or the entire assembly if needed. This issue highlighted that a DRL failure requires a full assembly replacement, a trait carried over to the 2017+ generation.
Symptoms of a Failing Headlight Assembly

- Dim or Flickering Headlight: An LED element or the internal driver module may be failing.
- Daytime Running Light (DRL) is Out: The signature LED DRL strip is integrated. If it fails, the entire assembly must be replaced.
- "AFS OFF" Warning Light: On models with adaptive headlights, this light indicates a system malfunction. This could be a fault in the headlight motor, a suspension height sensor that provides data to the system, or the AFS control module itself. The headlights will typically default to a fixed, centered position. 🎬 See this guide on diagnosing the AFS OFF warning light
- Moisture or Condensation Inside Lens: This indicates a failed seal. If left unaddressed, the moisture can damage the internal electronics, leading to a complete failure.
- Headlights Aimed Too Low: If the auto-leveling system fails, the headlights may default to their lowest position as a fail-safe, severely limiting visibility.
- Buzzing or Whirring Noise: As described in the TSB, this points to a failing internal fan motor.
Buyer's Guide: What to Look for in a Used 2017-2025 CX-5 Headlight

Buying a used OEM headlight is a great way to save money, as new units can be very expensive. However, careful inspection is critical.
1. Confirm Your Headlight Type
Before you shop, determine if you have Standard or Adaptive (AFS) headlights. Check for an "AFS OFF" switch on the dashboard to the left of the steering wheel. If you have this switch, you have adaptive headlights. You can also check your vehicle's original window sticker or trim level specifications.
2. Physical Inspection Checklist
- Mounting Tabs: This is the most critical inspection point. Check every single mounting tab. They are made of plastic and become brittle with age, often breaking during an accident or even during removal. A headlight with broken or repaired tabs will not mount securely.
- Lens Condition: Look for deep scratches, rock chips, and hazing or yellowing from UV damage. Minor surface issues can sometimes be polished, but major damage cannot.
- Housing Integrity: Inspect the black plastic housing on the back for any cracks or signs of repair. A cracked housing will allow moisture to enter and destroy the light.
- Seals and Covers: Ensure the round access covers on the back are present and their rubber seals are intact and pliable.
- Internal Components: Look inside the lens for any signs of moisture, debris, or damage to the chrome or black internal reflectors.
3. Included Components
A headlight assembly is primarily the housing and integrated LEDs. The LED control module (also called a driver or ballast) is often a separate, bolt-on component. When buying used, confirm if the module is included. If not, you will need to transfer the one from your old headlight or purchase one separately.
Replacement and Calibration

Installation
Replacing the headlight assembly on a 2017-2025 CX-5 requires removing the front bumper cover. While not overly complex, it can be intimidating for a novice. The process involves removing numerous clips, screws, and carefully unsnapping the bumper from the fenders. Once the bumper is off, the headlight is held in by a few bolts.
Aiming and Calibration
Important: Headlight aiming is mandatory after replacement. Misaligned headlights can blind other drivers and are illegal.
Aiming is done by parking the vehicle on a level surface facing a wall (about 25 feet away) and turning adjustment screws on the back of the assembly to align the beam's cutoff line to the correct height. There is usually one screw for vertical adjustment. Some models may have a horizontal adjustment, though dealers sometimes claim they do not.
- Auto-Leveling Reset: For all models, the auto-leveling system may need to be initialized or reset after replacement.
- AFS Calibration: For adaptive headlights, a calibration procedure using a Mazda-specific diagnostic tool may be required to ensure the system functions correctly and to clear any AFS warning lights. 🎬 Watch: How to disable AFS lights when using aftermarket headlights
Cost of Replacing a 2017-2025 Mazda CX-5 Headlight
| Part or Service | Estimated Cost |
|---|---|
| New OEM Headlight Assembly | $1,100 - $1,800 per side |
| New Aftermarket Headlight Assembly | $250 - $600 per side |
| Used OEM Headlight Assembly | $150 - $750 per side |
| Shop Labor for Installation | $200 - $400 |
Frequently Asked Questions (FAQ)
My daytime running light (DRL) is out, but the headlight works. Can I just replace a bulb?
No. On the 2017-2025 CX-5, the DRL is a non-serviceable LED strip that is permanently integrated into the headlight assembly. If the DRL fails, the entire headlight unit must be replaced.
Can I upgrade my standard LED headlights to the adaptive (AFS) version?
This is not a practical or cost-effective upgrade. It would require replacing the headlight assemblies, adding the AFS control module, extensive wiring changes, and programming the vehicle's computer. It is far more complex than a simple parts swap.
What does the flashing "AFS OFF" light on my dashboard mean?
This light indicates a fault within the Adaptive Front-lighting System. The system is disabled, and the headlights will no longer swivel with the steering wheel. Common causes include a failed motor inside the headlight, a bad suspension height sensor, or a faulty AFS control module. A diagnostic scan is needed to pinpoint the exact cause.
Why is my new headlight aimed at the ground?
All replacement headlights, new or used, must be manually aimed after installation. The auto-leveling system adjusts from a baseline setting, but that baseline must be set manually using the adjustment screws on the back of the housing.
Helpful Videos
Technical Specifications
OEM Part Numbers: K124-51-030 K124-51-040 KB8A-51-040 KB8A-51-041 KB8A-51-041B KB8A-51-041D KB8B-51-031K KB8B-51-041 KB8B-51-041B KB8B-51-041E KB8B-51-041F KB8B-51-041H KB8B-51-041J KB8B-51-041K KL2L-51-041C KL2L-51-041E KPF1-51-041A KPF3-51-041D
Lighting Technology: Full LED. Voltage: 12V.
We Have This Part in Stock
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.
- Mazda CX-5:
- 🎬 Helpful Videos
- 🛍️ Shop This Part
- Understanding the Headlight Options for Your 2017-2025 CX-5
- Standard LED Headlights
- Adaptive LED Headlights (AFS)
- Known Issues, Recalls, and Technical Service Bulletins (TSBs)
- Headlight Buzzing or Humming Noise (TSB SA-013-23)
- Internal Condensation or Fogging (TSB 09-030/20)
- Daytime Running Light (DRL) Failure Recall (2016 Models)
- Symptoms of a Failing Headlight Assembly
- Buyer's Guide: What to Look for in a Used 2017-2025 CX-5 Headlight
- 1. Confirm Your Headlight Type
- 2. Physical Inspection Checklist
- 3. Included Components
- Replacement and Calibration
- Installation
- Aiming and Calibration
- Cost of Replacing a 2017-2025 Mazda CX-5 Headlight
- Frequently Asked Questions (FAQ)
- 🎟️ Get 5% Off