The brake switch alerts the powertrain control module (PCM) that the brake pedal is depressed. The switch receives current from a constantly hot fuse and is normally open (N.O.) unless the driver steps on the brake pedal. If the PCM detects an incorrect signal or an electrical fault coming from the brake switch, it will log a P0504 code.
How a Brake Switch Works
As the driver steps on the brake pedal, a spring causes the brake switch to close which completes the electrical circuit and activates the brake lights. Once the pedal is released, a plunger connected to the switch is depressed and turns off the lights.
The brake switch is also used as an input switch for cruise control, anti-lock brakes, and brake shift interlock.
The brake and turn signal switches are not connected for systems using separate filaments for the stop and turn signal lights. If the vehicle uses one filament for both lights, brake switch current is routed through contacts within the turn signal switch.
What Does a P0504 Code Mean?
Diagnostic trouble code (DTC) stands for “Brake Switch A/B Correlation Code.”
The brake light switch is a “normally open” switch held by a tab on the brake pedal. This keeps the brake lights turned off. Once the brakes are applied, the switch closes and activates the brake lights.
Any problem with the brake switch will cause on-board diagnostics (OBD) to log a P0504 code.
Note: The definition of code P0504 might be different depending on the vehicle manufacturer. Consult the appropriate repair manual or repair database for the exact code definition.
What are the Common Causes of the P0504 Code?
- Failed brake light switch
- Brake pedal out of adjustment
- Wiring issues
- PCM failure
What are the Common Symptoms of the P0504 Code?
- Shifting issues
- Engine stalling when braking
- Inoperative cruise control
- Brake lights won’t illuminate
How to Diagnose the P0504 Code
DTC P0504 is a generic powertrain code. Makes like Kia, Hyundai, and Toyota, can log a P0504 code. While vehicles can exhibit similar symptoms, steps for diagnosis and repair can vary depending on their specifications. If you’re not familiar with auto repair, it might be a good idea to bring your vehicle to a professional.
Here is a video that shows what the diagnostic process might involve:
How to Fix the P0504 Code
Attempting to fix a P0504 code can be confusing if you don’t have the right tools and information. If you’re not confident with your DIY skills yet, it would be best to consult a certified mechanic. If you’re a seasoned DIYer who plans on resolving this code on your own, make sure to read your vehicle’s repair manual before proceeding. You can check out guides like those from Chilton or an ALLDATA subscription for vehicle-specific repair information before your start.
Get a New Brake Light Switch Online
If a bad brake light switch is the cause of the P0504 code being set in your vehicle, it’s best to avoid driving it until you have replaced its bad brake light switch. Order a replacement brake light switch from CarParts.com and have it quickly delivered to your doorstep.
CarParts.com delivers the brake light switch that you need to where you need it. When you purchase a product from our online store, our nearest distribution warehouse processes your order and ships your new part. If you live anywhere in the continental US and order by noon ET, you can expect your replacement brake light switch to reach your home in several business days. We exclusively source our products from the top brands, ensuring that you get the performance and reliability you deserve. Ask our helpful customer service team for assistance with our products, such as fitment and pricing.
Get an affordable, high-quality brake light switch at CarParts.com. Browse our selection of brake light switches and order what you need today.
Any information provided on this Website is for informational purposes only and is not intended to replace consultation with a professional mechanic. The accuracy and timeliness of the information may change from the time of publication.
I love the DIY comments and videos it’s very helpful
Hi Patrick,
Thank you for the positive feedback! We’re glad you found the information helpful.