Brake Switch A/B Correlation
What it means
P0504 means the two independent signals from the brake pedal switch (circuits A and B) disagree about whether the pedal is pressed. The car reads both to run brake lights, cruise control, the shift interlock, and, on some vehicles, push-button start. A misadjusted or failing switch, or a wiring/fuse fault, is the usual cause. The engine still runs, but the affected safety and convenience functions make this worth fixing quickly.
Can I keep driving? The car usually drives, but cruise control, brake lights, and on push-button cars even starting can be affected — get it fixed promptly.
What this part does
The brake pedal switch is a simple switch at the top of the pedal that tells the car when the pedal is being pressed. It turns on the brake lights and tells the engine computer and cruise control to cancel. On some cars it also allows the key to leave park or the engine to start. A fault may cause brake lights to stay on or fail to light.
Real-world scan data
Appears alongside · share of P0504 scans
Codes often seen with P0504. Of the 4,768 scans on our apps that reported P0504 in the past year, 13.6% also showed P0401 (EGR A Flow Insufficient Detected), 12.2% showed P0704 (Clutch Switch Input Circuit) and 9.8% showed P0402 (EGR A Flow Excessive Detected). If your scan shows any of these too, read their pages as well, because one fault can trigger another.
Read & clear P0504 yourself
Scan your car, confirm the code, and clear it once it's fixed — with OBD DashX on your phone.
Need a scanner that reads ABS, airbag and more? GaragePro OBD scan tools ship worldwide. Claim deal →
Common symptoms
What you'll notice
- Cruise control won't engage or drops out
- Brake lights behaving erratically or staying on/off
- Check-engine light on
- Shift interlock or push-button start may not release (won't shift out of park or won't crank)
Common causes
Most likely first
- Misadjusted or faulty brake pedal switchLikely
- Wiring or connector fault in the brake switch circuitCommon
- Blown brake-light fuse affecting one of the two signalsCommon
- Faulty control module reading the switch (less common)Less often
Repair
Likely repair
- Parts often involved: brake light switch or brake pedal sensor, wiring or connector, engine control unit (ECU)
- Labor: 0.2–1 h
- Difficulty: Easy
- DIY: Possible
How to diagnose & fix
Work through it in order
- Scan live data and compare the two brake switch signals as the pedal is pressed.
- Check the brake pedal switch adjustment and the striker/plunger at the pedal.
- Inspect the switch connector, wiring, and brake-light fuse.
- Replace the brake pedal switch if the two signals don't agree correctly.
- Verify both signals track together after the repair. Clear and re-test.
FAQ
Quick answers
Is it safe to drive with P0504?+
Can I just clear P0504?+
Related codes
About this page
Scan figures come only from diagnostic scans recorded through our own apps and tools. Cars are usually scanned because a symptom or warning light prompted it, so these figures describe our scan records, not how often a fault occurs in any make or model.
Notes about specific manufacturers summarise public records (NHTSA owner complaints, recalls and manufacturer service bulletins), cited under each note. They report what those records say, not our measurements, and they do not suggest that any manufacturer or vehicle is better or worse than another.
Repair time and cost estimates come from a public repair dataset and are typical ranges, not quotes.
OBD DashX is not affiliated with, sponsored by or endorsed by any vehicle manufacturer. Manufacturer and model names and trademarks belong to their owners and are used only to identify vehicles.
This page is general information, not professional advice. Have safety-critical faults (brakes, steering, airbags, high-voltage systems) checked by a qualified technician. To the extent the law allows, we accept no liability for repairs or decisions made from this page.
Businesses: this content is available through our API. For business →