🔍
🟢

P0504 on Hyundai Sonata

Brake Switch A/B Correlation

NHTSA Reports
4
Severity
medium
Most Affected
2006, 2007, 2012
Crashes / Fires
0 / 0
Source: NHTSA Complaints Database · SAE J2012
Last reviewed: Last updated:

Methodology: Reviewed against the SAE J2012 generic DTC definition and NHTSA owner-complaint patterns, then scoped to Hyundai Sonata context without treating complaints as confirmed diagnoses.

Sources: SAE/OBD-II definitions, manufacturer service information, and public reliability reports (including NHTSA where applicable).

Limits: Guidance is informational and may not match every model-year or revision. Confirm with the official manual and diagnostics before replacing parts. For safety-critical or electrical work, use a qualified technician.

What P0504 Means on Your Hyundai Sonata

P0504 is a diagnostic trouble code indicating: Brake Switch A/B Correlation. This code relates to the vehicle speed and idle control system. The vehicle's computer detected a condition outside normal operating parameters and stored this code.

4 HYUNDAI SONATA owners have reported this issue to NHTSA across model years 2006-2012. Most reports come from the 2006, 2007 model years.

Real Hyundai Sonata Owner Reports

Source: NHTSA Complaints Database

"Campaign #092 was replaced on my vehicle at bel air hyundai on 9/14/2010. the vehicle was there for other regular service and the recall was performed. at that time, the switch was not a problem. no check engine light and we were unaware that this recall was even performed."

— 2006 Hyundai Sonata owner · SERVICE BRAKES · Filed 2014-08-25

"My brake lights no longer function. my "esc off" light and check engine light appeared. i had a mechanic scan my car regarding the aforementioned issues and the code that displayed was "p0504"."

— 2007 Hyundai Sonata owner · ELECTRICAL SYSTEM,ELECTRONIC STABILITY CONTROL (ESC),SERVICE BRAKES · Filed 2015-04-20

"I drive a 2012 Hyundai Sonata Limited. After a recent fill-up, I began experiencing delayed acceleration, engine hesitation, and what appears to be misfiring—especially at low throttle."

— 2012 Hyundai Sonata owner · ELECTRICAL SYSTEM,SERVICE BRAKES · Filed 2025-07-05

All reports filed by vehicle owners directly with the U.S. Department of Transportation.

📊 Complaint Trend by Model Year

2
'06
1
'07
1
'12

Common Causes on Hyundai Sonata

Based on NHTSA complaint component analysis for this vehicle.

SERVICE BRAKES 25%
EXTERIOR LIGHTING,SERVICE BRAKES 25%
ELECTRICAL SYSTEM,ELECTRONIC STABILITY CONTROL (ESC),SERVICE BRAKES 25%
ELECTRICAL SYSTEM,SERVICE BRAKES 25%

What To Do Next

  1. 1
    Check for recalls on YOUR VIN

    Go to nhtsa.gov/recalls and enter your VIN. If your vehicle is covered, repairs are free.

  2. 2
    Get a proper diagnosis

    A code alone doesn't tell you the exact failed part. A diagnostic at a shop ($50–$150) pinpoints the root cause before you spend money on parts.

  3. 3
    Compare repair quotes

    Get 2–3 quotes. Dealer vs. independent shop prices often differ 30–50% for the same repair.

Frequently Asked Questions

P0504 on Other Vehicles