Every time you touch the brake or clutch pedal, the engine ECU knows about it within milliseconds. Small switches or contactless sensors tell the engine, gearbox, ABS/ESP and body modules what your feet are doing. They switch the brake lights, cancel cruise control, cut torque when both pedals are pressed and stop the engine from cranking in gear. A misadjusted switch can mean a warning light, dead cruise control, no start-stop or even a no-start. Here is how they work, how the ECU uses them and how to diagnose them.
The dual-contact brake pedal switch
On most modern cars and vans the brake switch is not a single contact. It contains two separate contacts with opposite logic, usually called brake switch “A” and “B”:
- Contact A (normally open): closes when the pedal is pressed. It typically supplies the brake lights and gives the ECU a “brake on” signal.
- Contact B (normally closed): opens when the pedal is pressed. It is often called the brake test or redundancy contact and goes to the engine ECU, and on some vehicles to the cruise control or transmission control unit.
Because the two contacts always move in opposite directions, the ECU can check one against the other. Polarity, naming and which module reads each signal differ by manufacturer, so check the wiring diagram.

Hall-type and analog brake pedal sensors
Many newer vehicles replace the mechanical contacts with a contactless brake pedal sensor. A magnet on the pedal moves past a Hall element, and the sensor outputs one or two digital signals or an analog pedal-position voltage. Hybrids and cars with electronic brake boosters often need a true pedal travel value to blend regenerative and friction braking. The principle for diagnosis stays the same: two independent signals that must agree.
The plausibility check
The ECU continuously compares the two brake signals. With the pedal released it expects A open and B closed; with the pedal pressed it expects the reverse. If both contacts show the same state for longer than a calibrated time, or one changes without the other, the ECU flags a correlation fault, typically P0504. A failed check usually disables cruise control until the fault is cleared.
How the ECU uses the brake signal
- Brake lights: switched directly by contact A or by the body control module after reading the switch.
- Cruise control and speed limiter cancel: a press on the brake must end cruise control at once; many systems need both contacts working before cruise will engage.
- Brake-throttle override: if the accelerator and brake are pressed together, many ECUs reduce the engine torque request towards idle. The torque coordinator treats it as one more limiter, as explained in our guide to the ECU torque model.
- Start-stop: on automatics the engine stops when you hold the brake at a standstill and restarts when you release it. See how start-stop systems work.
- Start interlock: on many automatic and push-button-start cars the brake must be pressed before the engine will crank.
- Gearbox and chassis: the TCU uses it for shift lock release, and ABS/ESP for hill hold and brake assist.
Clutch pedal switches: top and bottom of travel
Manual cars usually have one or two clutch switches, or a clutch pedal position sensor:
- Top-of-travel switch: detects that the pedal has just left its rest position. The ECU uses it to cancel cruise and to know the drivetrain is opening.
- Bottom-of-travel switch: detects the pedal pressed fully to the floor. It is commonly the start interlock (crank only with the clutch floored) and a start-stop restart trigger.
Some newer cars use a Hall-type clutch position sensor that gives a continuous travel signal.
What the ECU does with the clutch signal
- Torque and fuel control during gear changes: when the clutch opens, the ECU can reduce torque and manage the rev drop smoothly so the engine does not flare.
- Anti-stall and drive-away support: as the clutch is released at low speed, some ECUs add idle torque reserve to help prevent stalling.
- Launch control: on performance cars with a manual gearbox, launch control is typically enabled only when the clutch is pressed and the car is stationary.

Trucks, tractors and motorcycles
Trucks and agricultural machines: on J1939 networks the brake switch and clutch switch states are broadcast on the CAN bus as SPN 597 (brake switch) and SPN 598 (clutch switch). The engine ECU uses them for cruise and PTO cancel and engine brake logic; automated gearboxes may have no clutch pedal at all. Faults appear as SPN/FMI pairs; see our guide to J1939 SPN and FMI fault codes.
Motorcycles: bikes normally have separate front and rear brake light switches and a clutch lever switch. The clutch switch is often part of the starting safety circuit together with the neutral and side stand switches; on bikes with cruise or launch control the ECU also uses them for cancel and enable logic.
Adjustment after pedal or brake work
Many pedal switches are self-adjusting: they are pushed or twisted into a clip and set their position against the pedal the first time they are fitted. Some manufacturers specify a new switch or a reset procedure after removal. After work on the pedal box, master cylinder, clutch master cylinder or a missing rubber pedal stop buffer, the switch may no longer switch at the correct point. That is one of the most common causes of P0504 and P0704.
How to diagnose a brake or clutch switch fault
- Read codes in all modules (engine, ABS/ESP, body, transmission) with freeze frame.
- Check live data: watch brake A, brake B and the clutch switch signals while pressing each pedal slowly. Both brake signals should toggle at about the same pedal travel, and return when released.
- Check the brake lights and any lamp circuit faults.
- Measure the switch: unplug it and test each contact with a multimeter, pedal released and pressed.
- Check mounting and adjustment: broken clips, a cracked bracket, a missing pedal stop or a switch that was refitted without the correct procedure.
- Check wiring: supply, ground and signal at the connector, and do a voltage drop test under load. Look for chafing at the pedal box and wet footwell connectors.
- Confirm the repair: clear the codes, check every signal toggles correctly, test cruise cancel, start interlock and start-stop, then road test.

Related fault codes (DTCs)
| Code | Meaning | Typical causes |
|---|---|---|
| P0504 | Brake switch “A”/”B” correlation | Switch out of adjustment so the two contacts change state at different pedal travel, broken mounting clip, worn switch, one contact circuit open or shorted, missing pedal stop buffer |
| P0571 | Brake switch “A” circuit | Failed switch, poor connector contact, open or intermittent wiring, blown fuse in the switch supply |
| P0572 | Brake switch “A” circuit low | Signal shorted to ground, open supply or fuse, switch not closing, corroded connector |
| P0573 | Brake switch “A” circuit high | Signal shorted to battery voltage, switch stuck closed or misadjusted so it never opens, back-feed from an incorrectly wired brake light or trailer circuit |
| P0703 | Brake switch “B” circuit | Faulty second contact, wiring or connector fault, switch misadjusted; often stored by the transmission control unit on automatic gearboxes |
| P0704 | Clutch switch input circuit malfunction | Clutch switch failed or out of adjustment, broken switch bracket, open or shorted wiring, pedal not returning fully |
| P0830 | Clutch pedal switch “A” circuit | Failed switch, connector or wiring fault, switch not seated in its holder |
| P0831 | Clutch pedal switch “A” circuit low | Short to ground, open supply, switch not switching |
| P0832 | Clutch pedal switch “A” circuit high | Short to voltage, switch stuck in one state, open ground on some designs |
| P0833 | Clutch pedal switch “B” circuit | Second clutch switch (other end of travel) failed, misadjusted or with a wiring/connector fault |
Generic SAE OBD-II codes. Manufacturers often add their own brake and clutch switch codes; always confirm with the service information for the vehicle.
A note for tuning
Pedal switch logic is a safety function. A good calibration keeps brake-throttle override, cruise cancel and the start interlock fully working. Fix any brake or clutch switch fault before a remap; a misread switch makes torque delivery feel erratic and confuses datalogs.
Looking for a reliable tuning file for your car, van or truck? Order it from the file service at ecufilemarket.com.