OBD Codes List

Diagnostic reference · P0504

P0504

Brake Switch A/B Correlation

System
Speed and idle control (P code)
Lamp
Check Engine Light
Category
Powertrain - Computer and Auxiliary Controls

What it means

P0504 means Brake Switch A/B Correlation.

Where it lives

For P0504, the description names the switch as the part involved.

Check these first

  • Faulty brake light switch
  • Misadjusted brake pedal switch
  • Shorted or open switch wiring
  • Brake pedal travel sensor out of range
  • Faulty PCM

What to do next

  1. Observe brake pedal switch states on a scan tool
  2. Verify brake lights operate correctly
  3. Check switch adjustment at the pedal
  4. Test switch continuity across pedal travel
  5. Replace the brake switch and verify A/B correlation clears

Look up another code

Enter a full code or a symptom. Press / to search. How to read a code

Type a code above, or start from a symptom or a common code.

Updated

Generic SAE J2012 definition. Last updated 2026-08-30.