P0504

Universal

The Powertrain Control Module (PCM) has detected an inconsistent signal correlation between the primary (A) and secondary (B) brake light switch circuits.

Time: 30 minutes - 1 hour | Difficulty: Easy
High Severity

This code indicates that the vehicle's computer sees conflicting information from the two brake pedal position sensors, which are designed to confirm when the brake pedal is pressed. This discrepancy can lead to malfunctions in critical systems like brake lights, cruise control, and transmission shifting, posing a safety risk.

Report an error with this code

⚠️ Before You Begin (Safety First)

Driving with a P0504 code can be dangerous. Your brake lights may not function correctly, increasing the risk of rear-end collisions. Always check brake light operation before driving. When working on electrical components, disconnect the vehicle's battery to prevent electrical shock or damage.

Common Symptoms

  • Brake lights do not work or stay on continuously
  • Cruise control fails to engage or disengage properly
  • Difficulty shifting out of Park (shift interlock issues)
  • ABS (Anti-lock Braking System) warning light illuminated
  • Traction Control System (TCS) warning light illuminated
  • Engine stalling or hesitation

Common Causes

  • Faulty brake pedal position switch (either switch A or B, or both)
  • Misadjusted brake pedal position switch
  • Corroded or damaged wiring and/or connectors to the brake switch
  • Short circuit or open circuit in the brake switch circuits
  • Less commonly, a fault within the Powertrain Control Module (PCM)

Frequently reported on: Toyota Tacoma 2005-2015, Honda Civic 2006-2011, Ford F-150 2004-2008, Nissan Altima 2002-2006, General/Universal

Diagnostic Steps

  1. 1. Verify Brake Light Operation: Have someone observe your brake lights as you press and release the brake pedal. Check if they illuminate, stay on, or do not come on at all.
  2. 2. Locate the Brake Switch: The brake switch is typically located on the brake pedal arm, mounted near the pivot point. You may need to remove trim panels under the dashboard to access it.
  3. 3. Inspect Wiring and Connections: Visually check the wiring harness and connector attached to the brake switch for any signs of damage, corrosion, or loose connections. Secure any loose wires.
  4. 4. Test the Brake Switch (if possible): If you have a multimeter, you can test the continuity of the switch. Consult your vehicle's service manual for specific testing procedures and pinouts. A faulty switch may not show continuity when pressed or released correctly.
  5. 5. Replace the Brake Switch: If the switch is confirmed faulty or if visual inspection and adjustment don't resolve the issue, replace it. This usually involves twisting or unbolting the old switch and installing the new one. Ensure the new switch is correctly adjusted to the brake pedal.
  6. 6. Clear the Code and Retest: After replacing the switch, use an OBD-II scanner to clear the P0504 code. Drive the vehicle to see if the symptoms return and if the code resets.

👨‍🔧 When to Call a Professional

While replacing the brake switch is often straightforward, if the code reappears after replacement, or if you suspect wiring issues or multiple symptoms beyond just the brake lights, it's best to have a qualified mechanic diagnose the issue. A professional can accurately test wiring integrity and PCM function.

Need parts to fix this?

Commonly Asked Questions

Can I drive with a P0504 code?

While you might be able to drive, it is highly unsafe. Your brake lights may not function, which is a major safety hazard, and other critical systems like cruise control or transmission shifting might be affected. It's recommended to address this code immediately.

Where is the brake switch located?

The brake switch is typically mounted on the brake pedal arm, near where the pedal pivots under the dashboard. You may need to remove some lower dashboard panels to gain access.

How do I know if my brake switch is bad?

Common signs include brake lights not turning on/off correctly, cruise control failure, or difficulty shifting out of Park. A professional can test the switch's electrical continuity with a multimeter to confirm it's faulty.

Is replacing a brake switch difficult for a DIY mechanic?

For most vehicles, replacing a brake switch is a relatively easy DIY task, often requiring basic hand tools. The main challenge can be accessing the switch and ensuring proper adjustment after installation.

Will clearing the P0504 code fix the problem?

Clearing the code only turns off the check engine light; it does not fix the underlying issue. The code will return if the brake switch correlation problem is not resolved by repair or replacement.

Related OBD2 Codes

← P0503 ← P0502 ← P0501 p0504 P0505 → P0506 → P0507 →