P0504 Ford Code: Brake Switch Causes and Fixes
7 min read · by Nicole Bennett · Last updated: November 25, 2026
A P0504 Ford code means the two contacts in the brake pedal switch disagree, so the engine computer cannot confirm whether the pedal is pressed. The code is rated high severity, and it can affect cruise control, the brake lights and the shifter.
Treat this as a safety issue, not a nuisance light. Check that the brake lights come on and go off with the pedal before you drive, and limit driving until the switch or its circuit is repaired. The switch is often the cause, but a blown fuse or a damaged connector can produce the same code.
What the P0504 Ford Code Means
P0504 is the generic OBD-II code for brake switch A and B correlation. The brake pedal switch has two circuits that should change state together as the pedal moves. When the computer sees the two signals disagree, it sets the code. On Ford vehicles the mismatch is read from the pedal switch inputs, so the switch is the first part to examine.
The CarWhere P0504 page adds a useful detail for Ford owners. The computer sets the code only after many mismatched brake applications, so a single event does not explain it. A pattern of brake lights that stay on, or fail to light, is the usual story.
What Causes a P0504 on a Ford
The most likely cause is the brake light switch itself, with worn or corroded contacts. A switch that is out of adjustment, a worn retaining clip or a worn pedal stop pad can produce the same mismatch. These are mechanical faults, so a new switch alone may not fix a clip or pad problem. For the same trouble code on a different platform, read P0504 Kia Code.
Wiring is the second group of causes. Corrosion at the switch connector, a damaged wire, or moisture in a fuse or junction box can make one circuit read differently from the other. The RX Mechanic P0504 guide lists the same group of faults, including a blown brake light fuse and a shorted or open wiring harness.
- A failing brake light switch with worn or corroded contacts
- A switch out of adjustment, or a worn clip or pedal stop pad
- A blown brake light fuse
- Damaged wiring or a bad connector at the switch
- Moisture in a fuse or junction box

Symptoms That Point to the Brake Switch
The most visible symptom is cruise control that will not engage. Because the computer cannot confirm the pedal state, it can also disable features that depend on it. The brake lights may stay on, stay off, or flicker, and the shifter may refuse to leave Park. A stability control or check engine light may come on with the code.
Ford vehicles may show a wrench light instead of the check engine light, so do not rely on the lamp color alone. Read the stored code with a scan tool even when the only warning is a wrench icon.
How to Diagnose P0504 Step by Step
Start with the simplest checks, because a blown fuse is cheaper than a switch. Have a helper press the brake while you watch each brake light, and do the test in a safe spot with the car in park.
- Check the brake light fuse and replace it if it is blown.
- Confirm every brake light comes on when the pedal is pressed and goes off when released.
- Watch both brake switch signals in live data as you press and release the pedal.
- Inspect the switch adjustment, the retaining clip and the pedal stop pad.
- Check the switch connector and harness for corrosion, moisture and damage.
- Replace or adjust the switch, then confirm both signals change state together.
The live data step is the key test. Both signals should change at the same moment as the pedal moves. If one stays fixed while the other changes, the switch or its wiring on that side is the fault. A replacement bulb or fuse will not fix a switch or circuit fault, so do not stop at the fuse if the signals still disagree. The fault logic is shared, but the test points change, so check P0504 Toyota Code too.
What a P0504 Repair Costs
The RX Mechanic guide gives a brake switch price of about $30 to $75 for the part, depending on make and model. It budgets around $80 for the part and labor together if a mechanic does the job. A fuse or a bulb costs far less, which is why the fuse and the bulb come first in the test order.
Costs rise if the harness or the connector is damaged, or if the fault is a moisture problem in a junction box. Ask the shop to show the live data result before it replaces a switch, so you know both signals failed to match.

Safety Rules While the Code Is Active
Brake faults are not a place to cut corners. The RX Mechanic guide warns that cruise control may not disengage when the brake pedal is pressed, which could lead to a collision. Turn off cruise control and leave extra following distance until the switch is confirmed working.
If the brake lights stay on or do not light at all, have the car looked at before you drive in traffic. A shifter that will not leave Park is a stranding risk, so arrange a tow or a shop visit rather than driving the car to the repair. P0500 Ford code meaning covers another issue owners of this vehicle run into.
Frequently Asked Questions
Is a P0504 code on a Ford serious?
Yes. The CarWhere page rates the code high severity and advises limiting driving. The problem affects the brake signal that other systems rely on, so it should be repaired promptly.
Can I clear the P0504 and keep driving?
Clearing the code will not fix it, and the computer may set it again after more mismatched brake applications. Check the brake lights and the switch first, because a cleared code with a working fault can leave you without cruise control or a correct brake signal.
Why does my Ford show a wrench light, not a check engine light?
Ford uses the wrench icon for some faults, including this one. The light color does not change the repair, so a scan tool is the only reliable way to read the stored code.
Is the brake light switch always the cause?
It is the most common cause in the guides reviewed, but not the only one. A blown fuse, a bad connector, a worn pedal stop pad or moisture in a junction box can produce the same code, so test each part before replacing the switch.
How long does a brake switch replacement take?
The guides reviewed give cost but not a time estimate. The job is usually a short one at the pedal, but a switch that needs adjustment or a connector repair takes longer, so ask the shop for its time estimate.
Check the brake lights, read both switch signals, and repair the switch or its circuit before you rely on cruise control again. Brake faults are worth fixing quickly, and the test takes less time than the drive to a shop.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0521 Ford: Diagnose Oil Pressure Sensor Problems
LearnP0505 Ford Code: Idle Air Control System Problem Explained
LearnP0507 Ford Escape: Find the Cause of High Idle and Fix It
LearnP0505 Ford Escape: Find the Idle Control Problem and Fix It
LearnP0506 Ford: Diagnose Low Idle RPM and Find the Right Repair
LearnP0342 Duramax Code: Camshaft Position Sensor A Circuit Low