DTC codes / Mazda codes / P1791
P1791 on Mazda vehicles indicates that the powertrain control module (PCM) has detected an electrical fault in the throttle position (TP) sensor circuit, which may involve an open, short, or abnormal voltage signal. The PCM monitors the TP sensor signal and sets this code when the voltage falls outside the expected range or is inconsistent with other load signals.
You can usually drive the vehicle with P1791, but expect reduced performance and possible limp mode; avoid aggressive acceleration and have the fault diagnosed promptly to prevent stalling or further damage.
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 Mazda vehicles. Exact tests and values vary by model, so confirm the fault before replacing parts.
Get the app
Quick access from your home screen.