P0413 Code: Find the Open Secondary Air Valve Circuit and Fix It
19 min read · by Nicole Bennett · Last updated: November 26, 2026
The p0413 code means your vehicle’s powertrain control module (PCM) has detected an open electrical circuit in the secondary air injection system switching valve A. This emissions-related fault usually points to damaged wiring, a disconnected connector, a failed valve solenoid, or a problem with the circuit’s electrical supply. It does not automatically mean the secondary air injection pump needs replacement.
The secondary air injection system helps reduce exhaust emissions during engine warm-up. When its switching valve cannot operate because of an electrical interruption, the system may fail to deliver the required air. The check engine light can illuminate even when the engine runs normally.
Most vehicles with this fault remain reasonably drivable, but ignoring it can lead to emissions problems and an unsuccessful inspection. Understanding the difference between an electrical circuit fault and a mechanical air pump problem helps prevent unnecessary parts replacement.
What the P0413 Code Means
P0413 is a generic OBD-II powertrain trouble code. Its SAE definition is Secondary Air Injection System Switching Valve A Circuit Open. The PCM has identified an electrical condition indicating that the switching valve A circuit is interrupted or not operating as expected.
The secondary air injection (SAI) system introduces fresh air into the exhaust stream during certain operating conditions, particularly after a cold engine start. This additional oxygen helps oxidize unburned hydrocarbons and carbon monoxide. It also helps the catalytic converter reach its effective operating temperature sooner.
The system can include several components, depending on the vehicle:
- An electric or belt-driven secondary air injection pump that supplies additional air.
- An electrically controlled switching valve that regulates the air supply.
- A combination or check valve that prevents exhaust gases from traveling backward into the air system.
- Air hoses and pipes connecting the pump, valves, and exhaust passages.
- Electrical connectors, fuses, relays, wiring, and PCM control circuits.
- Pressure sensors and oxygen sensors that help monitor system operation.
The designation A identifies a particular switching valve or circuit. Some vehicles have only one switching valve, while others have multiple valves. Its location and electrical configuration depend on the manufacturer’s design.
Understanding the five characters
The P0413 code contains five characters. Each provides information about the type and category of the detected problem.
| Character | Meaning | Explanation |
|---|---|---|
| P | Powertrain | The fault belongs to the engine or transmission control category. |
| 0 | Generic SAE code | The code definition is standardized across manufacturers. |
| 4 | Auxiliary emission controls | Identifies the emissions-control code category. |
| 1 | Specific fault group | Identifies the applicable diagnostic fault within the category. |
| 3 | Specific fault identifier | Completes the standardized P0413 identification. |
An open circuit does not necessarily mean the valve is physically stuck open. It means the electrical circuit has an interruption or an abnormal electrical condition. A broken wire, poor terminal connection, or internally damaged solenoid can all produce this result.
P0413 should also be distinguished from P0414. P0413 identifies an open switching valve circuit, while P0414 identifies a shorted switching valve circuit. These faults require different electrical testing.
Common Symptoms of a P0413 Fault
The most common symptom is an illuminated check engine light without a noticeable change in normal driving performance. Because secondary air injection primarily supports emissions control during cold starts, the engine may continue running normally after reaching operating temperature.

The symptoms depend on whether the fault affects only the switching valve circuit or prevents other secondary air injection components from operating. A vehicle with a simple connector problem may behave differently from one with a failed pump or damaged air passages.
Check engine light
The malfunction indicator lamp (MIL) is usually the first indication. The PCM stores P0413 when its monitoring strategy detects an abnormal switching valve circuit condition.
A basic scanner may display the code as Secondary Air Injection System Switching Valve A Circuit Open. Some scanners provide a shorter description, so checking the complete diagnostic code is important.
The light may remain illuminated even after an intermittent electrical problem disappears. A stored or confirmed code does not necessarily mean the circuit is currently failing every time the engine runs.
Cold-start noises
Some drivers notice unusual sounds during the first moments after starting a cold engine. Depending on the system design and the components affected, these may include:
- A loud whining sound from the secondary air pump.
- A hissing sound from air hoses or exhaust connections.
- A chugging noise around the secondary air injection pipes.
- A pump that does not operate during the expected cold-start period.
These sounds are not exclusive to P0413. They can also indicate a separate pump, check valve, hose, or exhaust leak problem. Listen for changes, but do not identify a failed component from sound alone.
Emissions and engine behavior
A malfunctioning secondary air system can increase cold-start emissions because the exhaust does not receive the expected additional oxygen. The catalytic converter may also take longer to reach its effective operating temperature.
Some vehicles may exhibit a slightly rough idle or hesitation during warm-up, especially if other engine or emissions faults are present. However, significant power loss, repeated stalling, or severe misfires should prompt investigation beyond P0413 alone.
A vehicle may fail an emissions inspection if the check engine light is illuminated or the required emissions monitors are incomplete. The exact inspection requirements depend on the state and testing program. When P0412 Code appears in the same scan, check that guide before replacing parts.
What Causes the P0413 Code?
The most likely causes involve an interruption in the electrical path between the PCM and switching valve A. However, the pump, relay, fuse, pressure-related components, and mechanical condition of the air system should also be considered during a complete diagnosis.
The following problems deserve attention before replacing expensive emissions components.
1. Damaged or disconnected wiring
Broken conductors are a common reason for an open-circuit fault. Wiring can become brittle, rub against nearby components, or suffer damage from heat around the exhaust system.
Look for cracked insulation, exposed copper, damaged protective coverings, previous repairs, and wiring that has pulled away from its connector. A wire may also break internally while its outer insulation appears intact.
2. Corroded or loose connectors
Electrical connectors can develop corrosion, loose terminals, damaged locking tabs, or poor terminal tension. Moisture and road contamination can make these problems worse.
A connector that looks properly attached may still have a weak electrical connection. Intermittent contact can cause the PCM to detect an open circuit under particular temperature or vibration conditions.
3. Failed switching valve solenoid
The switching valve may contain an electromagnetic solenoid. Its internal winding can fail, creating an open electrical path. In that situation, the valve may not respond when the PCM requests operation.
An open solenoid winding may produce an infinite resistance reading on a multimeter. However, resistance specifications vary, so compare measurements with the correct manufacturer service information before condemning the component.
4. Blown fuse or defective relay
The secondary air injection system may use one or more fuses and relays to supply electrical power. A blown fuse or failed relay can interrupt the circuit and prevent the pump or switching valve from operating.
A fuse should never be treated as the automatic root cause. Excessive current, damaged wiring, a seized pump, or a shorted component may have caused it to fail. Repeatedly installing replacement fuses without investigating the underlying problem can create additional damage.
5. Secondary air pump problems
A failed pump is not the same as an open switching valve circuit, but the pump should still be checked when related symptoms or codes are present.
Water and condensation can damage internal pump components. In extremely cold climates, frozen condensation may cause a belt-driven pump to seize or an electric pump to bind and overload its electrical supply.
A damaged one-way check valve can allow exhaust condensation to travel backward into the air system. The pump, check valve, hoses, and switching valve should therefore be evaluated as related but separate components. Motorservice’s secondary air system diagnostic guide also recommends checking the electrical lines, connectors, and switchover valve for interruption faults.
6. PCM driver or control-circuit failure
The PCM controls the switching valve through an electrical circuit. A damaged control driver or an interruption near the control module can prevent the valve from receiving the required command.
This is less common than wiring, connector, fuse, relay, or solenoid problems. PCM replacement should only be considered after the external circuit, power supplies, grounds, connectors, and valve have been tested against the manufacturer’s specifications.
How to Diagnose P0413 With an OBD2 Scanner
A proper diagnosis starts with confirming the code and reviewing the operating conditions when it appeared. An OBD2 scanner helps identify related faults, while a digital multimeter and vehicle-specific wiring diagrams help locate an electrical interruption.
Do not replace the switching valve or pump simply because the scanner displays P0413. The following diagnostic sequence helps narrow the problem without relying on guesswork.

Step 1: Read all stored diagnostic codes
Connect an OBD2 scanner to the 16-pin diagnostic connector, usually located underneath the driver’s side dashboard. Turn the ignition on and retrieve stored, pending, and permanent diagnostic trouble codes.
Record all codes before clearing anything. Other secondary air injection codes can provide useful clues about whether the problem involves the pump, switching valve, system flow, or relay.
Pay particular attention to these related codes:
- P0410: Secondary Air Injection System Malfunction.
- P0411: Secondary Air Injection System Incorrect Flow Detected.
- P0412: Secondary Air Injection System Switching Valve A Circuit Malfunction.
- P0414: Secondary Air Injection System Switching Valve A Circuit Shorted.
- P0415: Secondary Air Injection System Switching Valve B Circuit Malfunction.
- P0418: Secondary Air Injection System Control Circuit Malfunction.
Related codes do not prove that several components have failed. They may be consequences of one electrical supply or wiring problem.
Step 2: Review freeze-frame data
Freeze-frame data records operating conditions when the PCM detected a fault. Depending on the vehicle and scanner, useful information can include engine speed, coolant temperature, intake air temperature, vehicle speed, engine load, and fuel trims.
For P0413, pay particular attention to coolant temperature and engine operating conditions. A fault that appears during a cold start may point toward a problem that occurs when the secondary air system is commanded to operate.
Save this information before clearing the codes. It can help a technician reproduce an intermittent failure and determine whether temperature or vibration affects the circuit.
Step 3: Inspect the electrical components
With the ignition switched off, inspect the switching valve connector and accessible wiring. Check the harness for damaged insulation, disconnected plugs, corrosion, loose terminals, and signs of contact with hot exhaust components.
Inspect the relevant fuses and relays using the vehicle’s fuse-box diagram. Do not assume that the fuse location or relay assignment is identical across different models.
If the connector appears damaged, determine whether the problem involves the terminal, wiring, or valve itself. Repairing a loose connector may solve the fault without replacing the entire assembly.
Step 4: Check switching valve resistance
A digital multimeter can help determine whether the solenoid winding is electrically open. The valve must be disconnected and tested according to the manufacturer’s electrical procedure.
An infinite resistance or OL reading across the specified solenoid terminals can indicate a broken internal winding. A measurable resistance does not automatically prove that the valve works correctly, so compare the reading with the specified range for the exact vehicle.
Do not apply battery voltage directly to an unidentified valve terminal. Some control circuits use electronic drivers that can be damaged by incorrect electrical testing.
Step 5: Test wiring continuity and grounds
If the switching valve passes its resistance test, check the relevant harness for continuity, unwanted resistance, and shorts to ground or power. Use the manufacturer’s wiring diagram to identify the correct terminals and test points.
Subaru service information for a specified WRX STI application provides a useful example of this process. Its diagnostic procedure checks the harness between the ECM and secondary air combination valve relay. It specifies less than 1 ohm for the identified continuity test and at least 1 megaohm between the specified circuit and chassis ground.
Those figures apply to that particular Subaru diagnostic procedure. They are not universal specifications for every P0413 vehicle. Always follow the correct wiring diagram and terminal identification. Subaru’s service information bulletin on secondary air injection diagnosis also explains why related valve codes and components on the opposite engine bank may need investigation on the specified STI applications.
Step 6: Check power supply and scan-tool activation
If the scanner supports bidirectional controls, use the manufacturer’s specified actuator test to command the secondary air system or switching valve. Observe the available command status and electrical readings.
Depending on the vehicle, a professional scan tool may display switching valve activation, secondary air pump status, pressure sensor readings, and related system information. Compare commanded operation with actual behavior.
Voltage readings must be interpreted using the correct service specifications. For example, Audi diagnostic information lists different P0413 signal-voltage thresholds across applications. One specified Q5 application lists 9.25 to 11.25 volts, while another lists 4.70 to 5.40 volts. Other applications may use different thresholds and monitoring strategies.
Step 7: Evaluate related live data
Live data helps establish whether the secondary air system is operating during the conditions required by the PCM. Depending on vehicle support, useful parameters include:
- Secondary air pump commanded status.
- Switching valve command status.
- Secondary air pressure sensor readings.
- Engine coolant temperature during cold starts.
- Upstream oxygen sensor activity during secondary air operation.
- Short-term and long-term fuel trim values.
Fuel trims are supporting information rather than a direct P0413 test. Combined short-term and long-term fuel trims beyond roughly plus or minus 10 percent can indicate a mixture problem. They should not be used alone to condemn the secondary air injection system.
Mode $06 can provide useful onboard monitor results when the vehicle exposes relevant secondary air or emissions test data. However, many vehicles do not provide a directly useful Mode $06 result for this particular electrical circuit fault. Do not interpret unrelated monitor values as proof of a failed valve. Seeing P0414 Code alongside this one? That guide explains what it means.
Tip: Record the complete code list, freeze-frame data, and relevant live readings before clearing anything. Disconnecting the battery or erasing codes too early can remove valuable diagnostic information and reset emissions readiness monitors. Use an appropriate wiring diagram before testing PCM circuits. Doing this job more than once? Best Scan Tool for German Cars covers tools that pay for themselves.
How to Fix the P0413 Code
The correct repair depends on which part of the switching valve circuit has failed. A damaged connector may require only an electrical repair, while a failed solenoid may require replacement of the switching valve assembly.
Complete the diagnosis before purchasing parts. The following repairs address the most common causes.
Repair damaged wiring and connectors
Repair or replace damaged wiring using the manufacturer’s approved repair method. Electrical connections must maintain proper continuity, insulation, and resistance to heat and moisture.
Corroded terminals may require connector or terminal replacement. Simply spraying cleaner into a severely damaged connector may not restore reliable electrical contact.
After repairing the harness, secure it away from exhaust heat, sharp edges, and moving components. Poor routing can cause the same fault to return.
Replace a defective switching valve
If the solenoid winding fails the manufacturer’s resistance test, replacing the switching valve may be necessary. Some vehicles use an integrated valve assembly, while others allow individual electrical components to be serviced.
Use the correct replacement specification for the vehicle. A valve that physically fits may still have different electrical characteristics or control requirements.
If the valve is electrically functional but does not move correctly, additional mechanical testing may be needed. Electrical continuity alone does not prove that the air passages or valve mechanism are working properly.
Address fuse and relay problems
Replace a defective fuse or relay only after determining why the circuit stopped operating. Check the specified power supply, relay contacts, relevant grounds, and wiring condition.
If a replacement fuse blows again, stop repeated replacement attempts. A shorted wire, seized pump, or faulty electrical component may still be present.
Repair the pump or related air system
If testing identifies a defective pump, damaged check valve, blocked air passage, or leaking hose, repair the affected component separately. These problems can occur alongside P0413 but should not be assumed to be its direct cause.
Inspect the system for water intrusion and condensation where applicable. A damaged check valve may need attention to prevent a replacement pump from suffering the same failure.
Verify the repair
After completing the repair, clear diagnostic memory using the appropriate scan-tool function. Follow the vehicle’s inspection or drive-cycle procedure so the PCM can evaluate the secondary air injection system again.
A successful repair should restore the expected electrical response and allow the relevant monitor to complete without resetting P0413. Check for pending codes after the required operating conditions have been met.
Permanent diagnostic codes are different from ordinary stored codes. A scanner cannot necessarily erase them manually. They clear after the fault is corrected and the appropriate monitor passes according to the vehicle’s control strategy.
Is P0413 Serious, and Can You Drive With It?
P0413 is generally a low-to-moderate severity emissions fault when it occurs by itself and the engine runs normally. The secondary air injection system is not usually essential for ordinary engine operation after warm-up.
Most drivers can make a short trip to a repair facility if there are no additional warning signs. However, the vehicle should not be considered fully repaired simply because it still drives normally.
Use the following symptoms to judge whether driving should continue.
| Vehicle condition | Concern level | Recommended action |
|---|---|---|
| Steady check engine light, normal driving | Low to moderate | Arrange diagnosis and repair soon. |
| Failed emissions inspection | Moderate | Repair the fault and complete required readiness checks. |
| Unusual pump noise or electrical smell | Moderate to high | Stop unnecessary operation and arrange inspection. |
| Flashing check engine light | High | Reduce engine load and stop driving when safe; investigate an active misfire promptly. |
| Severe misfire, stalling, or major power loss | High | Arrange professional diagnosis rather than continuing normal driving. |
A flashing check engine light is particularly important. It usually indicates an active misfire that can overheat and damage the catalytic converter. That warning is not a normal consequence of an isolated P0413 fault and requires prompt attention.
Also pay attention to other warning lights, unusual electrical odors, and repeated fuse failures. These may indicate a more extensive problem than the original emissions code.
Driving with P0413 for an extended period can also leave the emissions system operating outside its intended design. Depending on state requirements, an illuminated malfunction indicator lamp or incomplete readiness monitors may prevent the vehicle from passing an emissions inspection. If a nearby code such as P0411 Code is stored too, its guide is worth reading.
P0413 Repair Costs and Prevention
The repair cost depends on the exact failed component, the accessibility of the switching valve, and the amount of electrical diagnosis required. A connector repair is generally less involved than replacing an inaccessible valve assembly or diagnosing a complicated control-circuit problem.
There is no reliable single price for every P0413 repair. Vehicle design, labor rates, parts availability, and the difference between independent repair shops and dealerships can substantially change the final bill.
Factors that affect repair expenses
- Diagnostic labor: The technician may need to inspect wiring diagrams, test electrical resistance, check power supplies, and reproduce an intermittent failure.
- Connector repairs: Replacing a damaged terminal or connector can be relatively straightforward if access is good.
- Wiring repairs: A damaged harness may require additional labor if it runs near the exhaust or behind other components.
- Switching valve replacement: The part design, location, and whether the solenoid is separately serviceable affect the total repair.
- Fuse and relay diagnosis: Electrical supply faults may require additional testing to identify the reason for a blown fuse or failed relay.
- Pump or check valve replacement: Additional mechanical damage can increase the repair scope if condensation has affected several components.
- Shop versus DIY: Owners with the correct wiring information and electrical testing equipment may handle certain straightforward repairs, while complex PCM-related diagnosis is better left to qualified technicians.
Before approving a repair, ask for the diagnostic findings. A useful estimate should identify the failed circuit or component, explain the test results, and separate parts and labor. Replacing the pump or PCM without confirming its failure can make the repair unnecessarily expensive.
Preventing another secondary air injection fault
The secondary air injection system is exposed to heat, moisture, vibration, and exhaust contamination. Preventive inspection can help identify developing problems before they trigger another diagnostic code.
- Inspect accessible wiring and connectors during routine engine maintenance.
- Keep harnesses properly secured away from exhaust components and sharp edges.
- Address water intrusion and damaged electrical connector seals.
- Investigate unusual secondary air pump noises promptly.
- Check related one-way valves if condensation or water damage is suspected.
- Avoid repeatedly replacing blown fuses without finding the underlying cause.
Cold-weather operation deserves additional attention on vehicles with known condensation-related secondary air system problems. Follow the manufacturer’s service recommendations if water accumulation, pump seizure, or repeated electrical failures have occurred.
Frequently Asked Questions
1. Is P0413 the same as a secondary air injection pump failure?
No. P0413 specifically identifies an open switching valve A electrical circuit. The pump may still operate normally. Pump failure generally requires separate electrical, mechanical, or system-flow evidence before replacement is justified.
2. Can P0413 appear intermittently?
Yes. A loose connector, weak terminal contact, or internally damaged wire can lose continuity only under certain temperatures or vibration conditions. The fault may not be present during every inspection, even though the PCM retains the stored code.
3. Does P0413 mean switching valve A is stuck open?
No. The word open describes an electrical circuit condition, not necessarily the physical position of the valve. A disconnected wire or broken solenoid winding can trigger this code even if the valve mechanism is mechanically closed.
4. Can disconnecting the battery permanently remove P0413?
No. Battery disconnection does not repair the underlying electrical problem. It may erase some stored information or reset certain monitors, depending on the vehicle. Permanent diagnostic codes require the fault to be corrected and the relevant monitor to pass.
5. Can a basic OBD2 scanner identify the exact failed wire?
No. A basic scanner can retrieve P0413 and available freeze-frame information, but it cannot physically locate a broken conductor. Identifying the exact failure requires wiring diagrams, connector inspection, and appropriate electrical testing with a multimeter.
The P0413 code identifies an open electrical circuit in the secondary air injection switching valve A system, not automatic proof of a failed pump. Start with the wiring, connectors, fuse, relay, and valve solenoid before considering expensive component replacement. Confirm the repair with the correct scan-tool tests and manufacturer-specific inspection procedure.
-
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
LearnP2041 Code: Causes, Symptoms, Diagnosis, and Repair
LearnP0339 Chevy: Diagnose Crankshaft Sensor Problems and Prevent Stalling
LearnP1229 Code Meaning, Causes by Make, and Step-by-Step Diagnosis
LearnTesla VCFRONT_a146 Code: Battery Coolant Pump Stall Meaning
LearnP0297 Code: Understand the Overspeed Warning and Fix It
LearnP0603 Ford Code: Keep Alive Memory Error Causes and Fixes