P0013 Subaru: Diagnose the Camshaft Actuator Circuit and Fix the Fault
20 min read · by Nicole Bennett · Last updated: November 25, 2026
P0013 Subaru means the engine computer has detected an open or electrical fault in the B camshaft position actuator control circuit on Bank 1. On Subaru engines covered by the relevant factory diagnostic information, this fault involves the exhaust oil control solenoid circuit used by the Active Valve Control System (AVCS). A damaged connector, wiring problem, missing power supply, or defective solenoid can trigger the code.
The check engine light may appear with rough idling, inconsistent engine operation, or reduced performance. Some vehicles show few noticeable symptoms. P0013 does not automatically mean the camshaft position sensor or the entire AVCS system needs replacement. The electrical circuit must be tested before installing parts.
This guide explains the Subaru-specific meaning, likely causes, scanner checks, electrical testing, repair considerations, and driving risks. Exact connector locations, resistance specifications, and diagnostic procedures depend on the Subaru model, engine, and model year. The factory specifications discussed below apply to the documented Subaru H4DO procedure, not every Subaru engine.
What P0013 Means on a Subaru
P0013 is a powertrain diagnostic trouble code describing a problem with the B camshaft position actuator circuit on Bank 1. Subaru service information uses the description B Camshaft Position Actuator Control Circuit/Open Bank 1. On the documented H4DO engine, the diagnostic procedure directs attention to the exhaust oil control solenoid RH and its electrical connections. The Subaru P0013 service diagnostic description provides additional details about the fault and its troubleshooting.
Understanding the code requires separating an electrical circuit fault from a mechanical camshaft timing problem. The engine computer controls oil control solenoids to regulate oil flow to the variable valve timing mechanism. This changes camshaft timing according to engine operating conditions. When the computer detects an electrical problem in the actuator circuit, it can store P0013.

Understanding the Code Description
Each part of P0013 identifies a different aspect of the fault:
- P: The problem belongs to the powertrain category, which includes engine and transmission-related systems.
- 0: The second character identifies a generic SAE diagnostic code rather than a manufacturer-exclusive definition.
- 0: The third character identifies the fuel and air metering or auxiliary emissions-related powertrain area.
- 13: The final two characters identify the particular diagnostic fault.
The word B identifies the second camshaft actuator designation in the applicable diagnostic system. It is commonly associated with the exhaust camshaft actuator, while A generally identifies the intake camshaft actuator. Bank 1 identifies the cylinder bank containing cylinder number one. It does not mean the first physical sensor or the first cylinder in the firing order.
How Subaru AVCS Relates to P0013
Subaru uses AVCS to adjust valve timing as engine speed and operating conditions change. The engine control module (ECM) commands an oil control solenoid, which regulates oil flow to the camshaft timing mechanism. The system helps balance engine response, efficiency, and emissions.
The solenoid is an electrically controlled component. Its circuit needs a suitable power supply, intact wiring, good connector contact, and a functioning ECM control circuit. A break in any of these electrical paths can prevent the actuator from responding correctly.
This distinction matters because P0013 is primarily an actuator circuit code, not a direct declaration that the camshaft is mechanically out of position. A timing performance problem may produce a different code, such as P0014. Subaru’s engine diagnostic listings distinguish P0013 from the exhaust AVCS range/performance fault P0014.
The precise component arrangement varies across Subaru vehicles. The documented H4DO procedure identifies the exhaust oil control solenoid RH, but that designation and the associated connector terminals should not be transferred blindly to another engine. Check the service information for the exact vehicle before testing.
Symptoms of a Subaru P0013 Fault
A Subaru with P0013 may develop rough idle, inconsistent engine response, or an illuminated check engine light. The severity depends on whether the actuator circuit has completely failed or is experiencing an intermittent electrical problem.
Subaru’s documented H4DO diagnostic information specifically lists improper idling as a trouble symptom. Other symptoms can occur because variable valve timing may not operate as commanded, but they are not guaranteed on every vehicle.

Common Warning Signs
- Check engine light: The ECM stores P0013 after detecting the actuator circuit fault. The light may remain illuminated until the problem is repaired and the relevant diagnostic conditions are satisfied.
- Rough idle: The engine may shake, vibrate, or run unevenly while stationary. This is a symptom specifically identified in Subaru’s H4DO diagnostic information.
- Unusual acceleration: Incorrect variable valve timing operation can affect how the engine responds to throttle input.
- Reduced engine performance: The vehicle may feel less responsive if the engine cannot adjust camshaft timing as expected.
- Inconsistent operation: An intermittent connection may cause symptoms to appear and disappear with vibration, temperature, or engine movement.
- Increased fuel consumption: Engine operation outside its intended valve timing strategy may affect efficiency, although this symptom alone does not confirm P0013.
Why Some Subaru Vehicles Have No Obvious Symptoms
A vehicle can store P0013 without developing an immediately noticeable performance problem. An intermittent connector fault, for example, may be detected during a particular operating condition and then temporarily disappear.
A driver may notice only the check engine light. Another vehicle may experience rough idle or reduced response. The difference depends on the extent of the electrical fault, the engine control strategy, and whether the solenoid can still operate intermittently.
Do not assume the problem has disappeared simply because the engine feels normal. A stored code and its freeze-frame information can provide important diagnostic evidence. A technician should investigate the circuit before the fault becomes more persistent.
Tip: Record the exact trouble code, its status, and freeze-frame information before clearing anything. If P0013 appears intermittently, note whether it occurs during a cold start, after warming up, or during acceleration. These details can help identify a heat-sensitive connector or wiring problem. The wiring and part locations differ by make, as P0013 BMW shows for the same code.
Common Causes of P0013 on Subaru Vehicles
P0013 usually directs diagnosis toward the camshaft actuator electrical circuit rather than immediately toward mechanical timing components. The most useful starting points are the exhaust oil control solenoid, its power supply, wiring continuity, and connector condition.
The documented Subaru H4DO diagnostic procedure checks these electrical areas in a specific sequence. The following causes reflect the systems identified in that procedure and other reasonable electrical failure points. Exact causes vary by model year and engine.
1. Defective Exhaust Oil Control Solenoid
The oil control solenoid is a primary component to investigate. It receives an electrical command and regulates oil flow to the variable valve timing mechanism. An internal winding failure, damaged terminal, or other electrical defect can prevent the solenoid from operating correctly.
A solenoid may look normal externally while having an electrical resistance outside the manufacturer’s specification. For the documented Subaru H4DO procedure, the expected resistance between the exhaust oil control solenoid RH terminals is 6 to 12 ohms. This specification is not universal to every Subaru engine.
2. Damaged or Open Wiring
The wiring between the ECM and the oil control solenoid carries the control signal. A broken conductor, damaged insulation, loose terminal, or corroded connection can interrupt the circuit.
Heat and vibration can make an existing wiring problem worse. An internal wire break may be difficult to see because the insulation remains intact. A visual inspection should therefore be followed by appropriate electrical continuity testing.
3. Poor Connector Contact
Loose terminals, corrosion, moisture, or damaged connector locks can interrupt the electrical connection. Subaru’s service information specifically instructs technicians to check for poor contact at the ECM connector.
An intermittent connection can make the fault difficult to reproduce. The vehicle might run normally after a restart, only for the code to return later. Connector inspection should include the terminal condition, locking mechanism, and signs of moisture or heat damage.
4. Missing Power Supply
The actuator circuit requires an appropriate electrical supply. A blown fuse, relay problem, damaged power wire, or poor connection can prevent the solenoid from receiving the necessary voltage.
Subaru’s documented H4DO procedure specifically checks the power supply at the exhaust oil control solenoid RH connector. This helps distinguish a supply-side fault from a problem in the control wiring or solenoid itself.
5. ECM Control Circuit Problems
The ECM controls the actuator circuit. A damaged ECM connector, terminal problem, or internal driver failure can prevent the solenoid from receiving the intended command.
An ECM failure should be considered only after the power supply, ground paths where applicable, connector condition, wiring, and solenoid have been tested. Replacing the computer based solely on P0013 is an expensive and unreliable diagnostic shortcut.
Symptoms and Causes Compared
| Observed symptom | Possible cause | Recommended check |
|---|---|---|
| Check engine light with P0013 | Actuator circuit fault | Scan code status and inspect circuit |
| Rough idle | Solenoid or control circuit problem | Check actuator operation and wiring |
| Intermittent warning light | Loose connector or damaged wire | Inspect terminals and harness continuity |
| Missing solenoid supply voltage | Fuse, relay, or power wiring fault | Test the specified supply circuit |
| Solenoid resistance outside specification | Internal solenoid electrical failure | Compare resistance with vehicle specifications |
| Wiring tests pass but fault remains | Possible ECM driver or intermittent fault | Perform advanced circuit diagnosis |
How to Diagnose P0013 with an OBD2 Scanner
An OBD2 scanner helps identify when P0013 occurred and whether other engine faults are present. A basic code reader can retrieve the stored trouble code, while a more capable diagnostic scanner can display freeze-frame data, live engine information, and manufacturer-specific AVCS parameters.
A good diagnosis combines scan data with electrical testing. The scanner identifies the affected system, but it cannot independently prove that the oil control solenoid, harness, or ECM is defective.
Step 1: Read All Stored and Pending Codes
Connect the scanner to the 16-pin OBD2 diagnostic port, generally located beneath the driver’s dashboard. Turn the ignition on and retrieve all available powertrain codes.
Record P0013 and any accompanying codes before clearing anything. Other camshaft actuator, camshaft position, crankshaft position, or system voltage codes may help explain why the fault occurred.
Pay attention to code status:
- Pending: The computer detected a fault but has not yet confirmed it through the required monitoring conditions.
- Stored or confirmed: The fault has met the applicable criteria for confirmation and may have commanded the check engine light on.
- Permanent: The code remains recorded until the vehicle completes the required self-tests after the underlying problem has been repaired.
Step 2: Examine Freeze-Frame Data
Freeze-frame data records operating conditions associated with a detected fault. It can help establish whether the problem occurred during a cold start, warm idle, acceleration, or another operating condition.
Record the following information when available:
- Engine RPM when P0013 was recorded.
- Engine coolant temperature.
- Vehicle speed.
- Calculated engine load.
- Battery or system voltage.
- Intake air temperature and throttle position.
- Available commanded camshaft timing and actual camshaft timing data.
Compare the freeze-frame conditions with the circumstances under which the driver noticed the warning light. For example, a fault that repeatedly appears after the engine warms up may justify closer inspection of heat-sensitive wiring and connectors.
Step 3: Check Live Data
If the scanner supports Subaru-enhanced data, look for AVCS or VVT-related parameters. Depending on the vehicle, available information may include commanded camshaft position, actual camshaft position, oil control valve duty, and actuator status.
Compare commanded and actual camshaft behavior under the operating conditions specified by the manufacturer’s diagnostic procedure. A circuit fault may prevent the actuator from responding properly. However, a generic scanner may not display all Subaru-specific parameters.
Do not confuse an unavailable data parameter with a failed component. Some basic scanners show only standard OBD2 information and cannot access manufacturer-specific control-module data.
Step 4: Review Fuel Trims and Other Engine Data
Fuel trims are not the primary test for P0013, but they can help identify additional engine problems. Examine short-term fuel trim (STFT) and long-term fuel trim (LTFT) on both available banks.
Combined fuel trims beyond roughly plus or minus 10 percent can suggest a mixture problem. Values approaching or exceeding approximately 25 percent may contribute to lean or rich trouble codes. These readings should be interpreted in relation to engine temperature, RPM, load, and the manufacturer’s specifications.
A fuel mixture problem does not prove that the actuator circuit is defective. Treat fuel trim readings as supporting information and investigate any additional codes separately.
Step 5: Perform Electrical Testing
The documented Subaru H4DO service procedure uses a systematic electrical diagnostic process. It checks the ECM output, solenoid power supply, harness condition, continuity, and solenoid resistance.
The following figures are specific to the referenced Subaru procedure:
| Diagnostic check | Documented specification | Purpose |
|---|---|---|
| ECM output signal | 10 V or more | Check the specified ECM output |
| Solenoid power supply | 10 V or more | Verify electrical supply |
| Harness isolation | 1 megaohm or more | Check for a short to ground |
| Harness continuity | Less than 1 ohm | Check for an open control wire |
| Solenoid resistance | 6 to 12 ohms | Check internal electrical condition |
These measurements are not universal Subaru specifications. The exact terminals, test conditions, and acceptable readings must be confirmed in the service manual for the vehicle being repaired. In particular, ECM output checks should not be performed by probing unidentified terminals.
Step 6: Understand Mode $06 and Scanner Limitations
Mode $06 provides onboard monitor test results on supported vehicles. It can be useful when a diagnostic monitor has recorded a result related to emissions or engine operation. However, not every P0013 fault provides a useful or accessible Mode $06 result.
Do not assume that a normal Mode $06 display clears the actuator circuit of suspicion. A circuit can have an intermittent electrical fault that is not present during the test. Use Mode $06 as supporting evidence, not as a replacement for the Subaru electrical diagnostic procedure.
Tip: Before disconnecting ECM or solenoid connectors, follow the Subaru service manual’s ignition and battery precautions. Resistance measurements must be performed on an appropriately isolated, de-energized circuit. Never measure resistance on a powered circuit or apply battery voltage directly to an ECM control terminal. The same code can behave differently on other vehicles, so it helps to compare it with P0013 Nissan Code.
Is It Safe to Drive a Subaru with P0013?
A Subaru with P0013 may be capable of running, but continued driving is not recommended without evaluating the symptoms. A mild, steady check engine light with normal engine operation is different from severe rough running, stalling, or a flashing warning light.
The actuator fault can interfere with the engine’s intended valve timing operation. Even if the vehicle remains driveable, leaving the electrical problem unresolved can affect performance, fuel efficiency, and emissions compliance.
When Limited Driving May Be Possible
If the check engine light is steady, the engine idles normally, and there are no unusual noises or major performance changes, a short and cautious trip to a repair facility may be reasonable. Avoid unnecessary journeys, heavy acceleration, high engine loads, and towing until the fault has been diagnosed.
A steady check engine light does not mean the vehicle is operating perfectly. It indicates that the onboard diagnostic system has identified a fault that requires attention. Oregon DEQ recommends having illuminated check engine warnings evaluated rather than ignoring them. Its OBD vehicle inspection guidance also explains why a flashing warning light should not be ignored.
When to Stop Driving
Stop driving and arrange professional assistance if any of the following conditions develop:
- The check engine light begins flashing.
- The engine repeatedly stalls or cannot maintain a stable idle.
- Severe shaking or misfiring develops.
- The vehicle loses substantial power or becomes difficult to control in traffic.
- Unusual mechanical noises develop alongside the warning light.
- An oil pressure warning or overheating warning appears.
A flashing check engine light is particularly serious because it can indicate an active engine misfire capable of damaging the catalytic converter. Reduce engine load and stop driving as soon as it is safe. A severe engine problem should not be treated as an ordinary P0013 electrical repair.
Safety: Do not work around moving belts, fans, or hot engine components. Keep hands and tools away from running-engine components. Electrical testing at ECM terminals requires the correct wiring diagram and test equipment. If the engine is stalling, overheating, or running with a flashing check engine light, arrange professional diagnosis rather than continuing to drive.
P0013 Subaru Repair Options and Cost Factors
The correct repair depends on which part of the actuator circuit has failed. Some vehicles need a connector or wiring repair, while others require an oil control solenoid replacement or more advanced ECM diagnosis.
There is no reliable single repair cost for every Subaru with P0013. Labor time, engine layout, parts availability, diagnostic complexity, and whether the work is completed at a dealership or independent repair shop all influence the final bill.
Repairing the Electrical Connector or Harness
If testing identifies a loose connector, corroded terminal, or damaged wire, the repair may involve cleaning, terminal replacement, connector repair, or harness replacement as appropriate.
The labor requirement depends on accessibility and the extent of the damage. A visible connector problem may be relatively straightforward, while an internal harness break can require substantial disassembly and electrical tracing.
A proper repair must restore the correct electrical connection and protect the wiring from heat, vibration, and moisture. Simply wrapping damaged wiring with electrical tape is not a substitute for an appropriate automotive wiring repair.
Replacing the Exhaust Oil Control Solenoid
If the solenoid fails its electrical resistance test or another manufacturer-approved functional test, replacement may be necessary. The replacement procedure depends on the engine and the component’s accessibility.
Parts costs vary according to the specific Subaru application and whether an original-equipment or suitable aftermarket component is selected. Labor may include removing surrounding components, accessing the solenoid, inspecting its connector, and checking for oil leaks after installation.
Replacing the solenoid without testing its circuit is not recommended. A new component will not solve a broken power wire, poor connector contact, or defective ECM driver.
Repairing the Power Supply or ECM Circuit
If the solenoid does not receive the required power, the technician must identify the affected fuse, relay, connector, or supply wire. The repair may be simple or may require tracing a damaged section of the electrical harness.
An ECM-related repair generally requires more extensive diagnosis. Before replacing the computer, a technician should verify its power supplies, connector contacts, wiring continuity, and control output according to the applicable service information.
ECM replacement can also involve programming, configuration, or immobilizer-related procedures depending on the vehicle. These additional requirements can increase the total repair time and expense.
DIY Repair Versus Professional Diagnosis
An experienced DIY owner with the correct Subaru service information, wiring diagrams, digital multimeter, and suitable scanner may be able to perform preliminary checks. Reading codes, recording freeze-frame information, and visually inspecting accessible connectors are useful starting points.
More advanced testing requires greater care. Incorrect probing can damage terminals or electronic control modules. If the fault requires ECM connector testing, harness isolation, or interpretation of manufacturer-specific live data, professional assistance may be the better option.
Ask the repair facility to explain which test identified the failed component. A useful estimate should separate diagnostic labor, parts, installation labor, and any additional repairs. This makes it easier to understand why a particular component needs replacement. Codes often appear in groups on this vehicle, so P0021 Subaru Code may also apply.
Preventing Repeat Camshaft Actuator Circuit Problems
Preventing another P0013 occurrence starts with maintaining the electrical connections and following the engine’s scheduled maintenance requirements. A recurring code should trigger further diagnosis rather than repeated code clearing or unnecessary component replacement.
Although P0013 identifies an electrical circuit problem, general engine maintenance remains important because the AVCS system depends on proper engine operation and oil circulation. Maintenance cannot repair a broken wire, but it helps avoid additional problems that can complicate diagnosis.
Follow the Correct Engine Oil Schedule
Use the engine oil viscosity and specification recommended for the exact Subaru model and engine. Follow the manufacturer’s oil and filter replacement intervals, and check the oil level regularly.
Oil maintenance is especially relevant to variable valve timing systems because they use controlled oil flow to adjust camshaft position. Dirty or unsuitable oil can contribute to broader AVCS operating problems, even though it is not the direct definition of the P0013 electrical circuit fault.
If the vehicle has a history of sludge, neglected oil changes, or other oil-related engine problems, mention this when discussing the code with a technician. It may help determine whether additional inspection is appropriate.
Inspect Wiring and Connector Condition
During appropriate maintenance, look for damaged wiring insulation, loose connector locks, corrosion, or signs of excessive heat around accessible engine electrical connections. Pay attention to areas where harnesses contact brackets or other engine components.
Do not pull wires or force connectors apart. Use the proper release mechanism and follow the manufacturer’s handling instructions. Damaged terminals should be repaired using suitable automotive electrical components and methods.
Verify the Repair Before Returning to Normal Driving
After the repair, the vehicle needs an appropriate verification process. Subaru’s documented H4DO diagnostic information instructs technicians to perform Clear Memory Mode and Inspection Mode after servicing or replacing faulty parts.
The technician should verify that the circuit operates correctly, inspect for returning trouble codes, and confirm that the engine runs normally. Any required drive cycle or inspection procedure should follow the specific model’s service instructions.
Do not treat an extinguished check engine light as complete proof of a successful repair. Permanent diagnostic codes may remain until the vehicle completes the relevant self-tests. Readiness monitors may also require normal driving conditions before returning to a ready status.
Frequently Asked Questions
Does P0013 mean the Subaru camshaft position sensor is bad?
No. P0013 identifies the B camshaft actuator control circuit, not a direct camshaft position sensor failure. A sensor-related fault generally has a different diagnostic code. Test the actuator wiring, power supply, connectors, and solenoid before considering other components.
Is P0013 the same as Subaru P0014?
No. P0013 identifies a B camshaft actuator electrical circuit/open fault. P0014 identifies a B camshaft timing over-advanced or system performance fault. Subaru service listings describe the related P0014 condition as an exhaust AVCS range/performance problem. The two codes require different diagnostic approaches.
Can a Subaru P0013 code clear itself?
The check engine light may turn off after the fault is no longer detected during the required driving cycles. However, a permanent code can remain until the vehicle completes the relevant self-tests. An intermittent electrical problem may also cause the warning to return.
Can disconnecting the Subaru battery fix P0013?
Disconnecting the battery does not repair a defective solenoid, damaged wire, or poor connector contact. It may erase some stored diagnostic information and reset readiness monitors. Record all available codes and freeze-frame information before any battery disconnection or memory-clearing procedure.
Can a basic OBD2 scanner diagnose every Subaru P0013 problem?
No. A basic scanner can retrieve the generic P0013 code and often show freeze-frame information, but it may not access Subaru-specific AVCS parameters or perform manufacturer-level actuator tests. Advanced diagnosis may require a Subaru-capable scan tool and the correct electrical service information.
P0013 on a Subaru points to an electrical problem in the B camshaft actuator circuit, not automatically a failed sensor or mechanical timing component. Start with the code and freeze-frame data, then test the solenoid, power supply, connectors, and wiring against the correct factory specifications. Repairing the actual cause and verifying the AVCS circuit is the best way to prevent the warning from returning.
-
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
LearnP0016 Subaru Code: Causes, Scanner Checks and Repair Steps
LearnP0087 Subaru Code: Meaning, Common Causes, and How to Diagnose Low Fuel Rail Pressure
LearnP0010 Subaru: Diagnose the AVCS Circuit and Fix the Fault
LearnP0017 Subaru Code: Oil and VVT Timing Checks Come First
LearnP0021 Subaru Code: Meaning, Causes and TSB Checks
LearnP0430 Ford Escape: Diagnose Bank 2 Catalyst Problems Correctly