What to look at in live data
The state of the two brake switch contacts is not among the standard OBD2 data: some cars report it through the manufacturer's diagnostics, many don't. What you can see clearly is the effect: with P0504 cruise control usually won't engage and, on cars with start-stop, the engine may not shut off at traffic lights. Check the brake lights too, with someone behind the car: if they stay on or never light up, that is where the fault is.
If the car reports the brake state, press the pedal gently and then fully, engine off and ignition on: the two contacts should change state together, within a few millimetres of travel. If one changes and the other doesn't, or they switch at very different points, the switch needs adjusting or replacing; often the plastic pedal stop has broken and leaves the switch in the wrong position.
How serious is it and can you drive?
Severity is medium, but checking the brake lights is urgent: if they don't come on, the driver behind doesn't know you're braking. If the brake lights work, you can drive gently; cruise control may not work until the fault is fixed.
Read P0504 on your car
With an OBD2 adapter, DrivePulse reads your car's fault codes and tells you what they mean, whether you can drive and what to check. It's read-only: it writes nothing to the ECU.
Get DrivePulseWhat it means
The brake pedal has a switch with two contacts. One turns on the brake lights, the other tells the ECU you're braking: it's used to cancel cruise control, by the automatic gearbox and for electronic throttle safety. The two contacts must change state together. With P0504 the ECU says they don't: one says pedal pressed, the other doesn't.
Symptoms
- Brake lights don't come on, or stay on all the time.
- Cruise control won't engage or cancels itself.
- On some automatics, the selector won't come out of P.
- Check engine light on, sometimes other warnings.
Most likely causes, in order
- The brake pedal switch, faulty or out of adjustment.
- Blown brake light bulbs, which on some models make the circuit read wrong.
- The switch connector, loose.
- A broken plastic pedal stop that shifts the switch.
What to check before the garage
- Ask someone to watch the back of the car while you press the brake: the brake lights should come on, and go off as soon as you release.
- If a bulb has blown, replace it: on some cars that's enough to clear the code.
- Look under the dashboard, above the pedal, to see that the switch is in place and the connector plugged in.
At the garage: what to ask for
A reading of both switch signals while the pedal is pressed, and adjustment or replacement of the switch. It's a quick job.
What DrivePulse shows
DrivePulse reads P0504 and opens its card, with the warning up front to check the brake lights straight away. It tells you whether the code is pending or confirmed.
If P0500 or an accelerator code appears too, DrivePulse shows them all: on some cars the safety systems cross-check these signals, and one fault drags others along.
Frequently asked questions
Can I drive with P0504?
Yes, if the brake lights work. If they don't come on, fix that first: the driver behind can't see you braking.
Why doesn't cruise control work?
Because for safety it only engages if the ECU is sure it knows when you press the brake. With P0504 it isn't, so it blocks it.
Can a blown bulb cause P0504?
On some models, yes, because the brake light circuit is part of the check. Replacing the bulb is the first and cheapest attempt.
Where is the switch?
Above the brake pedal, under the dashboard: it's a small plunger that the pedal holds pressed at rest. On many cars it unclips with a twist and, when refitted, sets itself against the pedal.
Related codes
Related guides
- Buying a used car? What to check: a code cleared just before the sale shows up in the distance driven since the last clear.
What you need to read it
All you need is an ELM327 OBD2 adapter, plugged into the diagnostic port, usually under the steering wheel. On iPhone it has to be Bluetooth Low Energy (BLE) or Wi-Fi, like the Veepeak OBDCheck BLE or the Vgate iCar Pro 2S; on Android classic Bluetooth adapters work too, once paired in the phone's settings. Veepeak recommends DrivePulse to its customers, and the Vgate is the one the Italian site Macitynet tested together with the app. The full list is on Which adapters work.
DrivePulse is on iPhone and Android. It's read-only: it writes nothing to the ECU and doesn't clear codes. You try it for 7 days from the first connection or for 15 trips, whichever comes first, then unlock it with a single purchase, no subscription and no account.