C0277 — Brake Pedal Position Switch Circuit
C0277 indicates a fault in the brake pedal position switch circuit. The brake module saw a switch signal that is open, shorted or not consistent with other brake data, such as the switch showing applied with no deceleration. Some OEMs use this code for a brake pedal position sensor rather than a switch.
What this means for truckers
C0277 (Brake Pedal Position Switch) — pedal position fault.
Before you replace parts — try this first
C0277 on the Brakes system is most often misadjusted or failed brake pedal switch — not a dead part. On commercial diesels especially, work these in order before spending money on parts:
- Confirm the symptoms. Match what your truck is doing to the Symptoms section below. If the code is set but the symptoms are not there, clear the code and re-test after a drive cycle — it may not return.
- Clean and dry the sensor connector. Water, road salt, or oil seeping into a connector is the #1 fake sensor failure. Disconnect, look for green corrosion or moisture, spray with electrical contact cleaner, dry, reseat. Many faults clear here for $0.
- Inspect the wiring harness. Trace the wire from the sensor toward the ECM — look for chafing against the engine block, melted insulation near the turbo or exhaust, or pinch points where a clamp has rubbed through.
- Test the sensor before swapping it. Most Common Causes (below) list the expected voltage or resistance range — a $20 multimeter saves a $300 sensor swap that does not fix the problem.
- Only then, replace the part. Use the OEM or a tier-1 aftermarket. Cheap sensors throw the same code in two weeks.
Symptoms
ABS, traction or stability lights on, cruise control may not work, and brake lights may not work or stay on. On automatic trucks with a brake-shift interlock, the shifter may not come out of park. Base braking is normal.
Common causes
- CommonMisadjusted or failed brake pedal switch ($40–$200)
- OccasionalWiring or connector fault at the pedal ($80–$300)
- OccasionalBlown fuse in the switch feed ($10–$80)
- RareModule input failure ($600–$2000)
How to fix
Affects most
No specific vehicle pattern found in our complaint database. This code can appear on any vehicle that supports OBD-II diagnostics.
Related
- → Browse all DTC trouble codes
- → Decode a VIN to check codes for your truck
- → Owner-operator maintenance guides
- → C0235 — Vehicle Speed Sensor Circuit
- → C0237 — Vehicle Speed Sensor (drive train)
- → C0249 — Brake Boost Sensor Out of Range
- → C0265 — EBCM Relay Circuit
- → C0282 — Brake Pedal Travel Sensor Circuit