P0504

P0504: Brake switch A/B correlation

For your specific vehicle: P0504 on a 2006–2011 BMW 3 Series · 2012–2018 BMW 3 Series · 2010–2017 Chevrolet Equinox · 2011–2019 Ford Explorer · 2014–2018 GMC Sierra 1500 · 2011–2019 Hyundai Sonata
Show all 11 vehicles with this code

2011–2021 Jeep Grand Cherokee · 2007–2018 Jeep Wrangler · 2013–2018 Nissan Altima · 2010–2019 Subaru Outback · 2005–2023 Toyota Tacoma

DIY difficulty 1/5

Print shop one-pager Take this page to the shop — causes, fair prices, and sharp questions on one sheet.

Your brake light switch is sending conflicting signals. Your brake lights might not work - which is a safety issue - and cruise control may quit.

VW/Audi note (VCDS): Watch both switch circuits in live data while pressing the pedal - both states should flip together.
Model notes: Check brake light operation first - if the brake lights don't work, other drivers can't see you stopping.

Key facts

Symptoms

Likely causes

Owner notes linked to P0504: 11 across 1 repair — these are counts of owner-written notes, not odds of fixing your car.

Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →

Before you buy the part — 2 checks

Work these checks before spending money — each one rules a cause in or out, cheapest first.

  1. Check brake light operation Tests: Failed brake light switch (very common, cheap part)
  2. Watch both switch circuits in scan tool while pressing the pedal

No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.

Typical price range

Parts$15 – $40
Labor$50 – $120

The switch is cheap and usually a simple swap. National-average estimate for the most common repair for this code. Actual quotes vary by vehicle, region, and shop - get a local written estimate.

Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.

Got a shop quote? Grade it →

What will this cost to fix? A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0504 ranked, each with a price range.
They handed you a printout at the parts store? Decode it before you buy.

DIY difficulty

1 of 5 — A cheap part and a simple swap.

Watch this repair on YouTube

Parts & tools

As an Amazon Associate, WrenchFair earns from qualifying purchases.

Related codes

Check another code
Got a quote?Grade it →Shop one-pagerPrint it →Another code?Look it up →
Who's behind this guide? WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes. Read the full methodology →