2007-2009 Jaguar XK Headlight: Solving AFS Faults and Condensation
This guide covers the critical differences between Adaptive (AFS) and non-AFS headlights and how to diagnose common failures like moisture, flickering, and warning lights.
- The most critical factor is identifying if your car has Adaptive (AFS) or Non-AFS headlights; they are not interchangeable.
- A flashing AFS warning light is a common issue with multiple causes, including bad internal wiring, a failed control module, or corroded grounds.
- If you have AFS, replacing a headlight requires electronic calibration with a Jaguar-specific diagnostic tool (SDD) to function correctly.
- Moisture inside the lens is a common problem due to failing seals, which can damage expensive electronic components like the HID ballast.
Headlight Variants: AFS vs. Non-AFS is Critical

For the 2007-2009 Jaguar XK and XKR, all models for the North American market came standard with Bi-Xenon High-Intensity Discharge (HID) headlights. The single most important variation is whether the vehicle is equipped with the Adaptive Front-lighting System (AFS).
- Standard (Non-AFS) HID Headlights: These provide powerful Xenon illumination but remain in a fixed, forward-facing position. They have a self-leveling feature that adjusts vertical aim at startup but do not swivel with the steering wheel.
- Adaptive (AFS) HID Headlights: These advanced headlights actively swivel left and right as you turn the steering wheel, illuminating the road through corners. The system uses steering angle and vehicle speed sensors to direct the light beams.
Warning: AFS and Non-AFS headlight assemblies are NOT interchangeable. They use different wiring harnesses and are controlled by different modules. Installing the wrong type will result in a persistent 'AFS Fault' warning on the dashboard and improper headlight function. You must confirm which system your vehicle has before purchasing a replacement.
How to Tell if Your Jaguar XK Has AFS
The easiest way to check is to observe the headlights when you start the car at night. AFS headlights will perform a brief 'dance,' swiveling side-to-side and up-and-down as a self-test. Non-AFS lights will only adjust vertically. If you are still unsure, a Jaguar dealer or specialist with access to the vehicle's original build sheet can confirm the feature by VIN.
Known Issues and Symptoms of Failure


These headlight assemblies are complex and can develop several common issues over time. Many problems originate from the electronic modules or the internal components of the assembly itself.
Flashing AFS Warning Light
A flashing headlight icon on the instrument cluster is the most common complaint. This indicates a fault within the Adaptive Front-lighting System. When a fault is detected, the system typically defaults to a 'safe' position, pointing the headlights low and straight ahead to avoid glaring at oncoming traffic. Common causes include:
- AFS Control Module Failure: The main control module, located in the driver's side footwell, can fail. Jaguar issued a Technical Service Bulletin (TSB JTB00176NAS2) for this issue, which can store codes like B1D64-01 and B1D68-01.
- Degraded Internal Wiring: The wiring insulation inside the headlight housing can become brittle and crack over time, leading to short circuits and communication errors with the AFS motors.
- Corroded Ground Points: A corroded ground lug, often located on the chassis behind the front wheel wells, can cause intermittent AFS faults.
- Low Battery Voltage: A weak or failing battery can cause numerous electronic issues, including triggering AFS faults that may not clear even after the battery is replaced.
Moisture and Condensation Inside the Lens
Fogging or water droplets inside the headlight lens is a frequent issue, often caused by a failed seal between the clear polycarbonate lens and the black plastic housing. While minor condensation that clears up after running the headlights may be considered normal by Jaguar, persistent moisture is a problem. It can reduce light output and lead to the premature failure of electronic components like the HID ballast and control modules. Some owners resort to DIY fixes like drilling small drain holes or placing desiccant packets inside the housing.
HID Bulb or Ballast Failure
The HID lighting system consists of the D1S bulb and an electronic ballast that ignites and powers it. Failure in either component can cause similar symptoms, but there are ways to tell them apart.
- Signs of a Failing Bulb: The light may flicker, be slow to start, or change color to a pink or purplish hue. If only one light is out, the bulb is a likely suspect.
- Signs of a Failing Ballast: The light may not turn on at all, even with a new bulb. It might flicker intensely, or turn on for a moment and then shut off. A buzzing sound from the headlight area can also point to a bad ballast.
Pro Tip: To diagnose a bulb vs. ballast issue, you can swap the known working bulb from the good headlight to the non-working side. If the good bulb doesn't light up, the ballast is almost certainly the problem. If it does light up, you just need a new bulb.
Buying a Used Front Lamp: What to Inspect
Given that a new OEM headlight assembly can cost over $2,000, a high-quality used OEM part is an excellent value. However, careful inspection is crucial to avoid buying someone else's problem.
- Confirm AFS or Non-AFS: This is the most important step. Get the part number from your original headlight and match it exactly. Do not trust a seller's generic description; verify the part number and visually confirm the features if possible.
- Inspect All Mounting Tabs: The plastic mounting tabs are brittle and often break during minor impacts or even improper removal. Ensure all tabs are intact and free of cracks. A headlight with broken tabs will not sit securely and cannot be aimed correctly.
- Check the Lens Condition: Look for deep scratches, stress cracks, and yellowing (UV damage). Minor surface hazing can be polished out, but deep crazing or internal damage cannot be fixed.
- Look for Signs of Moisture: Check for a 'water line' or mineral deposits on the inside of the lens or on the chrome reflectors. This indicates a past or present leak, which could mean the electronic modules are already damaged.
- Examine the Rear Housing: Inspect the black plastic housing for any cracks or damage, especially around the seams and where the modules mount. Ensure the round covers for bulb access are present and their seals are in good condition.
- Ask About Included Components: Clarify if the used assembly includes the HID ballast, AFS module (if applicable), and bulbs. Often, these are removed and sold separately. A 'bare' housing will require you to transfer your old components, assuming they are still functional.
Replacement and Calibration

Installation
Replacing the headlight assembly on a 2007-2009 XK is an involved process that requires removing the front bumper cover to access all the mounting bolts. While it is feasible for an experienced DIY mechanic, it is a time-consuming job.
Headlight Aiming
After any replacement, the headlight beams must be properly aimed. This is done using adjustment screws on the back or top of the headlight assembly. The general procedure involves parking the car on a level surface 25 feet from a wall and adjusting the beam cutoff line to the specified height. An improperly aimed headlight can drastically reduce visibility or blind oncoming drivers.
AFS Calibration
Warning: If your vehicle has AFS, replacing a headlight assembly, AFS control module, or suspension height sensors requires a calibration procedure. This can only be performed using a Jaguar-specific diagnostic tool, such as Jaguar SDD (Symptom Driven Diagnostics). Without this electronic calibration, the system will remain in fault mode, the warning light will flash, and the headlights may point 'cross-eyed' or too low.
Cost of Replacement
Prices can vary significantly based on the source and condition of the part.
| Part | Estimated Cost |
|---|---|
| New OEM Headlight Assembly (Dealer) | $2,000 - $2,500+ per side |
| New Aftermarket Assembly | $600 - $1,200 per side (Quality and compatibility may vary) |
| Used OEM Headlight Assembly | $400 - $900 per side |
| New OEM HID Ballast | $300 - $500 |
| New D1S HID Bulb (OEM Quality) | $85 - $110 per bulb |
| Shop Labor (Headlight Replacement) | $300 - $500 (plus AFS calibration if needed) |
| Shop Labor (AFS Calibration Only) | $100 - $200 |
Frequently Asked Questions
My headlight is flickering. Is it the bulb or the ballast?
Flickering is a common symptom for both. However, if the light changes color to pink or purple, the bulb is the most likely cause. If the light flickers and then shuts off completely, the ballast is more suspect. The best way to know for sure is to swap the bulb from the working side to the failing side.
Can I upgrade my non-AFS headlights to AFS headlights?
This is not a practical or recommended upgrade. It would require changing the headlight assemblies, the main AFS control module, adding wiring, and potentially suspension-level sensors. The cost and complexity would be prohibitive.
How can I fix a foggy headlight lens?
For temporary moisture, removing the rear bulb access caps on a dry day and running the headlights can help evaporate the condensation. For a permanent fix, the headlight must be removed, the leak in the lens-to-housing seal must be found and resealed, and the unit must be thoroughly dried before reinstallation. Some owners have success adding silica gel desiccant packs inside the housing to absorb moisture.
Do I need to go to the dealer to replace a headlight?
An independent shop that specializes in European cars can certainly perform the physical replacement. However, if your car has AFS, you must ensure the shop has the proper Jaguar-specific diagnostic equipment (like SDD) to perform the mandatory post-installation calibration. Failure to do so will leave the system in a fault state.
Technical Specifications
OEM Part Numbers: 4R8315200 4R8315200AA 6W83-13W029-CE 6W8313W029CE 6W8313W030CE C2C35387 C2P12618 C2P13197 C2P14512 C2P21141 C2P21146 C2P21147 C2P4884 XR837532 088358
Bulb Type: D1S 35W HID/Xenon. System Voltage: 12V. High voltage from ballast can reach 28,000V on startup.
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.
- Jaguar XK:
- Headlight Variants: AFS vs. Non-AFS is Critical
- How to Tell if Your Jaguar XK Has AFS
- Known Issues and Symptoms of Failure
- Flashing AFS Warning Light
- Moisture and Condensation Inside the Lens
- HID Bulb or Ballast Failure
- Buying a Used Front Lamp: What to Inspect
- Replacement and Calibration
- Installation
- Headlight Aiming
- AFS Calibration
- Cost of Replacement
- Frequently Asked Questions
- 🎟️ Get 5% Off