DTC codes / P05xx · Vehicle speed, idle control and auxiliary inputs / P0504
P0504 means the powertrain control module (PCM) has detected a disagreement between the two electrical signals produced by the brake pedal switch assembly, which typically contains a normally closed and a normally open contact. The PCM compares these two inputs to confirm the brake pedal position, and when the signals do not correlate for a calibrated period, it stores this code and may disable cruise control or affect shift logic.
The vehicle is generally safe to drive to a repair shop because the base brakes remain fully functional, but avoid using cruise control and be aware that brake lights or shift interlock behavior may be affected. If the brake lights stay on continuously, do not leave the vehicle parked unattended for long periods because the battery may drain.
Tools we recommend are in the Auto Veteran shop on Amazon. As an Amazon Associate we earn from qualifying purchases.
Guidance is general and written for all OBD-II vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.
Get the app
Quick access from your home screen.