DOBD DashX ☰ Browse all codes Blog For business
P0504

Brake Switch A/B Correlation

Brake switch / speed control Generic OBD-II High

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.

High

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

Seen in
4,768
scans in the past year
Found in
0.8%
of scans

Appears alongside · share of P0504 scans

P0401in 13.6% of scans
P0704in 12.2% of scans
P0402in 9.8% of 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.

▶ Get it on Google Play
Point your phone camera here

Need a scanner that reads ABS, airbag and more? GaragePro OBD scan tools ship worldwide. Claim deal →

Common symptoms

What you'll notice

Common causes

Most likely first

  1. Misadjusted or faulty brake pedal switch
  2. Wiring or connector fault in the brake switch circuit
  3. Blown brake-light fuse affecting one of the two signals
  4. Faulty control module reading the switch (less common)

Repair

Likely repair

How to diagnose & fix

Work through it in order

  1. Scan live data and compare the two brake switch signals as the pedal is pressed.
  2. Check the brake pedal switch adjustment and the striker/plunger at the pedal.
  3. Inspect the switch connector, wiring, and brake-light fuse.
  4. Replace the brake pedal switch if the two signals don't agree correctly.
  5. Verify both signals track together after the repair. Clear and re-test.

FAQ

Quick answers

Is it safe to drive with P0504?+
The engine runs, but disagreeing brake switch signals can disable cruise control and affect brake lights or the shift interlock, which is a safety concern. Repair it promptly.
Can I just clear P0504?+
It returns as soon as the two signals disagree again unless the switch or its wiring is fixed.

Related codes

✓ Verified name — SAE J2012 / ISO 15031-6Guidance reviewed by OBD DashX

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 →