C0040
Brake Pedal Switch A
C0040 reports a fault on brake pedal switch A, the first of two switch signals that tell the brake, engine and transmission modules the pedal is pressed. Mazda defines C0040:24 as a circuit malfunction of brake switch signal no. 1; on the 2024 CX-90 it appears with P0504 and a push button start warning, and service alert SA-062-23 cures it by moving the switch one adjustment notch. Ford sees C0040 with P0504 on 2020-2022 F-Super Duty trucks that cannot be moved out of park, pointing to corrosion inside the battery junction box or a damaged shift-interlock circuit. Typical effects are stop lamps that stay lit (Ford TSB 22-2044), a start system warning and a shift interlock that will not release. Older GM vehicles use C0040 for a wheel speed sensor circuit in their own scheme.
Possible causes
- Brake switch out of adjustment (Mazda SA-062-23) high
- Water or corrosion in the battery junction box (Ford TSB 22-2044) medium
- Damaged switch or shift-interlock wiring medium
- Brake switch failed internally low
Symptoms
- Stop lamps stay on or do not light
- Vehicle will not shift out of park
- Push button start malfunction warning (Mazda)
Inspection / repair
- Difficulty: easy
- DIY: possible
What Pro shows you for C0040
Before you go to the garage: roughly what the repair costs, how long it takes and which components are involved.
- Repair cost (estimate)(visible in Pro mode)
- Labour time(visible in Pro mode)
- 1 affected component(visible in Pro mode)
- 1 warning for driving and inspection(visible in Pro mode)
See repair cost, labour time and components?
One key opens all tools by Fabian Brose.