DOBD DashX ☰ Browse all codes Blog For business
P0510

Closed Throttle Position Switch

Idle / throttle control Generic OBD-II High

What it means

P0510 means the ECM has detected a fault with the closed throttle position switch — the switch that tells it when the throttle is fully closed, such as at idle. When this signal is wrong or missing, the ECM cannot manage idle correctly, so the engine may idle roughly or stall when you come to a stop. The cause is usually the switch itself, its adjustment, or the wiring.

High

Can I keep driving? Drivable but the engine may idle poorly or stall when coming to a stop, so have it repaired soon.

What this part does

The closed throttle position switch is a switch that tells the engine computer when the throttle is fully closed, meaning your foot is off the accelerator. The computer uses this to control idle speed and fuel cut-off while slowing down. On modern cars this function may be built into other sensors. A fault can cause an unsteady idle.

Real-world scan data

Seen in
166
scans in the past year
Found in
<0.1%
of scans

Appears alongside · share of P0510 scans

P2119in 39.2% of scans
P0122in 38.5% of scans
P0404in 33.1% of scans

Codes often seen with P0510. Of the 166 scans on our apps that reported P0510 in the past year, 39.2% also showed P2119 (Throttle Actuator A Control Throttle Body Range/Performance), 38.5% showed P0122 (Throttle/Pedal Position Sensor/Switch A Circuit Low) and 33.1% showed P0404 (EGR A Control Circuit Range/Performance). If your scan shows any of these too, read their pages as well, because one fault can trigger another.

Read & clear P0510 yourself

Scan your car, confirm the code, and clear it once it's fixed — with OBD DashX on your phone.

▶ Get it on Google Play
Point your phone camera here

Need a scanner that reads ABS, airbag and more? GaragePro OBD scan tools ship worldwide. Claim deal →

Common symptoms

What you'll notice

Common causes

Most likely first

  1. Faulty closed throttle position switch
  2. Open or shorted wiring in the switch circuit
  3. Corroded or loose electrical connector
  4. Misadjusted throttle stop or switch (where adjustable)
  5. Failed ECM (rare)

Repair

Likely repair

How to diagnose & fix

Work through it in order

  1. Read freeze-frame data and inspect the switch connector for corrosion or looseness.
  2. Check the switch's wiring for opens and shorts and confirm it changes state as the throttle closes.
  3. Verify the switch is correctly adjusted at the closed-throttle stop, if adjustable.
  4. Replace the closed throttle position switch if it does not signal correctly, then clear and re-test.

FAQ

Quick answers

Is it safe to drive with P0510?+
It is drivable, but the engine may stall when you slow to a stop, which can be unsafe. Have it repaired soon.
Can I just clear P0510?+
You can, but it returns until the switch, its adjustment, or the wiring is corrected.

Related codes

✓ Verified name — SAE J2012 / ISO 15031-6Guidance reviewed by OBD DashX

About this page

Scan figures come only from diagnostic scans recorded through our own apps and tools. Cars are usually scanned because a symptom or warning light prompted it, so these figures describe our scan records, not how often a fault occurs in any make or model.

Notes about specific manufacturers summarise public records (NHTSA owner complaints, recalls and manufacturer service bulletins), cited under each note. They report what those records say, not our measurements, and they do not suggest that any manufacturer or vehicle is better or worse than another.

Repair time and cost estimates come from a public repair dataset and are typical ranges, not quotes.

OBD DashX is not affiliated with, sponsored by or endorsed by any vehicle manufacturer. Manufacturer and model names and trademarks belong to their owners and are used only to identify vehicles.

This page is general information, not professional advice. Have safety-critical faults (brakes, steering, airbags, high-voltage systems) checked by a qualified technician. To the extent the law allows, we accept no liability for repairs or decisions made from this page.

Businesses: this content is available through our API. For business →