OBD-II reference

All 9.533 generic OBD-II codes, explained in detail.

Causes, inspection steps and sources — a comprehensive DIY archive. Created and maintained with love for the detail. Good luck and have fun!

Powertrain generic / SAE

P0504

Brake Switch A/B Correlation

The brake pedal switch has two contacts – A usually for the brake lights, B for cruise control and brake information – working in opposite sense, so the module expects opposite states on every brake application. P0504 means they disagree. The signal is used for cruise control cut-off, brake override with electronic throttle, the shift interlock and start-stop. Ford sets it only after more than 25 (petrol) or 40 (diesel) disagreeing brake applications, with the wrench lamp instead of the warning lamp; a NHTSA investigation covers Hyundai brake light switches.

SystemPowertrain
Typegeneric / SAE
GroupP0
Range / number5 / 04

Possible causes

  • Brake light switch faulty (burnt or corroded contact) high
  • Switch misadjusted or retaining clip or stop pad worn high
  • Wire, connector or brake light fuse faulty medium
  • Moisture in fuse or junction boxes low

Symptoms

  • Cruise control cannot be switched on
  • Brake lights stay on or do not come on
  • Selector lever cannot be moved out of P
  • Wrench or ESC lamp on

Inspection / repair

  • Difficulty: easy
  • DIY: possible

What Pro shows you for P0504

Before you go to the garage: roughly what the repair costs, how long it takes and which components are involved.

  • Repair cost (estimate)(visible in Pro mode)
  • Labour time(visible in Pro mode)
  • 3 affected components(visible in Pro mode)
  • 1 warning for driving and inspection(visible in Pro mode)

See repair cost, labour time and components?

One key opens all tools by Fabian Brose.

Already have a key? · What is the workshop key?

Sources

References

How to read OBD-II codes

The first letter names the vehicle system, the second digit distinguishes generic from manufacturer-specific, the remaining digits group fault area and number.

PPowertrain: engine, transmission, emissions
BBody: chassis trim, comfort, interior
CChassis: suspension, brakes, steering
UNetwork: CAN, control modules, communication