Diagnose soonIf your brake lights aren't working, fix this immediately - other drivers can't see you braking.
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
P0504 means brake switch A/B correlation. Your brake light switch is sending conflicting signals. Your brake lights might not work - which is a safety issue - and cruise control may quit. WrenchFair's published fair-price range for this repair is $15–$40 parts and $50–$120 labor at independent shops.
WrenchFair rates P0504 a 1-of-5 DIY difficulty (“A cheap part and a simple swap.”) with a “Diagnose soon” driveability rating: If your brake lights aren't working, fix this immediately - other drivers can't see you braking. These are this guide’s own published ratings.
For labor context, WrenchFair's methodology page cites two published numbers: about half of US independent shops charge $120–$159/hr (PartsTech survey of 752 shops, fall 2024), and the national average posted mechanical rate was $163/hr in June 2026 (NABR LaborRateHero). Multiply either band by a quote's labor hours to judge whether its labor line is in range.
Service bulletins: 928 factory bulletins on file for this vehicle (mostly Electrical System, Equipment, Engine And Engine Cooling) — see the latest ones
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
Base F30 caliper bracket (carrier) bolts: 50 Nm + 90° — Angle-tightened; per FCP Euro F30 front brake guide.
Base F30 caliper guide pins: 28 Nm — Per FCP Euro F30 front brake guide.
M Sport/Brembo caliper bolts: 110 Nm (81 ft-lb) — Per FCP Euro F30 M Sport brake guide; applies to fixed-caliper cars.
Wheel bolts (lug BOLTS, 17mm socket): 120 Nm base / 115 Nm M Sport — Per FCP Euro guides; one owner DIY used 140 Nm — confirm against factory service info for this vehicle if unsure.
Tips
The wear sensor is single-use; 'reset unsuccessful' in the cluster almost always means the sensor wasn't replaced or its connector isn't locked.
Reset may require the engine running on some F30 build variants, not just ignition-on.
Grease only the backs of the pads — keep copper grease off the friction material and the disc.
Pump the brake pedal before driving; first press will go nearly to the floor.
Do not remove the T55 torx bolts on fixed calipers — BMW does not sanction removing them; service the caliper via the hex mounting bolts on the inboard side.
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
brake lights stuck on or not working
cruise control inoperative
EPC light
cannot shift from park
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.
Failed brake light switch (very common, cheap part) 11 owner notes link this repair to P0504
Misadjusted switch
Wiring fault
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.
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.
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.
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 →