Closed Throttle Position Switch
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.
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
Appears alongside · share of P0510 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.
Need a scanner that reads ABS, airbag and more? GaragePro OBD scan tools ship worldwide. Claim deal →
Common symptoms
What you'll notice
- Check-engine light on
- Engine stalls or nearly stalls when coming to a stop
- Rough or erratic idle
- Idle does not settle correctly after start-up
Common causes
Most likely first
- Faulty closed throttle position switchLikely
- Open or shorted wiring in the switch circuitCommon
- Corroded or loose electrical connectorCommon
- Misadjusted throttle stop or switch (where adjustable)Less often
- Failed ECM (rare)Less often
Repair
Likely repair
- Parts often involved: throttle position sensor, wiring or connector, engine control unit (ECU)
- Labor: 0.5–1.5 h
- Difficulty: Medium
- DIY: Possible
How to diagnose & fix
Work through it in order
- Read freeze-frame data and inspect the switch connector for corrosion or looseness.
- Check the switch's wiring for opens and shorts and confirm it changes state as the throttle closes.
- Verify the switch is correctly adjusted at the closed-throttle stop, if adjustable.
- 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?+
Can I just clear P0510?+
Related codes
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 →