European OEM Parts Direct
← All articles Replace Audi A4 B9 Headlight Assembly: DIY Guide how-to

Replace Audi A4 B9 Headlight Assembly: DIY Guide

Table of Contents

Last Updated: September 28, 2026

What You'll Need Before Starting

Replacing an Audi A4 B9 headlight assembly requires specific tools and parts. Gather everything before you start to avoid interruptions halfway through the job.

Essential tools:

  • Torx screwdriver set (T25, T30)
  • Phillips screwdriver
  • Trim removal tools (plastic pry bars)
  • Socket set (10mm, 13mm sockets)
  • Ratchet wrench
  • Work light or headlamp
  • Jack and jack stands (if removing the bumper)
  • Drain pan (for any coolant spillage)

Parts you'll need:

  • OEM replacement headlight assembly for your B9 model year
  • Electrical connector harness (if not included with the assembly)
  • Torx bolts (M6 bolts with washers, typically included)

Before ordering your replacement Audi A4 B9 headlight assembly, verify your vehicle's exact model year and trim level. Different B9 generations (2009-2012, 2013-2016, 2017-2020) use different housings and mounting brackets. At European OEM Parts Direct, you can use our VIN search tool to confirm the correct part number for your specific vehicle.

Pro Tip Keep your old headlight assembly nearby during installation. If something doesn't fit, you can quickly swap back to diagnose the issue without leaving your vehicle undrivable.

Audi A4 B9 Front Bumper Removal Guide

Most DIY replacements require removing the front bumper to access the headlight assembly mounting points. This step takes 45-60 minutes for someone new to the process.

Step 1: Disconnect the battery. Locate the negative terminal under the hood and disconnect it. Wait 15 minutes before proceeding to allow the electrical system to discharge. This prevents accidental airbag deployment or electrical damage.

Step 2: Remove the wheel well trim. Open the driver's side door and locate the plastic trim panel inside the wheel well. Use a Torx T25 screwdriver to remove the bolts holding this trim. Pull the trim straight out and set it aside. Repeat on the passenger side.

Step 3: Unbolt the bumper from the fenders. You'll find three bolts on each side where the bumper meets the fender. Use a 13mm socket to remove these six bolts. Keep them organized, they're all the same size.

Step 4: Remove the bottom bumper bolts. Crawl under the front of the vehicle and locate the bolts along the bottom edge of the bumper. Typically, you'll find four bolts here (two on each side of center). Remove these with a 13mm socket.

Step 5: Disconnect the fog light connectors. If your B9 has fog lights, unplug the electrical connectors before pulling the bumper away from the vehicle. Gently pull the connectors straight out, don't twist them.

Step 6: Pull the bumper straight forward. With all bolts removed and connectors unplugged, carefully pull the bumper toward you. This requires two people for safety. Set the bumper on a work surface where it won't get damaged.

The front bumper removal is the hardest part of the entire job. Once it's off, you have clear access to both headlight assemblies and their mounting brackets.

Removing the Audi A4 B9 Headlight Assembly

With the bumper removed, you now have direct access to the headlight housing. This section takes 20-30 minutes per side.

Technician's hands using a Torx T25 screwdriver to remove bolts from an Audi A4 B9 headlight assembly mounting bracket, with the front bumper already removed and the connector visible in the background
Technician's hands using a Torx T25 screwdriver to remove bolts from an Audi A4 B9 headlight assembly mounting bracket, with the front bumper already removed and the connector visible in the background

Disconnecting the Wiring Harness

Before touching any bolts, disconnect the electrical connector. Locate the wiring harness behind the headlight assembly. Press the release tab on the connector and pull it straight out. Don't yank on the wires, pull on the connector body itself.

Some B9 models have two connectors (one for the low beam, one for the high beam or daytime running lights). Disconnect both before proceeding. Store the connectors where they won't get crushed or bent.

Unbolting the Housing and Mounting Bracket

You'll find three bolts holding the headlight assembly in place. Locate the top bolt first, it sits near the top of the housing. Use a Torx T25 screwdriver to remove it. Next, remove the two side bolts that secure the mounting bracket to the vehicle frame.

Once all three bolts are out, gently pull the assembly straight toward you. It should slide out without resistance. If it feels stuck, check that you've removed all bolts and disconnected all connectors.

Watch Out Do NOT force the assembly out. If it's stuck, you've likely missed a bolt or connector. Forcing it risks cracking the housing or damaging the wiring harness, which defeats the purpose of using a genuine OEM part.

OEM vs. Aftermarket: Why Genuine Parts Matter

The difference between an OEM Audi A4 B9 headlight assembly and an aftermarket alternative goes beyond brand loyalty. Genuine parts fit precisely and maintain your vehicle's electrical integrity.

OEM assemblies are engineered to match your B9's exact specifications. The beam pattern, lens curvature, and internal reflector design are calibrated for proper light distribution on the road. Aftermarket alternatives often cut corners on optical design, resulting in reduced light output or uneven beam patterns that compromise night driving safety.

Genuine parts also maintain proper integration with your B9's auto-leveling sensor system. These sensors adjust the headlight beam angle based on vehicle load and pitch. Aftermarket housings sometimes lack the precision mounting points needed for this system to function correctly, leaving your headlights poorly aimed regardless of how carefully you install them.

Additionally, OEM assemblies preserve your vehicle's resale value. Potential buyers expect to see original Audi parts under the hood. A vehicle with mixed OEM and aftermarket components raises questions about repair history and overall maintenance quality.

Find Parts →

European OEM Parts Direct offers genuine Audi A4 B9 headlight assemblies with accurate part matching for your specific model year and trim. Using authentic parts ensures compatibility with your vehicle's existing systems and avoids compatibility headaches down the road.

Installing Your Replacement Headlight Assembly

Installation is the reverse of removal, but attention to detail matters. A careless install can leave your headlights misaligned or connectors loose.

Step 1: Position the new assembly. Slide the replacement Audi A4 B9 headlight assembly straight into the mounting location. Align the three bolt holes with the vehicle's frame. The assembly should slide in smoothly without forcing.

Step 2: Install the three mounting bolts. Start with the top bolt first. Hand-tighten it, then use the Torx T25 screwdriver to snug it down. Don't over-tighten, you'll crack the plastic housing. Repeat with the two side bolts. Tighten all three bolts firmly but gently.

Step 3: Reconnect the wiring harness. Push the electrical connector straight into the assembly until you hear a click. If your B9 has two connectors, connect both. Gently tug on the connector to confirm it's seated properly.

Step 4: Reinstall the front bumper. Carefully position the bumper back in place, aligning the bolt holes with the fenders and frame. Connect the fog light connectors (if applicable) before fully seating the bumper. Install all six side bolts and four bottom bolts, tightening them evenly.

Step 5: Reinstall the wheel well trim. Snap the trim panels back into place and secure them with the Torx T25 bolts you removed earlier.

Step 6: Reconnect the battery. Reattach the negative terminal to the battery and tighten it securely.

Test both headlights before considering the job complete. Turn on the low beams and high beams to confirm they illuminate properly.

Audi A4 B9 Headlight Coding Requirements

Modern Audi vehicles use coded headlight modules that communicate with the vehicle's body control module. If your replacement assembly includes an adaptive or LED headlight unit, coding may be required.

Some genuine OEM assemblies come pre-coded from the factory. Others require activation through the vehicle's diagnostic system. Check the documentation that came with your replacement part to determine if coding is necessary.

If coding is required, you have two options: visit an Audi dealership or use a third-party diagnostic tool like VCDS (Vag-Com Diagnostic System) or OBDii software. VCDS is the most common choice for DIY enthusiasts because it allows you to code the module yourself without dealership fees.

To code using VCDS, you'll need the software, a compatible USB cable, and a Windows computer. Connect to your vehicle's OBD-II port under the steering column.

Key Takeaway Coding is the step most DIY installers skip, then wonder why their new headlights aren't working properly. If your replacement assembly includes adaptive lighting or integrated DRL, budget 30-45 minutes for coding through VCDS.

Headlight Alignment and Leveling Sensor Setup

After installation and coding, your B9's headlights need proper alignment to ensure safe visibility and to comply with road regulations. Misaligned headlights reduce your sight distance and can blind oncoming drivers.

Manual alignment procedure:

Common Mistakes to Avoid

Forgetting to disconnect the battery. This is the most dangerous mistake. Disconnecting prevents accidental airbag deployment and electrical shorts. Always wait 15 minutes after disconnecting the negative terminal.


Frequently Asked Questions

Do I need to remove the front bumper to replace an Audi A4 B9 headlight assembly?

Yes, removing the front bumper is necessary to access the headlight assembly mounting bolts and wiring connectors. The bumper removal is straightforward but adds 30-45 minutes to the job. You'll need to unbolt the bumper from the fenders and frame, disconnect any wiring for sensors, and carefully pull it away. Once the bumper is off, you have clear access to the headlight housing bolts and the connector.

Are genuine Audi A4 B9 headlight assemblies plug-and-play?

Genuine OEM headlight assemblies are mechanically plug-and-play, but newer models require coding through VCDS or OBD11 software to function properly. The connector plugs in directly, and the mounting bolts align without modification. However, the vehicle's computer must recognize the new headlight unit, especially if it has LED or bi-xenon technology with auto-leveling sensors. Without coding, warning lights may appear on your dashboard.

What tools are required for Audi A4 B9 headlight assembly replacement?

You'll need a Torx T25 or T30 screwdriver for the headlight bolts, a socket set for bumper fasteners, a panel removal tool to disconnect trim clips, and a flashlight. If your model has a leveling sensor, a small Phillips screwdriver helps with that connector. For coding, you'll need a laptop with VCDS or OBD11 software and a compatible diagnostic cable. A jack and jack stands are essential for safe bumper removal access.

How do I calibrate my Audi A4 B9 headlights after replacement?

After installation, use VCDS or OBD11 to code the new headlight assembly so the vehicle recognizes it. This process stores the headlight's specifications in the car's computer. Next, adjust the beam pattern using the leveling screws on the back of the housing until the light aims properly at the road. DIY coding with free software is possible if you're comfortable with diagnostic tools. Proper alignment prevents blinding oncoming drivers and ensures maximum visibility.