P0504 — Brake Switch Correlation Error
| Meaning | The engine computer has noticed a disagreement between the two internal sensors inside your brake pedal switch. One sensor says you are pressing the brake pedal, while the other sensor says you are not. Because the system cannot verify what your foot is doing, it flags this fault. |
| Family | Powertrain (P) |
Typical symptoms
The check engine light is illuminated on the dashboard
Sometimes the brake lights stay on or fail to light up when pressing the pedal
Common causes
Corroded or loose electrical connector at the brake switch
Blown fuses or wiring issues related to the brake light circuit
What to do
How to read code P0504
This is a warning: the vehicle usually keeps working, but the control unit may limit performance (limp mode) until the fault is removed.
The code P0504 starts with P: it belongs to the powertrain (engine and transmission) area. It is defined by the SAE/ISO standard, so it means the same on every make. The third character (5) points to vehicle speed, idle control and auxiliary inputs, and the last two (04) identify the specific fault inside that group.
How to proceed, in order
- Read the code with the diagnostic tool and note the freeze-frame data and any other stored codes.
- Check connectors, wiring and grounds of the component involved, and the battery voltage.
- Measure the real values of the component with the diagnostic tool instead of replacing it by guesswork.
- After the repair, clear the code and confirm with a road test that it does not come back.
Frequently asked questions
What does code P0504 mean?
Brake Switch Correlation Error. The engine computer has noticed a disagreement between the two internal sensors inside your brake pedal switch. One sensor says you are pressing the brake pedal, while the other sensor says you are not. Because the system cannot verify what your foot is doing, it flags this fault.
Can I keep driving with code P0504 active?
With caution: limp mode possible, have it checked soon
Common causes — P0504
Faulty or misadjusted brake pedal position switch Corroded or loose electrical connector at the brake switch Blown fuses or wiring issues related to the brake light circuit
How do you fix code P0504?
You should check the brake pedal switch and its wiring connector first. It is wise to inspect this soon, as a failing brake switch can affect important safety features like cruise control and your brake lights.
We are ECU specialists: diagnosis, file repair and remapping for cars, bikes, trucks and agricultural vehicles.
Write to us on WhatsApp Contact us- Previous code: P0503 — Vehicle Speed Sensor Intermittent/Erratic/High
- Next code: P0505 — Idle Control System Malfunction
Related codes
- P0500 — Vehicle Speed Sensor Malfunction
- P0501 — Vehicle speed sensor: implausible value
- P0502 — Vehicle Speed Sensor Circuit Low Input
- P0503 — Vehicle Speed Sensor Intermittent/Erratic/High
- P0505 — Idle Control System Malfunction
- P0506 — Idle Control System RPM lower Than Expected
- P0507 — Idle Control System RPM Higher Than Expected
- P0508 — Idle Air Control System Circuit Low
- P0509 — Idle Air Control System Circuit High
- P0510 — Closed Throttle Position Switch Malfunction
- P0511 — Idle Air Control Circuit
- P0512 — Starter Request Circuit