Home › Code lookup › P0504
Powertrain code · Brakes

P0504 Brake Switch "A"/"B" Correlation

How urgent? Get it checked in the next few days

What it means

The brake pedal switch sends two signals that should always agree, and the computer saw them disagree.

Can I keep driving?

This code doesn't normally reduce braking power, but your brake lights may not work or may stay on, which raises the risk of being rear-ended. Have someone check your brake lights; if they're out, avoid driving until it's fixed. Cruise control and shifting out of Park may also act up.

What to test before replacing parts

Check the brake light switch adjustment and pedal stopper pad, the stop lamp fuse, and compare both switch signals on a scan tool before replacing the switch.

  1. Have someone confirm the brake lights come on and go off with the pedal
  2. Look for a missing or broken plastic stopper pad on the brake pedal arm
  3. Check the stop lamp fuse
  4. Compare both switch signals on a scan tool while pressing the pedal

Signs you may notice

  • Brake lights may stay on or not work
  • Cruise control may not engage
  • Push-button start or shifting out of Park may not work normally
  • Check engine light on

Possible causes

Most likely first. Directions for testing, not confirmed failures.

  • CommonFaulty brake light switch
  • CommonMisadjusted brake light switch or broken pedal stopper pad
  • PossibleBlown stop lamp fuse
  • PossibleWiring or connector problem at the switch

Typical repair once the cause is confirmed

Most often a new brake light switch, adjusted correctly.

Repair costInsufficient verified pricing for this vehicle and repair
Replace brake light switch. Prepare an itemized shop request.

Where it shows up

  • Often seen on Hyundai and Kia models with a failing brake light switch

Common questions

What does P0504 mean?

The brake pedal switch sends two signals that should always agree, and the computer saw them disagree.

Can I drive with code P0504?

This code doesn't normally reduce braking power, but your brake lights may not work or may stay on, which raises the risk of being rear-ended. Have someone check your brake lights; if they're out, avoid driving until it's fixed. Cruise control and shifting out of Park may also act up.

What causes P0504?

Common possibilities to test include: faulty brake light switch; misadjusted brake light switch or broken pedal stopper pad; blown stop lamp fuse; wiring or connector problem at the switch. A shop should confirm the cause before replacing parts.

Related codes

Trouble codes point to where a problem was detected, not always to the failed part. A scan and a few tests confirm the cause before parts are replaced. This is a general guide, not a diagnosis.