What Does Code B1521 Mean?
DTC B1521 signifies a condition where the Engine Control Module (ECM) or Body Control Module (BCM), depending on vehicle architecture, detects an anomalous voltage signal from the hood switch circuit, specifically indicating a “Short To Battery”. This means the control module is receiving a voltage level on the hood switch signal line that is consistently at or near battery voltage (B+), despite the actual physical position of the hood or the expected circuit behavior. The hood switch is a critical input for various vehicle systems, including the Vehicle Theft Deterrent (VTD) system, remote start interlocks, and in some cases, adaptive lighting or climate control functions. When a B1521 is set, the control module interprets this constant high voltage as an electrical fault, as it deviates from the expected operational voltage range for the hood switch circuit, which typically fluctuates between a low reference voltage (e.g., 0V or ground) and a higher voltage (e.g., 5V or B+) based on the hood’s open or closed state and the circuit’s pull-up/pull-down design.
Common Symptoms
- Inoperative Remote Start System: As a safety interlock, most remote start systems will be disabled if the module believes the hood is open.
- Security System Malfunctions: False alarms, inability to arm/disarm the alarm, or continuous security warnings.
- “Hood Ajar” Warning Light: A persistent warning message or indicator on the instrument cluster, even when the hood is securely latched.
- Battery Drain: In some cases, if a control module remains active or powered down improperly due to a perceived open hood, it can lead to excessive parasitic draw.
- Adaptive Headlight System Limitations: Certain vehicles may restrict features like automatic high beams or dynamic headlight swiveling if a hood-open condition is detected.
What Causes the Code B1521?
- Damaged or Chafed Wiring: The most prevalent cause involves the hood switch signal wire making unintended contact with a constant power source (e.g., a battery cable, a fuse box terminal, or another B+ supply wire) due to insulation damage, chafing against sharp edges, or heat exposure.
- Faulty Hood Switch: An internal short circuit within the hood switch itself, causing its output terminal to be continuously tied to an internal power rail, regardless of its mechanical position.
- Corroded or Damaged Connectors: Accumulation of moisture, dirt, or debris within the hood switch connector or a related harness connector can create a conductive path, bridging the signal wire to a power supply pin.
- Improper Aftermarket Installation: Poorly installed aftermarket accessories (e.g., alarms, remote starters, lighting) that have tapped into the hood switch circuit and introduced a direct short to battery voltage.
- Internal Control Module Fault: While less common for a “short to battery” specific code, an internal defect within the BCM or ECM could erroneously interpret the signal or supply an incorrect reference voltage, although this is usually a secondary consideration after external circuit verification.
How to Diagnose and Troubleshoot
Diagnosis of B1521 requires a systematic approach involving visual inspection, digital multimeter (DMM) testing, and OBD-II scanner data analysis.
- Visual Inspection: Begin by thoroughly inspecting the hood switch, its electrical connector, and the entire wiring harness leading from the switch back towards the control module (BCM/ECM). Look for obvious signs of damage such as frayed or melted insulation, pinched wires, corrosion in connectors, or any signs of rodent damage. Pay close attention to areas where the harness passes through firewalls or near hot engine components.
- Retrieve Freeze Frame Data: Connect an OBD-II scanner to retrieve the B1521 code and any associated Diagnostic Trouble Codes (DTCs). Critically, analyze the freeze frame data, which captures system parameters at the exact moment the code was set. This information (e.g., engine RPM, vehicle speed, ignition status) can provide context for the fault.
- Verify Live Data Status: Access live data parameters on your OBD-II scanner. Locate the parameter indicating “Hood Ajar Status,” “Hood Latch Switch,” or similar. Observe this parameter while manually opening and closing the hood. If the status remains static (e.g., always “Open” or always “Closed,” depending on the system’s default logic for a high signal) despite the physical hood position, it confirms a circuit malfunction.
- Perform Voltage Measurement at Switch Connector:
- Disconnect the electrical connector from the hood switch.
- With the ignition ON (engine OFF), use a DMM to measure the voltage between the signal wire terminal (on the harness side, leading to the control module) and a known good chassis ground.
- If the DMM consistently reads battery voltage (approximately 12V) on this signal wire, it strongly indicates a short to battery within the wiring harness between the connector and the control module, or potentially an internal fault in the module supplying constant voltage.
- If the reading is a low reference voltage (e.g., 0V or 5V, depending on circuit design), the short is likely within the switch itself or further down the circuit if it’s a pull-up design.
- Perform Continuity/Resistance Test on Harness:
- With the hood switch connector disconnected and the ignition OFF, measure the resistance between the signal wire terminal (harness side) and the positive (+) terminal of the battery. An extremely low resistance reading (close to 0 ohms) confirms a direct short to battery in the harness.
- Also, measure resistance between the signal wire terminal (harness side) and chassis ground. This helps rule out a short to ground, which would typically set a different DTC.
- Test Hood Switch Operation (Component Test):
- With the hood switch removed from the vehicle and disconnected from the harness, use a DMM in continuity or resistance mode.
- Actuate the switch manually (simulate hood open/closed). Verify that the switch changes state as expected (e.g., from an open circuit to a closed circuit, or vice-versa, depending on the switch’s design – Normally Open or Normally Closed). An internal short to battery within the switch would be diagnosed if, when tested for continuity to its own casing or to a power source, it always shows continuity.
- Wiggle Test: While monitoring the live data status of the hood switch or performing voltage tests, gently flex, pull, and wiggle the wiring harness, connectors, and the hood switch itself. Observe if the fault condition changes or becomes intermittent. This can help pinpoint elusive intermittent shorts or poor connections.
Recommended Repairs and Solutions
Once the diagnostic steps have pinpointed the root cause, apply the following repair strategies:
- Repair or Replace Damaged Wiring: If the diagnosis identifies a short to battery within the wiring harness, the damaged section of the wire must be repaired. For minor chafing, insulate the wire with high-quality electrical tape or heat-shrink tubing. For more significant damage (e.g., cut or melted wire), perform a proper wire repair using automotive-grade crimp connectors (e.g., butt connectors with heat shrink) and the correct gauge wire. If the damage is extensive or involves multiple wires in a sub-harness, consider replacing the entire affected section of the harness or the complete sub-harness to ensure reliability.
- Replace Faulty Hood Switch: If the hood switch itself is confirmed to have an internal short circuit or does not operate correctly during component testing, replace it with a new OEM or high-quality aftermarket equivalent part. Ensure the new switch is properly mounted and adjusted to accurately reflect the hood’s open and closed positions.
- Clean or Replace Corroded Connectors: If corrosion is present in the hood switch connector or related harness connectors, disconnect them and thoroughly clean the pins using an electrical contact cleaner and a small brush or pick. If the connector pins are severely corroded, bent, or damaged, it may be necessary to replace the connector body or the affected terminals. Apply dielectric grease to protect against future corrosion.
- Remove or Reinstall Aftermarket Components: If aftermarket accessories are implicated in causing the short, carefully disconnect them and restore the factory wiring to its original state. If the aftermarket component is desired, ensure it is reinstalled correctly following best practices to avoid creating new shorts or circuit interference.
- Clear DTCs and Verify Repair: After completing the necessary repairs, use your OBD-II scanner to clear the B1521 code and any other stored DTCs. Then, operate the hood multiple times, start the vehicle, and perform a short drive cycle to confirm that the code does not return and that the hood switch functionality is restored. Monitor live data for the hood switch status to ensure it transitions correctly.
- Advanced Module Diagnosis (Rare): In the extremely rare event that all external wiring and components test perfectly, and the short to battery is definitively traced to an internal fault within the BCM or ECM, the control module may require reprogramming or replacement. This is a last resort and typically involves specialized diagnostic equipment and procedures, often requiring dealership intervention.

