Download the app
OBD-II fault code

P0510: Closed Throttle Position Switch

Code P0510 means “Closed Throttle Position Switch.” It’s listed under vehicle speed, idle control, and auxiliary inputs. Here’s whether you can keep driving, what usually causes it, and what to check before replacing parts.

Can I keep driving?Usually yes, with care, but get it checked soon: a small fault can get worse, and with the check engine light on, the car wouldn’t pass inspection.

Common causes of P0510

  • Dirty throttle body
  • Throttle or accelerator pedal position sensor
  • Connector or wiring

What to check, from cheapest to most expensive

  1. Clean the throttle body and run the relearn procedure
  2. Watch both position signals in live data

A code tells you what the ECU detected, not which part is bad. Confirm it with live data before replacing anything.

Related codes