P0504: Brake Switch A/B Correlation
Updated November 24, 2026
Most brake light switches have two separate circuits, A and B, that change state together when you press the brake pedal. One usually runs the brake lights and the other tells the computers the brake is applied, for cruise control, the shift interlock and push-button starting. P0504 means the two signals don't agree, which usually points to the switch, its adjustment or its wiring.
COMPZA may earn a commission when you buy through links on this page, at no extra cost to you. How we make money.
🔧 Want to check this yourself? An OBD2 scanner reads the code; models with live data also show the sensor readings used in the checks below. See code readers and scanners from $24.99 ↓ · Which scanner do I need?
Common causes
- A failing brake light switch
- A switch out of adjustment, or a worn, broken or missing brake pedal stop pad that the switch rests against
- A blown brake light fuse
- A loose or corroded connector or damaged wiring at the switch
Code meanings can vary slightly by manufacturer. Use these as a starting point and confirm with your vehicle's service information or a mechanic before replacing parts.
Symptoms
- Check engine light
- Brake lights not working, or staying on all the time
- Cruise control not working
- Can't shift out of Park, or a push-button start car won't start
- Traction or stability control light on some vehicles
Is it safe to drive?
Before driving, have someone check that the brake lights come on when you press the pedal and go off when you release it. If they don't work, or stay on, don't drive until it's fixed; drivers behind you can't tell when you're braking. If the red brake warning light is on or the pedal feels soft or different, that's not this switch; stop driving and have the brakes checked. If the brake lights work normally, get it fixed soon.
How to check it with a scanner
- Plug an OBD2 scanner into the port under the dashboard and read all stored codes and the freeze-frame data (the conditions when the code set).
- Have a helper watch the brake lights while you press and release the pedal.
- Check the brake light fuse; if it's blown, look for a shorted wire or bulb socket before replacing it.
- With the ignition off, look up at the top of the brake pedal for the switch and the small plastic or rubber stop pad it presses against. A missing or broken pad is a common cause.
- With the key on and engine off, watch both brake switch signals in live data while pressing and releasing the pedal; both should change together every time.
- After a repair, clear the code and drive normally for a few days to confirm it doesn't come back.
A basic code reader shows the code; scanners with live data let you watch sensor readings, which is what you need for most of the checks above. See OBD2 scanners under $100.
Code readers and scanners in stock
From partner stores' live product feeds. Check that the tool covers your vehicle's make, model and year on the retailer's page before you buy.
LAUNCH CR319 OBD2 Code Reader & Emissions Readiness Tester$24.99at LAUNCH X431 Online
LAUNCH CR529 OBD2 Code Reader with Live Data Stream$45at LAUNCH X431 Online
Autel MaxiLink ML529$52at AUTELOnline
AutoLink AL319$59at AUTELOnline
LAUNCH Creader VII+ Code Reader for Engine, ABS, SRS & Transmission$60at LAUNCH X431 Online
MaxiAP AP2500E$60at AUTELOnline Affiliate links. AUTELOnline prices updated Dec 4, 5:23 PM EST · LAUNCH X431 Online prices updated Dec 4, 5:35 PM EST.
Many brake light switches must be set to a specific position or gap when installed; follow your service information so the switch fully releases with the pedal up.
Search eBay for your vehicle
Affiliate links: COMPZA may earn a commission from qualifying eBay purchases at no extra cost to you. Add your vehicle in eBay's parts finder to see parts that fit.
Questions
What does P0504 mean?
P0504 is the generic OBD2 code for "Brake Switch A/B Correlation." Most brake light switches have two separate circuits, A and B, that change state together when you press the brake pedal. One usually runs the brake lights and the other tells the computers the brake is applied, for cruise control, the shift interlock and push-button starting. P0504 means the two signals don't agree, which usually points to the switch, its adjustment or its wiring.
Is it safe to drive with P0504?
Before driving, have someone check that the brake lights come on when you press the pedal and go off when you release it. If they don't work, or stay on, don't drive until it's fixed; drivers behind you can't tell when you're braking. If the red brake warning light is on or the pedal feels soft or different, that's not this switch; stop driving and have the brakes checked. If the brake lights work normally, get it fixed soon.
How do I check P0504 myself?
Read the code and freeze-frame data with an OBD2 scanner, then: Have a helper watch the brake lights while you press and release the pedal. Check the brake light fuse; if it's blown, look for a shorted wire or bulb socket before replacing it. With the ignition off, look up at the top of the brake pedal for the switch and the small plastic or rubber stop pad it presses against. A missing or broken pad is a common cause. With the key on and engine off, watch both brake switch signals in live data while pressing and releasing the pedal; both should change together every time.
Related codes
📬 Get the weekly deals email
One email a week with the best current deals from our partner stores: home, kitchen, tech, car and gifts. No spam, unsubscribe anytime.
Emails include affiliate links; COMPZA may earn a commission at no extra cost to you. See our privacy policy.