When I first swapped the halogens in my daily driver for a pair of bright aftermarket LED bulbs, I expected crisper light and better visibility. What I didn't expect was a strobe-like flicker every time I slowed down at city lights or idled at a roundabout. If you've seen that same nervous pulsing from your new LEDs, you're not alone — and it's usually fixable without replacing the whole lighting system.

Below I’ll walk you through why LED headlights flicker in city driving, how to diagnose the root cause, and the simplest electrical fixes I’ve used on my own cars and recommended to readers. I’ll keep things practical: the kind of steps you can do in your garage or ask a shop to handle without getting ripped off.

Why LED headlights can flicker in city driving

LED bulbs behave very differently from incandescent or halogen lights. They need a stable DC voltage and a consistent current to run smoothly. Here are the common reasons that stability breaks down in urban driving conditions:

  • PWM dimming from the car’s headlight control — Many modern cars use pulse-width modulation (PWM) to dim lights. That’s fine for built-in LEDs designed for that system, but aftermarket bulbs with their own drivers can react badly, showing flicker or pulsing when the PWM signal arrives.
  • Can/Body computer warnings and smart wiring — Cars with CANbus systems monitor bulb load. When they detect a lower current draw from LEDs (compared with halogens), they may pulse or trigger error codes. Some systems cycle power to test a bulb or “refresh” the circuit, which causes visible flicker.
  • Voltage fluctuations at low RPM or idle — In city driving you spend more time at low engine speeds or idle. That’s when alternator output and battery voltage can dip slightly, especially if the car is powering many accessories (AC, infotainment, heated seats). Sensitive LED drivers can flicker when supply voltage dips below their threshold.
  • Poor ground or loose connections — LEDs are picky about good, low-resistance grounds. A marginal ground connection can cause intermittent supply and flicker.
  • Incompatible LED driver electronics — Cheap LED bulbs sometimes ship with poorly designed internal drivers that can’t filter noise or handle the electrical quirks of modern cars.
  • Quick checks to run before you buy parts

    Before you reach for resistors or decoders, do a few quick tests. These have saved me time and money more than once:

  • Check at different RPMs: Start the car and observe the lights at idle, then raise RPM slightly. If the flicker disappears or changes with RPM, you're likely seeing a voltage/alternator related issue.
  • Turn accessories off: Switch off AC, heaters, and high-draw accessories. If flicker improves, the problem may be voltage sag under load.
  • Swap bulbs back: Put the original halogen bulbs back in (if you still have them). If the flicker stops, the LEDs or their drivers are the cause. If flicker remains, the wiring or control system is likely at fault.
  • Wiggle test: With the car off, wiggle the bulb connection and look for intermittent contact. A loose socket or corroded pins will show up here.
  • Simple fixes that usually stop flicker

    Here are fixes I’ve applied — starting from easiest/cheapest to more involved. I include approximate cost and difficulty so you can plan.

  • Clean and tighten grounds and connectors — Cost: free to $10. Difficulty: easy.
  • Corrosion or loose grounds are a surprisingly common cause. Remove the headlight assembly or access panel and clean the ground strap and connector pins with contact cleaner and a wire brush. Re-tighten the ground bolt with a torque wrench to factory spec if available.

  • Install a relay harness — Cost: $15–$40. Difficulty: moderate.
  • A relay harness supplies power to the LEDs directly from the battery through a relay, while using the original headlight wiring only as a trigger. That eliminates voltage drop through old wiring and keeps the factory circuit from being subjected to the LED’s lower load. Brands like Morimoto, Hella, or universal “H4 relay harness” kits are good options.

  • Add a CANbus decoder / anti-flicker adapter — Cost: $20–$60. Difficulty: easy to moderate.
  • These adaptors mimic the resistance/load of a halogen bulb so the car’s computer stops pulsing or throwing errors. They also include filtering electronics to smooth PWM signals. I’ve had good results with DEPO and Philips CANbus adapters on several European and Asian cars.

  • Fit an in-line capacitor / anti-flicker module — Cost: $15–$50. Difficulty: easy.
  • Anti-flicker caps (sometimes called anti-flicker modules) smooth short dips in voltage and handle PWM-related flicker. Install them between the bulb connector and the car wiring. They’re compact and reversible — a great first parts try.

  • Upgrade to bulbs with better drivers or buy OEM-style LED kits — Cost: $100–$600. Difficulty: moderate.
  • Aftermarket LEDs with high-quality drivers (better filtering, wide input voltage range) behave much better. If you’re swapping older cheap LEDs, upgrading to a trusted brand like Philips X-tremeUltinon, Osram Night Breaker LED kits, or a vehicle-specific retrofit kit from Morimoto can eliminate flicker because they’re designed to work with automotive electrical systems.

  • Check alternator and battery health — Cost: $0–$150 (if replacement needed). Difficulty: easy to professional.
  • If voltage is unstable because of a weak battery or failing alternator, lights can flicker under low-speed load. Get a battery and charging system test at a parts store or garage. A new battery or alternator fixes this permanently in those cases.

    How I choose the right fix for a given car

    In my experience, the right approach comes down to three questions: Does the flicker change with RPM? Do stock bulbs behave the same? Does the car throw a bulb-out or CANbus error?

  • If flicker changes with RPM, start with alternator/battery checks and a relay harness.
  • If the car throws a bulb error or the ECU cycles the circuit, start with a CANbus decoder or anti-flicker resistor.
  • If the flicker is present only with cheap LEDs, invest in better bulbs with robust drivers.
  • Practical wiring tips and safety notes

    When working on lighting wiring be careful: use fuse-protected relay harnesses, avoid running power wires near moving parts, and make sure any added resistors or modules are mounted away from plastic and heat sources. If you add resistors to simulate halogen load, remember they get hot and need metal mounting points and proper insulation. Always disconnect the battery when doing major wiring changes.

    FixPrimary cause addressedEstimated costEase
    Clean groundsPoor connection$0–$10Easy
    Relay harnessVoltage drop$15–$40Moderate
    CANbus decoderECU load detection/PWM$20–$60Easy
    Anti-flicker capacitorPWM/noise stabilization$15–$50Easy
    Upgrade bulbsPoor internal drivers$100–$600Moderate
    Battery/alternator serviceVoltage instability$0–$150+Easy–Pro

    If you want, tell me your car make, model and what bulb type you installed (H4, H7, H11, 9006, etc.) and I’ll suggest the most likely fix and specific parts or kits that fit. I’ve handled this on everything from older Hondas and Toyotas to modern BMWs and Volkswagens — the solutions are surprisingly consistent once you know where to look.