Code C0040 indicates a problem with the brake pedal switch circuit, typically meaning the powertrain control module (PCM) has detected an incorrect or missing signal from the brake pedal position sensor or switch. This code is common in vehicles with electronic brake light controls or stop-start systems.
The switch itself is the most common failure. It may stick, fail internally, or have worn contacts causing an open or shorted circuit.
If the switch is not properly positioned relative to the brake pedal arm, it may not actuate correctly, leading to a continuous or missing signal.
Corrosion, broken wires, or loose pins in the switch harness can interrupt the signal. This is especially common in older vehicles or those exposed to moisture.
A blown fuse in the brake light circuit or a faulty relay can cause the switch to appear inoperative to the PCM.
Rarely, the PCM itself may have an internal fault or corrupted software that misinterprets the switch signal. This is the least likely cause and should only be considered after all other possibilities are exhausted.
Yes, many vehicles require the brake pedal to be depressed to start the engine. If the switch fails, the PCM may not receive the 'brake applied' signal, preventing the starter from engaging.
Almost never. The PCM is rarely the cause of a brake pedal switch code. The switch itself, its wiring, or its adjustment is the culprit in the vast majority of cases. Only consider PCM replacement after thorough diagnosis of all other components.
It depends. If the brake lights are stuck on, you may drain the battery or confuse other drivers. If they don't work at all, it is unsafe. Additionally, cruise control and shift interlock may not function. It is best to repair the issue promptly.
In most vehicles, yes. The brake pedal switch (or stop lamp switch) serves both the brake lights and the signal to the PCM. Some vehicles have a separate sensor for the PCM, but the code C0040 typically refers to the main switch.