What P0504 means

Brake Switch A/B Correlation

How to diagnose

  1. Read freeze frame data. When P0504 set, your ECU snapshotted every sensor at that moment. This tells you what the car was doing when the fault triggered — RPM, load, coolant temp, throttle position, fuel trims. Almost always enough info to figure out the cause without further testing.
  2. Check for related codes. If you have P0504 plus other codes, fix the earliest one in the chain first — a single root cause often triggers multiple codes.
  3. Cheap fixes first. For most codes, the order is: inspect connectors + wiring (free), check for vacuum leaks (cheap), replace sensor (moderate), replace mechanical part (expensive). Follow that ladder before dropping money on parts.

Manufacturer-specific descriptions

Different manufacturers use P0504 for slightly different failure modes:

BMWBrake Switch "A"/"B" Correlation
FIATBrake Switch,
Read P0504 on your own car

DIY Fix My Car reads P0504 plus 25,000+ other DTC codes with manufacturer-specific descriptions. Includes freeze frame data, likely fix parts, and AI mechanic chat. Download free.

Related codes

P0500 · P0501 · P0502 · P0503 · P0505 · P0506

← All diagnostic trouble codes