Skip to content
Skanyx
DTC/P0504·Mercedes-Benz

P0504 on Mercedes-Benz: Causes, Symptoms and Fix Cost

Quick Answer
Moderate SeverityNot safe to driveMercedes-Benz

P0504 on a Mercedes-Benz means the two internal circuits of the brake light switch do not agree. Modern brake switches send two signals to the ECU for safety: one that closes when the pedal is pressed and one that opens. If the ECU sees both circuits in the same state at the same time, it sets P0504. The fix is almost always a new brake switch, sometimes combined with a pedal position adjustment.

Typical repair cost, all makes€20 - €150

Connect any standard Bluetooth OBD2 adapter to your Mercedes-Benz and Skanyx tells you what P0504 means on that engine, whether it is safe to keep driving, and what the fix should cost. Free on iPhone and Android.

Get Skanyx free

What does P0504 mean on a Mercedes-Benz?

The Quick Answer above is the generic definition. What follows is the model-specific detail for the Mercedes-Benz models that log P0504.

Mercedes C-Class

2008-2024

W204 and W205 C-Class have well-documented brake switch failures, often setting P0504 together with a fault for stop-start system disabled. Mercedes uses a more complex switch with multiple internal contacts, so a single broken contact triggers the code. Cruise control and stop-start return to normal after replacement.

What causes P0504 on a Mercedes-Benz?

Beyond the generic causes listed on the main P0504 page, these are the patterns noted for Mercedes-Benz models:

Mercedes C-ClassMulti-contact brake switch internal failure on W204/W205
Mercedes C-ClassStop-start system disabled as secondary symptom

How to diagnose P0504 on a Mercedes-Benz with OBD2

Follow these steps to pinpoint the root cause of P0504:

  1. Use a scan tool to view live brake switch data. Most ECUs show two signals (BLS and BTS or similar). Press the pedal and verify both change state cleanly together
  2. Inspect the pedal at rest. The switch plunger should be fully extended and resting against the pedal stop with no preload. A loose stop pad lets the pedal sit too low and pre-presses the switch
  3. Remove the connector and inspect for bent pins or corrosion. Reseat firmly and recheck
  4. If both signals stay correlated only when the connector is wiggled, repair the wiring. Otherwise, replace the brake switch as a unit
  5. Clear codes, perform any required relearn for cruise control, and confirm the brake lights work both at rest and when the pedal is pressed

How much does P0504 cost to fix on a Mercedes-Benz? (EUR)

Estimated repair costs for P0504 in EUR, compiled across makes. Expect Mercedes-Benz parts and labour towards the upper end of each range.

Repair Parts Cost Labor Cost Total Estimate DIY Difficulty
Adjust brake pedal position €0–€0 €20–€60 €20–€60 Easy
Replace brake light switch €15–€40 €20–€60 €35–€100 Easy
Repair brake switch wiring and connector €5–€30 €40–€120 €45–€150 Moderate

Prices estimated as of March 2026. Costs vary by region, vehicle, and shop.

These codes are often seen alongside P0504 or point to related issues, on any make:

P0571P0572P0573P0703U0140

Looking for the full P0504 reference (all makes, full diagnosis flow, complete repair cost matrix)?

See the main P0504 guide
Skanyx · Mercedes-Benz

Diagnose P0504 on your Mercedes-Benz

Your car logged P0504. Skanyx reads it on any standard Bluetooth OBD2 adapter, tells you whether it is safe to keep driving, and shows the €20-€150 repair range so you know the number before a shop quotes you. Free on iPhone and Android, and you do not need to be a mechanic to read it.

Get Skanyx free