P0223 Mazda: Diagnose Throttle Sensor Voltage Problems
18 min read · by Nicole Bennett · Last updated: November 25, 2026
The P0223 Mazda trouble code indicates a high voltage signal from the Throttle/Pedal Position Sensor/Switch B circuit, which can interfere with accurate throttle control. On many Mazda gasoline engines, the manufacturer identifies this fault as a problem with throttle position sensor No.2 (TP2). Depending on the engine and model, the PCM may detect a voltage above approximately 4.8 to 4.9 volts. The fault can involve the sensor, throttle body connector, wiring, ground circuit, or powertrain control module (PCM).
Common warning signs include an illuminated check engine light, reduced engine power, poor acceleration, inconsistent throttle response, and an engine that enters a protective operating mode. Some Mazda vehicles may limit maximum engine speed to prevent unpredictable throttle operation. The exact behavior depends on the vehicle’s electronic throttle system and calibration.
Do not assume the throttle body needs replacement simply because P0223 appears on your scanner. Mazda service procedures identify electrical faults, damaged connectors, shorted signal wires, and open ground circuits as possible causes. This guide explains how to interpret the code, inspect the relevant circuits, use live scanner data, and decide which repairs are justified.
What P0223 Means on a Mazda
P0223 is the generic SAE definition for Throttle/Pedal Position Sensor/Switch B Circuit High. On several Mazda gasoline applications, the corresponding manufacturer description is TP sensor No.2 circuit high input. The PCM detects a signal voltage that is higher than the permitted range and records a diagnostic trouble code.
The distinction between the generic description and Mazda’s terminology matters. A scanner may display the standardized phrase about Sensor/Switch B, while Mazda’s factory diagnostic information refers to TP sensor No.2. These descriptions point toward the same general electronic throttle monitoring problem, but the actual sensor arrangement and diagnostic specifications depend on the engine.
Understanding Mazda’s TP2 signal
Electronic throttle systems use position sensors to tell the PCM how far the throttle plate has moved. Many designs use multiple position signals so the computer can compare their readings and identify an implausible or unsafe input. TP sensor No.2 is one of the signals monitored by the PCM on the Mazda applications covered by the relevant service procedures.
The PCM supplies a reference voltage and monitors the corresponding sensor circuit. A high-input code means the monitored signal has exceeded the manufacturer’s diagnostic threshold. It does not automatically mean the throttle plate is physically stuck open. An electrical problem can produce the same result even when the throttle mechanism moves normally.
The voltage threshold is not identical across every Mazda. For example, Mazda6 service information covering L8, LF, and L3 gasoline engines specifies a TP2 threshold above 4.85 volts. The covered CX-30 SKYACTIV-G procedure uses a threshold above 4.9 volts at a specified PCM terminal. The RX-8 diagnostic documentation uses a threshold above 4.8 volts while the engine is running.
| Mazda application | Monitored signal | P0223 threshold |
|---|---|---|
| Mazda6 L8, LF, L3 gasoline | TP sensor No.2 | Above 4.85 V |
| CX-30 SKYACTIV-G | TP sensor No.2 at PCM terminal 1V | Above 4.9 V |
| RX-8 application covered by its diagnostic manual | TP sensor No.2 while engine is running | Above 4.8 V |
These are manufacturer detection thresholds, not universal target readings for every operating condition. A technician should use the correct wiring diagram and diagnostic specifications for the vehicle’s model year, engine, and market.
There is another important variation. Some Mazda diesel applications identify P0223 with accelerator pedal position sensor No.2 rather than the throttle position sensor. For example, Mazda’s MZR-CD RF Turbo diagnostic information identifies the code as an accelerator pedal position sensor No.2 circuit high input, with a threshold above 4.48 volts. Verify the engine-specific description before ordering parts or disconnecting components. The fault logic is shared, but the test points change, so check P0223 Honda too.
Common Symptoms and Driving Problems
A high throttle position signal can affect how the PCM calculates throttle opening and responds to accelerator requests. The symptoms range from a warning light with little noticeable change to serious acceleration problems and reduced engine power.

1. Check engine light
The check engine light is a common first indication. Mazda service information for several applications confirms that the malfunction can illuminate the malfunction indicator lamp during the first drive cycle in which the detection condition occurs.
A scanner may show P0223 as pending or stored. A pending code means the PCM has detected the problem but has not yet completed the confirmation requirements. A stored or confirmed code indicates that the fault has met the applicable criteria. Record both statuses before clearing anything.
2. Reduced engine power
The PCM may restrict throttle operation or engine speed when it cannot trust the position sensor signals. This protective response is particularly important on electronically controlled throttle systems because the computer must know the throttle position before allowing normal engine output.
Mazda’s CX-30 SKYACTIV-G service information specifically identifies restriction of the upper engine-speed limit as a fail-safe response to P0223. A driver may notice that the engine will not accelerate normally even when the accelerator pedal is pressed farther.
3. Poor or inconsistent acceleration
A faulty throttle position signal can prevent the PCM from accurately interpreting throttle movement. Possible symptoms include hesitation, delayed response, limited acceleration, or inconsistent engine output.
The symptoms may become more noticeable during acceleration from a stop, merging into traffic, or climbing a hill. However, these conditions are not proof that the sensor itself has failed. An intermittent connector or damaged wire can produce similar behavior.
4. Unusual idle behavior
Some vehicles may develop an unstable idle or unusual engine response when the PCM receives unreliable throttle information. The computer may adjust its control strategy to compensate for the detected electrical fault.
Not every Mazda with P0223 will idle poorly. Some vehicles may maintain a relatively normal idle while restricting acceleration. The presence or absence of idle symptoms should be considered alongside scanner data and other trouble codes.
5. Intermittent warning lights
A loose terminal, damaged wire, or internal sensor fault may cause the signal to become abnormal only under certain conditions. The warning light may appear and disappear as the electrical connection changes.
Intermittent faults are especially difficult to diagnose if the vehicle is tested only when the engine is running normally. Freeze-frame information and recorded live data can help establish when the signal first became abnormal. The same code can behave differently on other vehicles, so it helps to compare it with P0223 VW.
Common Causes of P0223 on Mazda Vehicles
P0223 generally indicates an electrical signal problem rather than a confirmed mechanical throttle failure. Mazda diagnostic procedures identify several possible causes, and testing should establish which component or circuit is responsible before replacement.
Faulty throttle position sensor No.2
The TP2 sensor can develop an internal electrical fault that causes its output voltage to remain too high or become inconsistent. Internal wear, electronic component failure, or an intermittent connection inside the assembly can prevent the PCM from receiving a valid position signal.
On some Mazda applications, the position sensors are integrated into the electronic throttle body. The factory diagnostic procedure may therefore direct the technician to replace the throttle body assembly if the sensor is confirmed defective and cannot be serviced separately.
Short to power in the signal wiring
A signal wire that contacts a power supply can send excessive voltage to the PCM. This is one of the causes specifically identified in Mazda’s P0223 diagnostic information.
Possible sources include damaged insulation, wiring that has rubbed against a bracket, incorrectly repaired wiring, or contact between adjacent circuits. A signal circuit reading close to battery voltage or another supply voltage when it should not be present requires further electrical investigation.
Open ground circuit
A damaged ground wire or poor terminal connection can interfere with the sensor’s electrical reference. Depending on the circuit design, the resulting signal may appear abnormally high to the PCM.
Mazda’s CX-30 SKYACTIV-G procedure specifically includes an inspection of the TP2 ground circuit for an open circuit. A sensor should not be condemned until the ground path has been checked against the correct factory wiring information.
Damaged throttle body or PCM connectors
Connector problems are another documented cause. Corrosion, moisture, damaged locking tabs, bent pins, loose terminals, and terminals pushed backward inside a connector can interrupt the intended electrical connection.
The throttle body connector deserves particular attention because it carries the sensor’s electrical connections. The PCM connector should also be inspected when the wiring and sensor checks do not identify the problem.
PCM malfunction
An internal PCM fault is possible, but it should be considered only after the sensor, connectors, wiring, power supply, and ground circuits have been tested. Replacing the computer based on the trouble code alone is not a reliable diagnostic approach.
Mazda’s service procedures place connector and circuit inspections before PCM replacement. This sequence helps avoid an expensive repair that does not correct the original electrical problem.
How to Diagnose P0223 With an OBD2 Scanner
A suitable OBD2 scanner can identify the affected circuit, preserve the conditions under which the fault occurred, and display available throttle position data. A basic code reader may identify P0223, but a scanner with manufacturer-specific Mazda data provides a more useful starting point.

Step 1: Retrieve all diagnostic trouble codes
Connect the scanner to the 16-pin diagnostic connector, usually located beneath the driver’s dashboard. Turn the ignition on and perform a complete vehicle scan if the tool supports Mazda-specific modules.
Record P0223 and any related codes before clearing the PCM memory. Pay attention to other throttle position, accelerator pedal position, reference voltage, and communication faults. Multiple related codes may indicate a shared electrical problem rather than several failed components.
Record whether P0223 is pending, stored, or permanent. These statuses provide useful information about how the PCM has recognized the fault and whether the repair monitor has completed its confirmation process.
Step 2: Save freeze-frame information
Freeze-frame data records selected operating conditions associated with the detected fault. Depending on the scanner and vehicle, available information may include engine speed, coolant temperature, vehicle speed, calculated load, throttle position, and battery voltage.
Check whether the fault occurred with the engine running, during acceleration, or while the vehicle was stationary. This information can help determine whether the problem is continuous or related to a particular operating condition.
Do not clear the codes before saving this information. Erasing diagnostic memory can remove useful evidence and make an intermittent electrical problem harder to reproduce.
Step 3: Monitor throttle position live data
Open the live-data section and look for TP sensor No.1, TP sensor No.2, throttle position, and accelerator pedal position parameters. Mazda-enhanced diagnostic tools may display a specific TP2 parameter identification value, which is useful for following the manufacturer’s diagnostic procedure.
Observe the readings with the ignition on and engine off when the applicable service procedure permits this test. Compare the values against the specifications for the exact engine. Do not assume that every Mazda uses the same signal range or sensor scaling.
If the TP2 signal remains near 5 volts when the manufacturer’s procedure identifies an abnormal high signal, further circuit testing is required. A constant high reading can indicate a short to power, an open ground, a defective sensor, or a connector problem.
Step 4: Check the electrical connections
Inspect the throttle body connector and accessible wiring for visible damage. Look for corrosion, moisture, damaged insulation, loose locking mechanisms, bent pins, and terminals that appear to have moved out of position.
Switch the ignition off before disconnecting electrical connectors. Follow the manufacturer’s precautions for electronic throttle systems, and never probe connector terminals with an unsuitable tool that could spread or damage them.
If the throttle body connector looks normal, the PCM connector and relevant harness sections may require inspection. An apparently clean connector does not prove that the terminals maintain proper electrical contact.
Step 5: Test the signal and ground circuits
A technician should use the correct Mazda wiring diagram to identify the TP2 signal, reference voltage, and ground terminals. Circuit testing can determine whether the signal is being pulled toward a power supply or whether the sensor ground is interrupted.
The Mazda6 service procedure, for example, checks the TP2 signal circuit for a short to power and then evaluates the sensor and ground wiring. The CX-30 procedure uses TP2 live data and additional circuit checks to distinguish a sensor fault from a harness problem. The detailed Mazda6 P0223 factory diagnostic procedure documents these inspection steps.
Use a suitable digital multimeter and the manufacturer’s specified testing method. Never apply battery voltage directly to a sensor terminal or randomly bridge PCM connections. Incorrect testing can damage sensitive electronic components.
Step 6: Check other available diagnostic information
Some enhanced scanners provide Mode $06 monitoring results, which can show supported onboard diagnostic test results and their limits. Availability and usefulness depend on the vehicle’s implementation and the scan tool’s ability to interpret manufacturer-specific information.
Mode $06 is not a substitute for direct TP2 signal testing. If the scanner does not display a relevant test, do not assume that the sensor has passed. Prioritize the manufacturer’s diagnostic procedure and compare the actual sensor data with its specified operating range.
Fuel trims can also provide context if the vehicle has additional mixture-related codes. Short-term and long-term fuel trims that exceed roughly plus or minus 10 percent combined can indicate a mixture problem, but fuel trims alone cannot confirm a P0223 sensor failure.
Step 7: Confirm the repair
After the identified fault has been repaired, reconnect all inspected components and clear the stored diagnostic information using an appropriate scanner. Follow the Mazda repair completion procedure and reproduce the operating conditions associated with the original fault when safe.
Scan the PCM again and check whether P0223 returns as pending or confirmed. Verify that the TP2 signal behaves normally and that the engine responds appropriately. A repair is not confirmed simply because the warning light goes out immediately after clearing the code.
Tip: Save the original freeze-frame data, pending codes, and TP2 live readings before replacing anything. Mazda’s diagnostic procedures use these records to help reproduce the fault and distinguish an abnormal sensor signal from a wiring problem. If the engine enters reduced-power mode or responds unpredictably, avoid road testing until the throttle control fault has been assessed. If a second code shows up during the scan, P0202 Mazda could be the next stop.
How to Fix P0223 on a Mazda
The correct repair depends on which part of the TP2 electrical circuit has failed. Replacing a sensor without checking its wiring can leave the original fault unresolved. Use the diagnostic results to select the repair rather than replacing components based on the code description alone.
Repair damaged wiring
If testing confirms a short to power, the affected wiring section must be repaired or replaced according to the manufacturer’s electrical repair standards. The repair should restore the original insulation, conductor continuity, and protection against vibration and moisture.
If an open ground is identified, the technician should locate the interruption and restore the specified electrical connection. Replacing the throttle body will not correct an open ground elsewhere in the harness.
Repair or replace damaged connectors
Corroded, loose, bent, or damaged terminals may require terminal replacement or connector repair. The correct repair depends on whether the connector housing, terminal retention, or wiring itself has been damaged.
A connector should not be considered repaired merely because it has been unplugged and reconnected. The terminal must maintain the correct electrical contact and mechanical retention. Moisture entry should also be addressed where relevant.
Replace the defective throttle body or sensor assembly
If the TP2 sensor has an internal failure and the vehicle uses an integrated throttle body assembly, replacement of the complete assembly may be necessary. Confirm this using the correct parts and repair information for the specific Mazda engine.
Some applications have different sensor arrangements and service procedures. A technician should not assume that a separately replaceable throttle position sensor is available on every Mazda.
After installation, follow the applicable initialization, throttle learning, or repair completion procedure if required by the vehicle. The exact requirements vary by model and engine.
Consider PCM replacement only after testing
PCM replacement should be a last diagnostic step. The sensor, wiring, connectors, power supplies, and ground circuits must be verified first. A replacement control module may also require programming or configuration for the vehicle.
If the same P0223 fault returns after all external circuits have been confirmed correct, a qualified technician can follow the factory procedure for evaluating the PCM. This avoids unnecessary computer replacement and the additional programming work that may follow.
Understanding repair costs
There is no single repair cost for P0223 because the code can result from several different failures. A loose connector may require relatively little labor, while an inaccessible wiring fault or defective throttle body assembly can involve considerably more work.
The main cost factors include:
- Diagnostic labor: Time needed to retrieve codes, inspect freeze-frame data, monitor TP2 readings, and perform electrical tests.
- Wiring repairs: The location and extent of damaged wiring, terminal replacement, and harness accessibility.
- Connector repairs: Whether the technician can replace an individual terminal or needs to repair a larger connector section.
- Throttle body replacement: Whether the sensor is integrated into the assembly and whether additional installation procedures are required.
- PCM replacement: Component expense, programming, configuration, and additional verification work.
- Shop versus DIY: A qualified repair shop charges for diagnostic equipment and labor, while DIY work may reduce labor expenses but requires suitable tools and technical knowledge.
Ask the repair facility to identify the failed circuit or component before approving a replacement. A useful estimate should distinguish diagnostic labor from parts and installation work. It should also explain whether the proposed repair includes the required post-repair verification. Owners of this model also ask about P0222 Mazda.
Is It Safe to Drive With P0223?
Driving with P0223 is not recommended if the Mazda has reduced power, unpredictable throttle response, stalling, or difficulty accelerating. The fault affects an important electronic engine-control input, and the vehicle may not respond normally when the driver requests acceleration.
The severity depends on the symptoms and the vehicle’s fail-safe strategy. A Mazda that limits engine speed may still run, but that does not mean it is suitable for normal traffic conditions. A sudden loss of acceleration can become dangerous when merging, crossing intersections, or climbing steep roads.
When to stop driving
- The engine does not respond predictably to accelerator input.
- The vehicle suddenly enters reduced-power mode.
- The engine stalls or cannot maintain a safe operating speed.
- Acceleration becomes too weak for safe traffic conditions.
- The throttle response changes suddenly while driving.
If any of these symptoms occur, move to a safe location when possible and arrange professional assistance or towing. Do not attempt to overcome reduced-power operation by repeatedly pressing the accelerator.
When a short trip may be possible
If the vehicle has only an illuminated check engine light and no noticeable change in throttle response, a technician may determine that a short, cautious trip to a nearby repair facility is reasonable. This decision depends on the specific vehicle and symptoms.
Avoid highways, heavy traffic, steep hills, and situations requiring rapid acceleration. If the vehicle begins behaving unpredictably, stop driving as soon as it is safe to do so.
Tip: Electronic throttle faults can affect acceleration even when the engine continues running. Do not treat a normal idle as proof that the vehicle is safe. Never bypass a throttle position sensor, force the throttle plate open, or bridge electrical terminals to restore engine power. Have the circuit diagnosed using the correct Mazda service information. Doing this job more than once? Best Bidirectional Scan Tool for Electric Vehicles covers tools that pay for themselves.
Frequently Asked Questions
Can P0223 appear without a noticeable driving problem?
Yes. A PCM can detect an abnormal sensor signal before the driver notices a major change in engine behavior. Some faults remain intermittent or trigger a warning light while the vehicle continues to idle normally.
Can disconnecting the battery permanently fix P0223?
No. Disconnecting the battery cannot repair a shorted signal wire, defective sensor, or damaged connector. It may erase stored diagnostic information and reset readiness monitors, but the PCM can detect the original fault again when its monitoring conditions are met.
Can P0223 and P0123 occur together?
Yes. P0123 is the generic code for Throttle/Pedal Position Sensor/Switch A Circuit High Input. Both codes together can suggest a shared electrical problem or multiple abnormal position signals. Their presence does not automatically prove that both sensors have failed.
Will a permanent P0223 code disappear after the repair?
A permanent diagnostic trouble code cannot normally be erased using a scanner’s clear-code command. The underlying fault must be corrected, and the vehicle’s onboard monitor must run and pass its required test before the permanent code is removed.
Does P0223 always refer to the throttle body on a Mazda?
No. Although several Mazda gasoline applications identify the fault with throttle position sensor No.2, some Mazda diesel diagnostic information identifies P0223 with accelerator pedal position sensor No.2. Always verify the engine-specific code description before choosing a repair.
P0223 on a Mazda indicates an abnormally high throttle or pedal position sensor signal, but it does not automatically mean the sensor or throttle body needs replacement. Save the freeze-frame data, inspect the connectors, and test the TP2 signal and ground circuits before replacing components. Correct diagnosis is the best way to restore reliable throttle operation and avoid unnecessary repairs.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0223 Code: Meaning, Causes and How to Check the Sensor
LearnP0299 Mazda CX 5: Find the Cause of Low Turbo Boost
LearnP0222 Mazda: Find the Cause of a Low Throttle Signal
LearnP0203 Mazda: Diagnose Cylinder 3 Injector Circuit Problems
LearnP0202 Mazda: Find the Cause of a Cylinder 2 Injector Circuit Fault
LearnClogged Diesel Particulate Filter DPF Symptoms: Signs and Checks