P0504

P0504 on a 2012–2018 BMW 3 Series: Brake switch A/B correlation

Print shop one-pager Take this page to the shop — causes, fair prices, and sharp questions on one sheet.
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

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

Model notes: Check brake light operation first - if the brake lights don't work, other drivers can't see you stopping.

Key facts

☑ Before you buy parts — check these first:
On your 2012–2018 BMW 3 Series (N20 2.0L turbo I4, N26 2.0L turbo I4) — Front brake pads and rotors: Owner-verified
Base F30 brakes are single-piston floating calipers: remove the guide pins (under their rubber caps), slide the caliper off the carrier for a pad swap, and unbolt the carrier from the knuckle for rotor replacement (the rotor locating grub screw tightens to 16 Nm). M Sport/Brembo fixed calipers differ: pads come out after tapping out the retaining pins and rattle clip — the caliper stays bolted on (torque 110 Nm). Fit a new one-time-use wear sensor on the serviced axle. The wear warning does NOT self-clear: reset it via the BC stalk (hold with the warning displayed) or iDrive: Vehicle → Vehicle status → Brake pads → reset the serviced axle. If the reset fails, check that the sensor connector is fully locked and your foot is off the brake.
Do this test first: Check brake light operation
→ Passes: that cause is ruled out — run the next test in the diagnostic path below.
→ Fails: fix what failed — that’s your cause. Clear the code and re-test before buying anything else.
No owner fix reports yet for P0504 on the 2012–2018 BMW 3 Series — but the community-sourced Front brake pads and rotors note above covers an owner-reported fix.
Fixed yours? Report it — you'll help the next owner.

Torque specs

Tips

Sources: FCP Euro DIY: F30 front brake pads & discs (base brakes, torque specs) · FCP Euro DIY: F30 M-Sport front brake pads & rotors (110 Nm caliper bolts) · F30 Bimmerpost: F3x brake rotor/disc & pad replacement guide · Crenshaw Engineering free guide: F30 brake wear sensor replacement, reset, and 100–150 ohm sensor check

Typical difficulty: Moderate — based on 265 code guides for the brake repair area (an area-level estimate, not this exact job).

How notes are verified: Robbie-tested — Robbie did this repair on his own car and confirmed the fix himself. Owner-verified — community repair procedure with 2+ cited sources. Factory-documented — drawn from a factory TSB, recall, or campaign document; a factory procedure, not an owner-tested fix. Community-reported — single-source or otherwise unverified; treat as a lead, not a verdict.

No owner reports yet

Symptoms

Likely causes

What usually pays the bill on this car, most common first — but work the diagnostic path above cheapest-first. Test order and bill order aren’t the same thing.

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.

Most likely job on your 2012–2018 BMW 3 Series: Front brake pads and rotors — test first, then buy for this job.

Expensive fork: Brake caliper — if a wheel drags or overheats after fresh pads and rotors. The price range below is a national planning range for P0504 on this vehicle — not a quote: it spans the common job at the low end to the expensive fork at the high end. 0 owner invoices on this generation — treat these as planning numbers.
If a shop quote lands near the top of the range, that’s fork money, not the common job — ask which test failed before authorizing it.

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 →