Car light bulbs seem like the simplest part on your vehicle until you are standing in the auto parts aisle staring at a wall of codes like H7, H4, H11, 9005, and 9006, wondering which one your car takes and whether that shiny LED upgrade is even legal. A burned-out headlight is not just a ticket waiting to happen, it is a real safety issue, and choosing or fitting the wrong bulb can leave you with a dangerous beam pattern. This guide sorts out the bulb codes, how to replace one, and the legality question everyone gets wrong.
Bulbs are cheap and one of the few repairs almost anyone can do in their driveway, so there is little excuse for driving around with a light out. Let us make sense of the codes first.
Understanding the bulb codes
The letters and numbers describe the bulb’s physical base and filament layout, not just brightness. The common ones:
- H7: a single-filament bulb, meaning it does one job (usually low beam, sometimes high beam) and cars with H7 typically use separate bulbs for low and high.
- H4: a dual-filament bulb, meaning one bulb does both low and high beam, common on older cars and many motorcycles.
- H11, H8, H9: common single-filament bulbs for low beams, fog lights, and high beams on many modern cars.
- 9005 (HB3) and 9006 (HB4): common high and low beam bulbs on many American and Asian cars.
The key thing is that these are not interchangeable. An H7 will not fit an H4 socket, and forcing the wrong bulb gives you the wrong beam. Look up your exact vehicle in the owner’s manual, on the old bulb, or in a parts store’s fitment lookup before buying. Many cars use different codes for low beam, high beam, and fog lights, so note which one you actually need.
Halogen, HID, or LED?
- Halogen is the traditional filament bulb: cheap, easy to replace, warm-white light, but the shortest life and least bright of the three.
- HID (xenon) bulbs are brighter and whiter, use a ballast to strike an arc, and are found as factory equipment on many cars. They last longer than halogen but cost more.
- LED bulbs are bright, efficient, long-lasting, and increasingly the factory standard. As a retrofit into a halogen car, though, they come with a big catch (see legality below).
The legality question
This trips up a lot of people. Dropping an LED or HID retrofit bulb into a headlight housing designed for halogen is a legal and safety gray area in the US. Federal standards regulate headlight performance, and a housing built around a halogen filament often will not focus an LED or HID bulb correctly, producing glare that blinds oncoming drivers even if your side looks brighter.
The practical reality:
- Factory LED and HID systems are fine, because the housing, projector, and aiming were designed for that light source.
- Retrofit “LED headlight” bulbs sold as off-road or show use only are exactly that. Many are not street-legal, and improperly aimed ones create dangerous glare and can fail inspection.
- LED replacements for interior lights, license plate, and some marker lights are generally low-risk.
If you want brighter headlights legally, the safest route is a quality halogen bulb designed for more output, or a properly matched, reputable LED kit that is designed and rated for your specific housing type. Avoid the cheapest no-name LEDs, which are the ones most likely to be illegal and to blind everyone else on the road.
How to replace a headlight bulb
Most bulbs are a genuine DIY job:
- Open the hood and locate the back of the headlight housing. Some cars need you to remove a cover or, occasionally, a wheel liner or the whole housing for access.
- Disconnect the electrical connector from the back of the bulb.
- Release the retaining clip or twist the bulb free, depending on the design.
- Fit the new bulb WITHOUT touching the glass with your bare fingers. Skin oils create hot spots that shorten a halogen bulb’s life, so handle it with a glove or clean cloth.
- Reconnect and test both low and high beam before you put anything back.
If both headlights die at once, it is probably not two bulbs, it is a fuse, relay, or switch issue, which points more toward the electrical checks in our dashboard warning lights guide.
When you replace one, consider both
Bulbs on the same axle tend to fail around the same time, so many people replace headlight bulbs in pairs. It keeps your beam even (a fresh bulb next to an old, dimmed one looks mismatched) and saves you a second job next month.
While you are at it, if your headlights look dim and yellow because the plastic lenses are hazy, no bulb will fix that. That is oxidized lens plastic, and our guide on restoring foggy headlights yourself shows how to clear them up cheaply.
Checking lights when buying a used car
Lights are a quick but revealing check on any used car. Walk around and confirm every light works: low beam, high beam, fog lights, turn signals, brake lights, reverse lights, and plate lights. A burned-out bulb is trivial to fix, but mismatched or aftermarket bulbs, especially cheap LED retrofits jammed into halogen housings, can signal a cost-cutting owner, and they may fail your state inspection.
When you inspect a car with MotoPPI, running through the exterior checklist prompts you to verify lights along with paint and body, and any dash warning for a lighting circuit will show in the OBD and warning-light review. It all folds into a proper how to inspect a used car walkthrough.
Match the code, respect the legality of LED and HID retrofits, handle the glass with care, and replace in pairs. A properly working set of lights is one of the cheapest safety upgrades you can make, and one of the easiest to do yourself.