OBD Codes List

Diagnostic reference · C0040

C0040

Brake Pedal Switch A

System
Chassis control (C code)
Lamp
Chassis Warning Light
Category
Chassis

What it means

C0040 means Brake Pedal Switch A.

Where it lives

For C0040, the part to look at first is the switch named here.

Check these first

  • A worn or damaged brake pedal switch A
  • Corrosion or water at the brake pedal switch A connector
  • An open or short in the brake pedal switch A wiring
  • Incorrect brake pedal switch A adjustment
  • A fault in the brake control module reading switch A

What to do next

  1. Inspect and clean the brake pedal switch A connector
  2. Check the brake pedal switch A adjustment
  3. Test the brake pedal switch A wiring for opens and shorts
  4. Replace the brake pedal switch A if it tests bad
  5. Test the brake control module if the switch and wiring are good
  6. Clear the code and retest

Look up another code

Enter a full code or a symptom. Press / to search. How to read a code

Type a code above, or start from a symptom or a common code.

Updated

Generic SAE J2012 definition. Last updated 2026-10-10.