P0504: How to Diagnose & Fix — Brake Switch "A"/"B" Correlation
6 vehicles · 4 makes · $2-$250 repair
How to diagnose and fix P0504: most-reported vehicles
Ranked by owner reports. Each card gives the symptoms, how to confirm the cause, the fix, parts and sources for that vehicle.
Ford Mustang · 2015–2023
A small plastic clip called the brake pedal bumper/stopper can break and fall out of position, causing the brake light switch to remain constantly engaged. This results in brake lights staying on even when the pedal is released (including when the car is off, draining the battery), the engine going into limp mode limiting RPM to around 2,000, and transmission shifting issues.
Common Symptoms
- Brake lights stay on constantly
- Brake lights on even with car off
- Engine won't rev past 2000 RPM
- Limp mode / reduced power
- Dead battery
- Cruise control won't engage
How to Fix
Replace the brake pedal bumper/stopper clip. The part costs $2-10 and can be installed in minutes without tools. Simply press the new bumper into the hole on the brake pedal bracket where the old one fell out. If the battery was deeply discharged, it may need to be replaced ($150-250).
Sources for this issue (1)
Nissan Sentra · 2016–2019
The stop-lamp (brake light) switch becomes contaminated by silicone off-gassing from grease used on nearby components. Electrical arcing oxidizes the contacts and builds up silicon dioxide, opening the circuit. The result is brake lights that do not illuminate (a rear-end-collision hazard) and, because the same switch signals the shift interlock, an inability to shift the transmission out of Park. Nissan recalled 807,376 Sentras under campaign PM971 (NHTSA 21V-135).
Common Symptoms
- Brake lights do not illuminate when pedal is pressed
- Brake lights stuck on
- Cannot shift out of Park
- Cruise control inoperative
- Intermittent push-button start issues
How to Fix
Have the dealer perform recall PM971 / 21V-135: replace the stop lamp switch and install a protective grommet at no cost. Outside the recall, the switch is an inexpensive part; confirm by checking whether brake lights work and whether the brake-pedal-press releases the shift interlock before condemning the shifter assembly.
Sources for this issue (3)
Kia Optima · 2008–2010
Kia recall SC098 (NHTSA 13V-114) covers 2008-2011 Optima vehicles with a stop-lamp switch that may malfunction. Brake lamps may fail to illuminate, cruise control may not disengage, push-button start or brake-transmission shift interlock operation may be affected, and the ESC warning light may illuminate. This indexed page retains its existing 2008-2010 year scope.
Common Symptoms
- Brake lamps do not illuminate
- Cruise control does not disengage with brake pedal
- Shift interlock or push-button start operates intermittently
- ESC warning light illuminated
How to Fix
Check the VIN for open recall SC098/13V-114 and have the free dealer repair completed. Kia dealers replace the stop-lamp switch. Because recall applicability is VIN-specific and the campaign remedy is free, no retail switch is linked.
Sources for this issue (1)
Chevrolet Malibu · 2004–2012
Chevrolet Colorado · 2004–2012
Find P0504 by make
Browse every documented model and issue for your make.
P0504 code reference
General diagnostic-code context. The code alone does not confirm a cause for your vehicle; use the applicable issue card and its sources.
Frequently asked questions
What does P0504 mean?
P0504 stands for "Brake Switch "A"/"B" Correlation." Most vehicles use two independent brake switch signals (a normally-open and a normally-closed circuit, switch A and switch B). The PCM compares them and expects them to change state together when the brake pedal is pressed. P0504 sets when the two signals disagree (do not correlate), indicating one switch or circuit is faulty.
What are the most common causes of P0504?
The most common causes of P0504 are: Failed brake light switch, Misadjusted brake switch (plunger gap), Wiring/connector fault on one of the two brake switch circuits, Blown brake-circuit fuse affecting one signal, Faulty PCM input. The specific cause varies by vehicle.
How much does it cost to fix P0504?
Repair costs for P0504 range from $2 to $250, depending on the vehicle and root cause.
Which vehicles are affected by P0504?
Au7o has documented P0504 across 6 vehicle models from 4 manufacturers: Chevrolet, Ford, Kia, Nissan.
Content compiled with AI assistance using NHTSA complaints, TSBs, and owner reports. May contain errors. Always verify with your vehicle's service manual.