Last updated:
In this guide (4 sections)
This guide explains how to remove and replace the brake light switch on a Mercedes-Benz. It features the ML-Class, but the procedure is similar for other models. If your Mercedes-Benz does not have a brake light switch, as shown here, it may be integrated into the brake booster or master cylinder.
Parts Required
How to Replace the Brake Light Switch on a W163 ML320, ML430 or ML500
- Remove the panel under the dashboard.
- If a scan tool or adapter is connected to the OBD-II port, unplug it to create more working room.
- Unplug the electrical connector from the brake light switch, which is located right above the brake pedal.
- Remove the brake light switch by pressing on the lock tab and rotating it.
- Install the new brake light switch in reverse order.
- Plug the electrical connector back in and install the under-dash panel.
- Check that the brake lights come on when you press the pedal and go off when you release it, then start the car and confirm the ABS and ESP warning lights go out.
Applicable Vehicles
W163 M-Class, 1998 to 2005: ML320, ML350, ML430, ML500 and ML55 AMG.
Diagnosing Brake Light Switch Faults
A failing brake light switch on these cars often turns on the ABS, ESP and BAS lights, stops the cruise control from working, or keeps the shifter locked in Park, because several modules read the same switch. Before replacing the switch, use the UCAN-II Pro to read ABS and ESP fault codes and check brake pedal switch live data when supported. If the switch status does not change as you press the pedal, the switch or its wiring is the fault. For the warning lights, see Mercedes BAS, ESP and ABS lights, and for other models, see how to replace the brake light switch on a Mercedes.

Before you buy parts, scan every control module, not just the engine. It shows the root fault behind the warning lights and tells you whether the problem is still active. See how to do a full health check.