Headlights Turn Off and Back On by Themselves: Common Causes and What to Check

Mike
By Mike
Certified Professional Automotive Mechanic – Owner and Editor of VehicleRuns
Last Updated: November 1, 2026

Safety note: Troubleshooting guidance can help you narrow down likely causes, but it cannot replace an in-person inspection. If the vehicle feels unsafe, warning lights are flashing, you smell fuel, see smoke, notice overheating, or have problems with braking, steering, or control, stop driving when it is safe to do so and have the vehicle inspected.

If your headlights turn off and then come back on by themselves, you are usually dealing with an intermittent electrical problem rather than a simple burned-out bulb. The cause can be in the bulbs, the headlight switch, the dimmer or multifunction switch, a relay, the wiring, or the charging system that feeds the lights.

The most useful clue is when the lights cut out. If it happens over bumps, wiring or connector movement becomes more likely. If both lights go dark together and return a few seconds later, a relay, switch, module, or overheating circuit is more likely than two bulbs failing at once.

This symptom can range from annoying to unsafe very quickly. A minor loose connector can mimic a more serious power supply fault, and repeated headlight loss at night should be treated as a real safety issue. The goal is to narrow the problem down by pattern before parts are replaced.

VehicleRuns Quick Diagnosis

Headlights Turn Off and Back On

Start by noticing whether one headlight or both go out, and whether bumps, heat, or electrical load seem to trigger it. That split tells you whether to suspect a bulb or housing problem, or a shared power, switch, relay, or wiring fault.

What you noticeMost likely causeWhat to check firstUrgency
Both headlights cut out togetherHeadlight relay or switch faultCheck relay operation and switch connector for heat or loosenessCan worsen
Only one side flickers or goes darkBulb socket or lamp housing faultInspect bulb, socket, and housing connector for melting or corrosionDiagnose soon
Lights fail after bumps or rough roadsLoose wiring or ground faultWiggle-test headlight connectors, grounds, and harness sectionsCan worsen
Lights dim and other electronics act oddCharging system problemMeasure charging voltage with engine running and accessories onCan worsen
Low beams quit, high beams still workDimmer switch or low-beam circuit faultCheck multifunction switch and low-beam relay or fuse pathDiagnose soon
Lights shut off repeatedly at nightShared power or control faultStop driving and inspect main lighting power feedStop driving

Best first move: Figure out whether the problem affects one lamp or both, then check the easiest shared failure point in that branch before replacing parts.

Safety note: If the headlights go fully dark while driving at night, in rain, or in traffic, do not keep using the vehicle until the fault is found. Intermittent lighting faults can worsen without warning.

Most Common Causes of Headlights That Turn Off and Back On

The most common causes are usually in the shared lighting circuit or at the lamp connection itself. A fuller list of possible causes and confirmation steps appears later in the article.

  • Lighting Circuit Fault: A problem in the headlight power path can interrupt the lights briefly, then reconnect as the circuit cools or vibration changes the contact.
  • Wiring, Connector, or Electrical Ground Fault: Loose, corroded, or heat-damaged wiring can make headlights flicker, cut out over bumps, or return on their own.
  • Alternator or Charging System Problem: If system voltage drops or spikes, the headlights may dim, cut out intermittently, or behave erratically along with other electronics.

What Headlights Turning Off and Back On Usually Means

When headlights shut off and come back on by themselves, the first question is whether the fault is local to one lamp or shared by the whole lighting circuit. One side going out usually points to the bulb, socket, connector, or housing on that side. Both sides cutting out together usually points upstream, such as the switch, relay, control module, fuse connection, main power feed, or ground.

The second clue is what triggers it. A failure that shows up over bumps often comes from a loose connector, rubbed-through harness, or bad ground. A failure that appears after several minutes of nighttime driving can point to heat inside a relay, switch, or connector. Some circuits will open as resistance rises, then start working again once the part cools.

It also matters whether the headlights simply go dark or whether they dim first. Dimming, dash flicker, slow power windows, or a battery warning light suggest a broader voltage problem, often from the alternator or a poor main connection. Clean on-off behavior with normal brightness before and after the failure fits a switching or connection fault more closely.

If low beams fail but high beams still work, the problem is often in the low-beam side of the circuit rather than the whole electrical system. That may mean a bad multifunction switch, low-beam relay, fuse connection, or body control command, depending on how the vehicle is wired.

Possible Causes of Headlights Cutting Out Intermittently

Lighting Circuit Fault

A fault in the shared headlight circuit can interrupt current to both lamps at once. This often happens when a relay has worn contacts, a fuse box terminal is loose, or the headlight control circuit opens briefly under heat or vibration.

Symptoms to Watch For

  • Both headlights cut out together
  • Lights may return within seconds
  • Problem may worsen during longer night drives
  • High beams or flash-to-pass may behave differently

High Severity

Because both headlights can go dark at once, this is a real safety issue, especially at night or in bad weather.

How to Confirm: Check whether power is lost at both headlight feeds when the failure happens.

How to Diagnose Car Lighting Problems

Typical fix: Replace the failed relay, repair the affected fuse box terminal or power feed, or restore the damaged shared headlight circuit.

Wiring, Connector, or Electrical Ground Fault

Headlights depend on stable power and ground connections. A loose terminal, corroded connector, overheated socket, or weak ground can open the circuit briefly and then reconnect as the vehicle moves or the metal cools.

Symptoms to Watch For

  • Flicker over bumps or during turns
  • One lamp may fail more often than the other
  • Plastic connector may look browned or melted
  • Harness movement may trigger the problem

Moderate to High Severity

A single bad connection can start as an annoyance but can progress to full headlight loss or connector heat damage.

How to Confirm: Inspect the headlight connectors, ground points, and nearby harness sections for looseness, green corrosion, overheated plastic, or rubbed insulation.

Typical fix: Repair damaged wiring, replace overheated sockets or connectors, clean and tighten grounds, and secure the harness properly.

Alternator or Charging System Problem

Headlights need stable system voltage. A weak alternator, poor charging connection, or unstable voltage regulator can cause the lights to dim, flicker, or reset along with other electrical components.

Symptoms to Watch For

  • Headlights dim before cutting out
  • Battery warning light may come on
  • Dash lights or blower speed change with engine speed
  • Power windows or wipers may act weak or erratic

Moderate to High Severity

The car may keep running for a while, but unstable voltage can affect more than the headlights and can leave you stranded.

How to Confirm: Measure battery voltage with the engine off, then check charging voltage with the engine running and electrical loads on.

Typical fix: Replace the alternator or voltage regulator as needed, repair charging cables or grounds, and restore proper battery state of charge.

Headlight or Lamp Housing/Lens Problem

A failing bulb base, poor internal socket contact, or heat damage inside the lamp assembly can make one headlight go out intermittently and then work again. On some vehicles, an aging bulb may flicker before it fails completely.

Symptoms to Watch For

  • Only one headlight cuts out
  • Tap or vibration may bring it back
  • Bulb socket may show discoloration
  • Moisture inside the lamp may worsen contact issues

Moderate Severity

One working headlight is better than none, but visibility is reduced and the problem can worsen quickly.

How to Confirm: Swap the bulb side to side if the design allows, or monitor power and ground at the affected socket when the lamp goes dark.

How to Diagnose a Foggy or Moisture-Filled Headlight

Typical fix: Replace the failed bulb, socket, or damaged headlight assembly.

Blown Fuse, Bad Relay, or Power Supply Problem

A weak relay or poor fuse connection can open the lighting circuit intermittently as current demand rises. Some fuse box terminals also loosen or overheat, causing temporary loss and recovery of power.

Symptoms to Watch For

  • Failure appears after lights have been on a while
  • Relay may click during the fault
  • Fuse or relay area may feel warm
  • Problem may affect one beam circuit more than another

High Severity

A failing power supply component can cut lights without warning and can eventually fail completely.

Typical fix: Replace the faulty relay or fuse holder components and repair overheated or loose power supply terminals.

Control Module Reset or Relearn Issue

On vehicles where the body control module manages exterior lighting, a software glitch, reset event, or unstable control input can cycle the headlights unexpectedly. This is less common than wiring or relay trouble, but it does happen after low voltage events or module faults.

Symptoms to Watch For

  • Lights act up after battery replacement or low battery
  • Other body functions may glitch too
  • No obvious wiring damage is found
  • Scan data may show module communication or switch input faults

Moderate Severity

This may not be the most common cause, but intermittent module control can still create unsafe nighttime lighting behavior.

How to Confirm: Scan the body control system for stored codes and monitor the headlight switch input and lamp command while the problem occurs.

Typical fix: Perform the required relearn or software update, or replace the failed control module if testing confirms it.

Switch or Multifunction Dimmer Fault

The headlight or dimmer switch carries or commands the signal that turns the lamps on. Worn internal contacts can open intermittently, especially when the switch warms up or is lightly bumped.

Symptoms to Watch For

  • Low beams fail but high beams still work
  • Moving the stalk changes the problem
  • Lights may flicker when touching the switch
  • Problem may be worse after longer use

Moderate to High Severity

A failing switch can progress from occasional flicker to complete loss of one or both beam functions.

How to Confirm: Monitor continuity or command signal through the headlight or multifunction switch while operating it slowly and while the fault is present. If output drops out with stable power feed and good downstream wiring, the switch is faulty.

Typical fix: Replace the faulty headlight or multifunction switch assembly.

How to Diagnose the Problem

  1. Confirm whether one headlight cuts out or both headlights cut out together.
  2. Note exactly when it happens, such as over bumps, after several minutes, only at night, or with other accessories on.
  3. Check for other electrical clues like dash flicker, slow blower speed, radio resets, or a battery warning light.
  4. Inspect both headlight bulbs, sockets, and lamp connectors for corrosion, melting, looseness, or moisture intrusion.
  5. Turn the lights on and gently wiggle the headlight connectors, nearby harnesses, and main ground points to see whether flicker appears.
  6. Check the related fuses, relay, and fuse box terminals for heat damage, looseness, or discoloration.
  7. Measure charging voltage with the engine running and accessories on to rule out a system-wide voltage problem.
  8. If low beams and high beams behave differently, focus on the dimmer or multifunction switch and that beam's control circuit.
  9. Use a wiring diagram to verify whether power and ground are being lost at the lamp during the failure.
  10. If the vehicle uses a body control module for lighting, scan for body and lighting codes and monitor switch input and lamp commands.

Is It Safe to Keep Driving If Your Headlights Cut Out?

Important: The guidance below is general and cannot confirm that your specific vehicle is safe to drive. If a symptom affects braking, steering, handling, fuel, overheating, smoke, visibility, or vehicle control, treat it as potentially serious and have the vehicle inspected before continued driving when appropriate. For more context, see our Automotive Safety Disclaimer.

Whether you can keep driving depends on how complete and how predictable the failure is. A single flicker in daylight is different from both headlights going dark on a night drive.

Okay to Keep Driving for Now

It may be okay for a short daytime trip if only one headlight flickers occasionally, the rest of the electrical system is normal, and you are heading straight to diagnosis or repair. Avoid night driving until the cause is found.

Maybe Okay for a Very Short Distance

A very short drive may be possible if the lights still work most of the time but show clear intermittent behavior, especially in daylight and good weather. Keep the trip local, avoid highways, and be prepared for the fault to worsen.

Not Safe to Keep Driving

Do not keep driving if both headlights cut out together, the lights fail repeatedly at night, the battery light comes on with dimming, or you smell hot electrical plastic near the switch, fuse box, or lamp connectors.

How to Fix It

The right fix depends on whether the problem is in one lamp, the shared power circuit, or the vehicle's broader electrical system. Intermittent headlight issues are fixed by correcting the failed connection or component, not by guessing and replacing random parts.

DIY-friendly Checks

Replace an obviously failing bulb, clean and tighten accessible ground points, inspect sockets for heat damage, and swap a matching headlight relay if the vehicle layout makes that easy and safe.

Common Shop Fixes

A shop will commonly replace melted pigtail connectors, repair damaged harness sections, replace a multifunction switch, or fix a failing fuse box or relay connection.

Higher-skill Repairs

Module-controlled lighting faults, advanced wiring repairs, and charging system diagnosis usually require wiring diagrams, load testing, scan tools, and sometimes module programming.

Related Repair Guides

Typical Repair Costs

Repair cost depends on the vehicle, labor rates in your area, and the exact cause. The ranges below are typical U.S. parts-and-labor estimates for common fixes, not exact quotes for every vehicle.

Headlight Bulb or Socket Replacement

Typical cost: $40 to $220

This usually applies when only one lamp cuts out and the problem is traced to the bulb base or a heat-damaged socket.

Headlight Relay Replacement

Typical cost: $50 to $180

Costs stay on the lower end when the relay is easy to access and no fuse box terminal damage is present.

Wiring or Ground Repair

Typical cost: $120 to $450

Price varies with how long it takes to locate and repair the damaged connector, ground, or harness section.

Multifunction or Headlight Switch Replacement

Typical cost: $180 to $500

This is common when low beams or switch-triggered lighting functions cut out intermittently.

Alternator or Charging System Repair

Typical cost: $350 to $900

The total depends on whether the fix is only the alternator or also includes the battery or major cable repairs.

Body Control Module Update or Replacement

Typical cost: $150 to $1,000+

A software update is far cheaper than module replacement, and programming requirements can add significant cost.

What Affects Cost?

  • Whether the problem affects one lamp or the whole lighting circuit
  • Labor time needed to reproduce an intermittent fault
  • OEM versus aftermarket switch, module, or lamp parts
  • Fuse box or harness damage from heat or corrosion
  • Vehicle complexity and whether module programming is required

Cost Takeaway

If only one headlight is acting up, costs often stay in the lower tiers around a bulb, socket, or local wiring fix. When both headlights cut out together, especially with charging or module issues, costs rise because diagnosis is deeper and the failed part may be upstream in the electrical system.

Symptoms That Can Look Similar

Parts and Tools

FAQ

Why Do My Headlights Go Off and Then Come Back on a Few Seconds Later?

That pattern usually points to an intermittent electrical interruption rather than a normal bulb burnout. Common causes include a failing relay, overheated connector, loose ground, bad switch contact, or unstable charging voltage.

Can a Bad Alternator Make Headlights Turn Off and Back On?

Yes. A weak alternator or voltage regulator can cause flickering, dimming, resets, or intermittent lighting loss, especially if other electrical systems also act strangely.

If Only One Headlight Turns Off and Back On, Is It Still an Electrical Problem?

Usually yes, but it is often a more local electrical problem such as a failing bulb, loose socket, corroded connector, or damage inside that lamp assembly rather than a shared vehicle-wide fault.

Is It Safe to Drive if My Headlights Flicker Only Sometimes?

It may be safe only for a short daytime trip to get the car diagnosed. If the lights fail at night, both sides cut out, or the issue is getting worse, you should stop driving until it is repaired.

Can a Bad Headlight Switch Cause Both Headlights to Go Out?

Yes. A worn headlight or multifunction switch can interrupt the shared signal or power path, causing both lights or one beam setting to drop out intermittently.

Final Thoughts

Intermittent headlights are usually narrowed down fastest by separating one-side faults from both-side faults, then paying attention to what triggers the failure. Bumps, heat, switch movement, and other electrical symptoms all change what is most likely.

Start with the visible basics like bulbs, sockets, connectors, grounds, and relays before moving into deeper circuit or module diagnosis. If both headlights can go dark together, treat the problem as a safety issue and do not keep driving at night until the cause is fixed.