One night your headlight works fine. The next night it is dark, then it pops back on after you hit a bump or slam the door. An on and off headlight is annoying, and it can also earn you a ticket or leave you half blind on a dark road. If you keep asking why does my headlight only work sometimes, the answer is almost always a weak connection somewhere in the circuit. Electricity gets through when things line up and stops when they shift.
This guide walks through seven easy fixes, starting with the quickest checks and working back toward the wiring.
Why Intermittent Headlight Problems Happen
A headlight circuit is simple. Power leaves the battery, passes through a fuse, a switch or relay, a set of wires and a connector, then flows through the bulb and back to ground. Every one of those points is a place where metal touches metal.
When one of those contacts is loose, corroded, or cracked, it may still pass current most of the time. Heat, vibration, cold weather, and moisture make the gap open and close. That is why the problem seems random. It usually is not random at all. It follows temperature, bumps, or rain.
Clues That Point to the Cause
Pay attention to when the headlight cuts out. The pattern tells you where to look.
- Goes out over bumps: loose bulb, connector, or ground
- Fails when the engine bay is hot: a bulb filament or relay failing with heat
- Acts up after rain or a car wash: corrosion or water in the connector
- Both headlights flicker together: switch, relay, fuse, or main ground
- Only one side acts up: bulb, socket, or wiring on that side
7 Easy Fixes for a Headlight That Only Works Sometimes
1. Check the Bulb for a Broken Filament
A halogen filament can crack and still touch on and off as the car moves. Pull the bulb and look at it closely. A thin broken wire, a dark gray haze, or a loose part inside the glass means it is time for a new one. Bulbs are cheap, so this is the best place to start.
2. Make Sure the Bulb Is Locked In
If the bulb is not fully twisted or clipped into the housing, it can rock in its seat and lose contact. Reinstall it and make sure it locks with a firm click.
3. Inspect the Headlight Connector
The plug behind the bulb is a very common failure point. Look for loose terminals, green or white corrosion, or brown heat marks. Wiggle the connector with the lights on. If the light flickers when you move it, you found your problem. Clean the terminals with contact cleaner or replace the pigtail if it is burnt.

4. Test for Voltage With a Multimeter
A multimeter takes the guessing out of the job. With the headlights on, check for about 12 volts across the connector terminals. Then wiggle the harness and watch the reading. A number that jumps or drops to zero means the break is somewhere upstream. Our guide on how to check headlight wiring with a multimeter explains each step.
5. Clean and Tighten the Ground
Every headlight needs a solid ground to the body or frame. Ground wires are often bolted near the headlights where water and salt collect. A rusty or loose ground can cause dim, flickering, or dead lights. Remove the bolt, clean the contact to bare metal, and tighten it back down.
6. Swap the Headlight Relay
Many cars use a relay to send power to the headlights. A worn relay can stick, chatter, or only work when it is cool. If both headlights cut out together, swap the headlight relay with an identical one from the fuse box, such as the horn relay. If the problem moves, the relay is bad. Learn more in our post on how to tell if a headlight relay is bad.
7. Check the Fuse and the Headlight Switch
A fuse with a hairline crack or a loose fit in its slot can cause on and off power. Pull it, inspect it, and push it back in firmly. If everything else checks out, the headlight switch or multifunction stalk may have worn contacts inside. Moving the stalk while the lights flicker is a good test.
When to See a Professional
If you have checked the bulb, connector, ground, relay, and fuse and the headlight still cuts out, there may be a broken wire inside the harness or a problem with a body control module on newer cars. A shop with wiring diagrams and a scan tool can track it down faster.
Frequently Asked Questions
Can a bad battery make headlights work only sometimes?
A weak battery or alternator can make lights dim or flicker, but it rarely makes one headlight go fully dark while the other stays on.
Is it safe to drive with a headlight that cuts out?
Not at night. One working headlight cuts your view and makes it hard for others to judge your position. It is also illegal in every state.
Why does my headlight work when I hit it?
Tapping the housing moves a loose bulb, a cracked filament, or a loose connector back into contact. That points to a problem right at the headlight.
How much does it cost to fix an intermittent headlight?
A bulb costs $10 to $30 and a connector $5 to $20. Relay swaps are often under $25. Tracing a broken wire at a shop may cost $100 or more.
Final Thoughts
So, why does my headlight only work sometimes? In most cases it is a cracked bulb filament, a loose or corroded connector, a bad ground, or a worn relay. Start with the bulb and the plug, then test with a multimeter and work back through the circuit. Some vehicles have had headlight wiring recalls, so it is worth checking your VIN on the NHTSA recalls page before paying for repairs.


Leave a Reply