2018-2024 BMW 3/4-Series, M3/M4 & M8 Headlight Module Failure, Diagnosis & Replacement
This guide covers the common failures, critical part number matching, and mandatory programming for the headlight control module in many modern G-chassis and F-chassis BMWs.
- This part is a Headlight Control Module, NOT the main Body Domain Controller (BDC).
- Water intrusion from a leaking headlight seal is the #1 cause of failure. You must fix the leak when replacing the module.
- Programming is MANDATORY. A replacement module (new or used) will not work until it is professionally coded to your vehicle's VIN.
- To ensure compatibility when buying used, the part number on the replacement module must EXACTLY match the original.
Is This a Body Control Module (BCM)?

No. While the part is an electronic control module for the body of the car, it is not THE Body Control Module. In modern BMWs, the central computer for body electronics (lights, windows, locks, immobilizer) is the Body Domain Controller (BDC). The part this guide covers, OEM part number 5A0AF00, is a smaller sub-module properly known as a Headlight Control Module or Front Light Module (FLM). Each headlight assembly has its own module. This is a critical distinction, as a BDC failure has different symptoms and a much more complex replacement process involving immobilizer data.
Vehicles Covered
This specific headlight control module is shared across several BMW platforms. This guide is for owners of the following vehicles:
- 2021-2024 BMW M3 (G80)
- 2021-2024 BMW M4 (G82, G83)
- 2019-2024 BMW M8 (F91, F92, F93)
- 2018-2023 BMW 3-Series (G20)
- 2021-2024 BMW 4-Series (G22, G23, G26)
Compatibility may depend on whether your vehicle is equipped with the standard LED headlights or the optional Adaptive LED or Laserlight headlights. Always verify the part number on your original module before ordering a replacement.
Known Issues, TSBs, and Recalls

The Number One Cause of Failure: Water Damage
The single most common reason for this module to fail is water and condensation inside the headlight assembly. The headlight housings can develop microscopic cracks or failing seals over time, allowing moisture to enter. The module is often mounted to the bottom or side of the headlight housing, making it the first electronic component to be short-circuited by any pooling water. BMW has issued service bulletins (like SIB 63 03 18) regarding headlight condensation, noting that minor fogging that clears on its own can be normal, but persistent moisture or visible water droplets indicate a failed seal that must be addressed. 🎬 Watch: How to fix headlight condensation and seal leaks. If you are replacing a failed module, it is critical to find and fix the source of the water leak in the headlight assembly, or the new module will quickly fail as well.
NHTSA Recall 19V850000: Headlight Control Unit Failure
In late 2019, BMW issued a recall for a small number of vehicles due to potential headlight failure. The recall affected certain 2019-2020 BMW G20 3-Series, Z4, and Toyota Supra models. The issue was traced to a supplier manufacturing problem where the printed circuit board (PCB) inside the headlight control unit could have been contaminated, leading to a partial or complete loss of headlight function. Symptoms noted in the recall included a headlight failure warning message on the dashboard and a louder-than-normal turn signal clicking sound.
Diagnosing a Faulty Headlight Control Module

Symptoms of a failing headlight module are almost always confined to one headlight assembly. If both headlights exhibit the same problem simultaneously, the issue is more likely with the central Body Domain Controller (BDC) or another system.
- Partial Headlight Failure: This is the most common sign. For example, the main low beam works, but the Daytime Running Light (DRL) or turn signal in the same housing does not. Since these are LED units, there are no separate "bulbs" to burn out; the function is controlled by the module.
- Dashboard Warning Lights: You will almost certainly see a warning message on the iDrive screen or instrument cluster. Common messages include "Adaptive Headlight Malfunction," "Headlight Vertical Aim Control Malfunction," or "Daytime/parking lamp malfunction."
- Flickering or Intermittent Operation: The headlight may flicker, turn off and on by itself while driving, or fail to turn on at all.
- Communication Errors: A professional scan tool may show a "No communication" error with the left or right Front Light Module (FLM), indicating the module is dead.
CRITICAL: Programming Is Not Optional
You cannot simply swap this module and expect it to work. Any replacement module, whether brand new from a dealer or a used OEM part, MUST be programmed and coded to your specific vehicle's VIN and equipment list. Failure to do so will result in the headlight not working correctly, or at all, and will continue to show error messages. This process requires specialized software like BMW's ISTA or E-Sys and should be performed by a dealer or a qualified independent BMW specialist. Budget for this programming cost when purchasing a replacement part.
Buying a Used Headlight Control Module
Purchasing a used OEM module is a great way to save money, but it requires careful attention to detail. For an electronic part like this, a used original part is often more reliable than a cheap, new aftermarket knock-off.
- Match Part Numbers Exactly: There are many variations of this module. The part number on the replacement part MUST exactly match the number on your original module. Even a one-digit difference can mean it won't work with your car's specific headlight type (e.g., standard vs. Laserlight). The primary part number is 5A0AF00, but check for other revisions or suffixes.
- Inspect for Corrosion: Since water damage is the main killer, carefully inspect the pins on the electrical connector of the used module. Look for any signs of green or white crust (corrosion) or water marks on the casing. Do not buy a module that shows any signs of moisture exposure.
- Source from a Reputable Recycler: Buy from sellers who specialize in European cars and offer a warranty. This gives you protection in case the part is dead on arrival.
- Remember the Programming Cost: A used module that costs $100 is not a good deal if the required programming costs another $250. Factor the total cost of the part plus programming into your repair budget.
Replacement Cost Breakdown
The cost to fix this issue involves the part itself, the labor to install it, and the separate labor for programming.
| Item | Estimated Cost | Notes |
|---|---|---|
| New OEM Module | $550 - $800 | Purchased from a BMW dealership parts counter. |
| Used OEM Module | $150 - $400 | Price varies widely on sites like eBay based on condition and seller. |
| New Aftermarket Module | Not Generally Available | Aftermarket options are rare and not recommended for this specific component. |
| Shop Labor (Installation) | $300 - $600 | Requires front bumper removal. Typically 2-4 hours of labor. |
| Shop Labor (Programming) | $150 - $300 | A separate, required step after installation. Dealer rates are often higher. |
| Total Dealer Repair (Approx.) | $1000 - $1700+ | Includes new OEM part, installation, and programming at dealership rates. |
| Total DIY/Independent Shop (Approx.) | $600 - $1100 | Using a used part and independent shop for labor/programming offers significant savings. |
Pro Tip: If you are a skilled DIY mechanic, you can save significant money on labor by removing the headlight assembly yourself and taking it with the replacement module to a shop that can perform the physical swap and bench-test it before you reinstall everything. You will still need a specialist to perform the final on-car programming.
Frequently Asked Questions (FAQ)
Can I replace this module myself?
The physical replacement is feasible for an experienced DIYer, but it is not a simple job. It typically requires removing the front bumper cover to access the bolts to remove the entire headlight assembly. The module then unbolts from the assembly. However, you will still need a professional with the correct software to program the new module to the car. The part is not plug-and-play.
🎬 See this walkthrough on removing the front bumper and headlights.Does a used module need to be programmed?
Yes. Every replacement module, whether new or used, must be coded to your car's specific Vehicle Identification Number (VIN) and options configuration. A used module is 'locked' to the donor car's configuration and will not work correctly until it is reprogrammed for your vehicle.
My turn signal is out but the headlight works. Is it the module?
It is very likely the module. These vehicles use full LED headlights, so there are no traditional bulbs to replace for the turn signal or DRLs. The light is produced by an LED emitter that is controlled by the headlight module. If one of these functions fails while others work, it almost always points to a fault within the control module.
Why is there condensation in my headlight? Is that normal?
Minor fogging that appears and disappears with changes in temperature and humidity can be normal. However, if you see large water droplets, streaks, or water pooling at the bottom of the headlight, the housing's seal has failed. This is not normal and will lead to the failure of the electronic modules inside. The headlight assembly must be repaired or replaced to fix the leak.
Helpful Videos
Technical Specifications
OEM Part Numbers: 5A0AF00 63115A0AF00 63117933358
Controls all functions for a single headlight assembly, including LED/Laser elements, turn signals, DRLs, and adaptive motors.
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.
- BMW M3:
- BMW M4:
- BMW M8:
- BMW 3-Series:
- BMW 4-Series:
- 🎬 Helpful Videos
- 🛍️ Shop This Part
- Is This a Body Control Module (BCM)?
- Vehicles Covered
- Known Issues, TSBs, and Recalls
- The Number One Cause of Failure: Water Damage
- NHTSA Recall 19V850000: Headlight Control Unit Failure
- Diagnosing a Faulty Headlight Control Module
- Buying a Used Headlight Control Module
- Replacement Cost Breakdown
- Frequently Asked Questions (FAQ)
- 🎟️ Get 5% Off