P0220

Comprehensive diagnostic guide for OBD-II code P0220

PowertrainFuel and Air MeteringModerate

Quick Answer

What P0220 Means

Comprehensive for OBD-II code P0220. This affects your vehicle's fuel and air metering system.

Most Likely Cause

Multiple possible causes - see diagnostic details below

Moderate DIY

Many causes can be addressed by experienced DIYers.

Address Soon

Generally safe to drive short-term. Have it diagnosed soon.

Safe to Drive (Short-Term)

Generally safe to drive short-term. Have it diagnosed soon.

Need Personalized Help?

Our AI can help diagnose your specific situation and answer follow-up questions.

Ask MechanicGPT

Detailed Diagnostic Information

Code snapshot

  • DTC: P0220
  • Description (source definitions): Throttle/Pedal Position Sensor/Switch "B" Circuit Malfunction (also described as Accelerator Pedal Position Sensor - Switch B - Malfunction) [Open Source code definition: Sensor de pos. do pedal do acelerador - Interruptor B - Mau funcionamento].
    • Context: P0220 is categorized as a powertrain/OBD-II code related to the accelerator pedal position (APP) sensor circuitry, specifically Switch B. This aligns with OBD-II conventions that monitor throttle/pedal position sensors and switches as part of powertrain diagnostics. DTCs are part of the OBD-II diagnostic framework and that powertrain codes cover these sensor-related faults.

Key background (why this code matters)

  • P0220 indicates a malfunction in the Switch B circuit of the accelerator pedal position sensor. This can affect how the engine controller interprets pedal position, potentially causing improper throttle response, MIL illumination, and abnormal driveability.
    • Supporting context: OBD-II diagnostic trouble codes are monitored by the vehicle's powertrain control system, and sensor/switch circuits (like the TPS APP sensors) are common sources of P-numbers in the P0xxx range.

Symptom guide (what the driver may notice)

  • Malfunction indicator lamp (MIL) or check engine light may illuminate.
  • Erratic or delayed throttle response, hesitation, or acceleration glitches when pressing the pedal.
  • Potential limp mode or reduced engine power in some vehicles, depending on the ECU's interpretation of the B-switch signal.
  • Inconsistent or no change in engine speed corresponding to pedal movement when the B-switch is faulty.
    Note: Symptom specifics vary by vehicle make/model and by how the ECU uses the Switch B signal. These are typical expectations for a TPS Switch B circuit issue, consistent with how throttle/pedal position sensors are monitored in OBD-II systems.

Most likely causes (with approximate probability ranges)

  • Faulty Accelerator Pedal Position Sensor Switch B (sensor or internal contact fault): 40-60%
    • Why: The B-switch can fail open/short, drift, or lose contact, leading to an out-of-range or erratic B signal to the ECU.
  • Wiring/Connector faults to the Switch B circuit (damaged insulation, loose/corroded connector pins, shorts to ground or 5V): 25-40%
    • Why: Harsh environments, flexing near the pedal, and poor harness routing often produce intermittent or persistent electrical faults.
  • ECU/PCM input, calibration, or software interpretation issue related to the B signal (less common, but possible): 5-15%
    • Why: Some vehicles require ECU calibration or software control logic to properly interpret the Switch B signal; a fault here can mimic a sensor fault.
  • Mechanical issues in the accelerator pedal or throttle body assembly affecting the Switch B signal (binding, wear, or misalignment): 5-15%
    • Why: Mechanical wear can affect switch operation or pedal travel that the B circuit relies on, altering the signal seen by the ECU.
  • Other related sensor interactions (e.g., anomalies in other TPS/A switch signals causing ECU to misinterpret the B input): 0-10%
    • Why: The ECU sometimes cross-checks multiple signals; faults in related networks can contribute to a P0220 interpretation.

Diagnostic Approach

1) Confirm and document

  • Use an OBD-II scanner to confirm P0220 is active and note any freeze-frame data, current PID values for pedal position, and any related codes (e.g., P0221, P0120/P0121). This helps establish whether the fault is isolated to Switch B or part of a broader pedal position issue.
  • Note vehicle make/model/year and any recent repairs or wiring work around the pedal assembly.

2) Visual inspection and basic checks

  • Inspect the accelerator pedal assembly area and wiring harness for obvious damage, wear, or pin/locker looseness near the pedal where the Switch B circuit runs.
  • Check the sensor connector(s) for corrosion, bent/pin damage, or moisture. Reseat connectors firmly.

3) Electrical / circuit checks (with key on and engine off, then with engine running as needed)

  • Power and ground verification:
    • Verify 5V reference to the Switch B circuit (as applicable to the vehicle) and confirm a solid ground at the sensor connector.
    • Check for open circuits, shorts to 5V, or shorts to ground on the B signal path.
  • Live data checks (with ignition on; and pedal movement):
    • Use a scan tool with live data to observe the Switch B signal or pedal position signal as you move the pedal.
    • Check for erratic, out-of-range, or non-responsive readings, and verify that signal changes correlate with pedal movement.
  • Electrical signal path checks:
    • Measure resistance and continuity along the B circuit wiring from the pedal connector to the ECU harness to identify damaged wires or intermittent connectors.
  • Compare with similar channels (if available):
    • If the vehicle provides both Switch A and Switch B data, compare their signals to see if Switch B behaves abnormally relative to Switch A.

4) Functional and sensor-specific testing

  • If the vehicle supports it, test the Switch B circuit function via a diagnostic tool or oscilloscope to observe the B-switch switching behavior during pedal travel.
  • Validate that the B signal switches appropriately with pedal position and does not remain out of range or stuck high/low.

5) Interpret test results and decide on repair path

  • If Switch B signal is consistently abnormal or wiring/connector faults are found:
    • Repair or replace the affected wiring/connector, or replace the accelerator pedal position sensor (Switch B) as a unit.
  • If wiring checks pass and the Switch B signal is clean but DTC persists:
    • Consider ECU/PCM checks, or perform necessary re-learn/calibration if the vehicle requires pedal position calibration after sensor replacement.
  • If the problem is intermittent:
    • Recheck wiring for flex points and vibration areas and consider replacing the connector or sensor if intermittent faults are observed.

6) Repair actions

  • Replace Switch B sensor or entire accelerator pedal assembly if the Switch B circuit is found faulty or if the pedal mechanism shows wear or binding.
  • Repair or replace damaged wiring harness or connectors to Switch B as needed.
  • After repair, clear the DTC and perform a controlled drive cycle to verify that the fault is resolved and that the pedal position data is read correctly by the ECU.
  • If required by the vehicle, perform pedal-position sensor learn/calibration procedure with a compatible scan tool to re-establish proper ECU interpretation of the Switch B signal.

7) Verification and documentation

  • Conduct a road test under varying throttle conditions to ensure consistent throttle response and absence of recalculated faults.
  • Confirm no new codes appear during the test drive.
  • Record all readings, wiring tests, sensor status, and calibration activity for warranty/repair documentation.

Safety Considerations

  • Always follow vehicle-specific service information and safety precautions when working around the throttle body and pedal assemblies.
  • Disconnect the battery only when required for electrical work and reconnect with proper voltage and safety steps in place.
  • Ensure the vehicle is securely supported if work requires the pedal area to be accessed or the throttle body to be exposed.
  • Be mindful of sticky or binding throttle components that could cause unintended throttle movement during diagnostics.

Additional Notes

  • Diagnostic Trouble Codes and OBD-II framework: modern vehicles use electronic controls that monitor parameters and generate trouble codes for issues detected in powertrain-related systems, including throttle/pedal sensors (Powertrain Codes section). This provides the contextual basis for understanding P0220 as a sensor/switch circuit fault within the OBD-II framework.

  • Code definition reference: The Open Source code definition for this P0220 entry explicitly identifies it as (Accelerator pedal position sensor - Switch B - Malfunction). This confirms the target circuit (Switch B) and the nature of the fault.

  • Practical diagnostic framing: P0220 is a throttle pedal position sensor/switch fault related to the B circuit. The diagnostic approach typically follows standard electrical checks (power, ground, signal), visual inspection, connector integrity, and pedal/ECU relearn if applicable. This aligns with general guidance for powertrain sensor faults and DTC handling described in the OBD-II discussions.

  • Open Source code definition: Sensor de pos. do pedal do acelerador - Interruptor B - Mau funcionamento (Throttle pedal position sensor - Switch B - Malfunction) - for the explicit mapping of P0220 to Switch B in the accelerator pedal assembly.

This diagnostic guide was generated using verified reference data:

  • Wikipedia Technical Articles: OBD-II
  • Open-Source OBD2 Data: N/A (MIT)

Content synthesized from these sources to provide accurate, real-world diagnostic guidance.


Consider professional help if:

  • You are not comfortable performing the diagnosis yourself
  • The issue requires specialized tools or equipment
  • Initial repairs did not resolve the code
  • Multiple codes are present simultaneously
  • The vehicle is still under warranty

Frequently Asked Questions

What does code P0220 mean?

P0220 indicates Comprehensive diagnostic guide for OBD-II code P0220. This is a powertrain code related to the fuel and air metering system. When your vehicle's computer detects this condition, it stores this code and may illuminate the check engine light.

Can I drive with code P0220?

You may be able to drive short distances with P0220, but it should be addressed soon. Extended driving could lead to additional problems or increased repair costs.

How much does it cost to fix P0220?

Repair costs for P0220 typically range from $100-$800, depending on the root cause and your vehicle. Diagnostic fees are usually $50-$150, and actual repairs vary based on whether parts need replacement. Get multiple quotes for the best price.

What causes code P0220?

Common causes of P0220 include sensor malfunctions, wiring issues, mechanical failures in the fuel and air metering system, or related component wear. The specific cause requires proper diagnosis with a scan tool and visual inspection.

Will P0220 clear itself?

P0220 may temporarily clear if the underlying condition improves, but the root cause should still be diagnosed. If the problem persists, the code will return.

Important Disclaimer

This information is for educational purposes only. We are not licensed mechanics. Always consult a certified mechanic for diagnosis and repair. Improper repairs can be dangerous.

Last updated: 2025-11-26

P0220 diagnostic guide by MechanicGPT