B1797 — Lamp Headlamp Low-Beam Circuit Short To Ground
OBD2 code B1797 flags a problem with the body electrical system (lamp headlamp low-beam circuit short to ground). The car is usually drivable while you plan the repair. Common culprits: corroded or loose connectors, body control module (BCM) fault, faulty switch, motor or actuator of the affected system.
body electrical
Is it safe to drive?
Short-term driving is OK Usually safe to drive — body codes rarely affect drivability. Exceptions: exterior lighting and wipers in bad weather, and central locking faults that can leave the car unsecured.
How to diagnose with an OBD scanner
- Read the code and freeze frame Connect an OBD2 scanner, confirm B1797 is stored, and save the freeze frame data — it shows engine conditions when the fault was detected.
- Check for companion codes and TSBs Related codes often reveal the real root cause. Also check manufacturer technical service bulletins (TSB) for your make and model — many B0xxx issues have factory fixes or software updates. Search by VIN on the manufacturer site or nhtsa.gov.
- Inspect wiring and connectors Visually inspect the wiring harness and connectors related to the body electrical system for damage, corrosion, chafing or poor contact.
- Subsystem check Operate the affected function while watching its switch and motor PIDs in live data.
- Subsystem check Inspect connectors and wiring at flex points (door jambs, tailgate hinges) — wires break there first.
- Verify the repair Clear the code, complete a full drive cycle including the conditions from the freeze frame, and confirm B1797 does not return.
Approximate repair cost
Repair cost depends on which component actually failed. Typical scenarios for B1797 (parts and labor, USD, independent shop rates): Replace the switch or actuator: $120–$450; Repair wiring or connectors: $80–$250; BCM repair or replacement: $300–$900. Overall, fixing B1797 usually costs between $80 and $900. An accurate diagnosis before buying parts saves money — the most expensive scenario is rarely the first one to check.
Common questions
What are the symptoms of B1797?
Drivers most often notice: no impact on engine operation in most cases, warning light on the dashboard, the affected function (locks, windows, lighting, wipers) works intermittently or not at all.
How much does it cost to fix B1797?
Replace the switch or actuator — $120–$450; Repair wiring or connectors — $80–$250; BCM repair or replacement — $300–$900. Exact cost depends on the root cause, your vehicle and local labor rates — a proper diagnosis is the cheapest first step.
What is the most common cause of B1797?
The most common causes are: corroded or loose connectors, body control module (BCM) fault, faulty switch, motor or actuator of the affected system.
How do I diagnose B1797 myself?
Start with a scan: confirm B1797, save the freeze frame and note any companion codes. Then inspect the wiring and connectors related to the body electrical system, and verify the suspect component against live data before buying parts.
Is it safe to drive with B1797?
Usually safe to drive — body codes rarely affect drivability. Exceptions: exterior lighting and wipers in bad weather, and central locking faults that can leave the car unsecured.
The B1797 trouble code indicates a short-to-ground fault in the low-beam headlamp circuit, which falls under the body electrical category of OBD2 diagnostics. When the control module detects that the low-beam circuit is pulling current to ground when it should not, it logs this code and illuminates the malfunction indicator lamp. The module does not set B1797 based on a single momentary spike—it requires the condition to repeat under specific operating parameters before confirming the fault and triggering the warning.
This behavior exists to prevent false codes from transient electrical noise. When B1797 is stored, the accompanying freeze frame data records engine load, RPM, coolant temperature, and vehicle speed at the moment the fault occurred. That snapshot tells you exactly what conditions to reproduce during testing, which is essential for confirming whether the problem is still present or was an intermittent event. Understanding that the body control module must verify the fault before activating the light helps you prioritize your diagnosis—it means the circuit likely failed the same test more than once.
The low-beam headlamp circuit involves the headlight switch, the relay or control module that supplies power, and the wiring running to the headlamp bulbs themselves. A short to ground occurs when the positive circuit wire makes unintended contact with the vehicle chassis or a grounded metal component, bypassing the intended load and causing excessive current flow. The module recognizes this abnormal pattern and protects the circuit by setting B1797. Depending on your vehicle's design, the affected system may share components with other body functions, which is why related codes often appear alongside B1797.
Common Symptoms of B1797
- Dashboard malfunction indicator lamp is illuminated
- Low-beam headlamps do not activate or operate only intermittently
- No effect on engine performance or drivability fundamentals
- Other body functions that share the circuit may also be affected
- High-beam operation typically remains functional since it uses a separate circuit
- The problem may worsen in wet weather if moisture is introducing the short
What Causes B1797?
- Damaged or worn wiring insulation in the headlamp circuit, especially in areas exposed to heat or physical stress
- Corroded or loose electrical connectors at the headlamp assembly or body control module
- Blown fuse or failed relay that controls low-beam power delivery
- Faulty headlamp switch or combination switch assembly on the steering column
- Body control module internal failure or software calibration issue
- Wiring chafing where the harness passes through the engine compartment or fender
How to Diagnose B1797
-
Connect an OBD2 scanner and verify that B1797 is stored in the body control module. Record all available freeze frame data, including engine load, RPM, coolant temperature, and vehicle speed at the time of failure—these conditions must be replicated during your road test after repairs.
-
Retrieve any additional diagnostic trouble codes from all modules. Codes that share the same circuit or ground reference often point to the root cause. Check manufacturer technical service bulletins for your specific make and model using your VIN, as many body electrical faults have documented factory fixes or software updates published on the manufacturer website or nhtsa.gov.
-
Perform a thorough visual inspection of the low-beam circuit wiring and connectors. Focus on areas where the harness bends, passes through metal tabs, or is exposed to road debris. Look for broken insulation, exposed copper strands, corroded terminals, and evidence of heat damage or melting.
-
Operate the headlamp switch through all positions while monitoring relevant parameter IDs in live data. Compare switch state, relay command, and circuit voltage readings against specifications from your service manual. If the module commands low-beams on but the circuit shows no voltage, the problem lies downstream.
-
Inspect all connectors in the low-beam circuit, paying special attention to flex points at door hinges and fender wells where wire fatigue commonly occurs. Disconnect and reconnect each connector while watching for intermittent readings that indicate poor contact.
-
Clear B1797 after your inspection, then drive the vehicle through a complete drive cycle that includes the conditions captured in the freeze frame. If the code returns, the short condition is still present and further circuit testing with a multimeter or oscilloscope will be required to isolate the exact location of the ground fault.
Repair Options and Costs
Repair costs for B1797 vary significantly depending on which component is responsible for the short-to-ground condition. The following price ranges reflect typical parts and labor at an independent repair shop in USD:
- Replace headlamp switch or combination switch assembly: $120–$450
- Repair damaged wiring harness or replace wiring connectors: $80–$250
- Body control module diagnosis, repair, or replacement: $300–$900
In many cases, the repair involves nothing more than sealing a corroded connector or securing a loose ground wire, which costs only the diagnostic time. More extensive wiring damage in door jambs or behind the headlamp housing may require harness repair or replacement, pushing costs toward the middle of the range. Full BCM replacement is the most expensive scenario and should only be pursued after all other circuit components have been ruled out.
Driving Safety Verdict
The severity level for B1797 is short—meaning this fault does not prevent you from driving, but it should be addressed within days rather than weeks. Low-beam headlamps are a legal requirement in low-light driving conditions and many jurisdictions will flag a vehicle during inspection if both low-beam circuits are inoperative. The safety risk increases significantly if you regularly drive in rain, fog, or before sunrise or after sunset. The good news is that body electrical codes like B1797 do not affect engine operation, transmission function, or braking systems, so you will not be stranded if the headlights fail completely. Prioritize the repair before any nighttime or adverse-weather driving.
Related OBD2 Codes
- B1700: B1700 — Seatbelt Passenger Pretensioner Circuit Short to Ground: Causes, Symptoms & Fix
- B1701: Seat Driver Recline Forward Switch Circuit Failure
- B1702: Seat Driver Recline Forward Switch Circuit Open
- B1703: Seat Driver Recline Forward Switch Circuit Short To Battery
- B1704: Seat Driver Recline Forward Switch Circuit Short To Ground
- B1705: Seat Driver Recline Rearward Switch Circuit Failure