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.
Likely causes
Symptoms
- Stop lamps stay on or do not light
- Vehicle will not shift out of park
- Push button start malfunction warning (Mazda)
Repair estimate
Typical range across vehicles; the real cost depends on what the testing finds.
Parts involved
Related codes
References: static.nhtsa.gov, static.nhtsa.gov, static.nhtsa.gov, rosap.ntl.bts.gov.