P0158: cam sensor bank 2
Camshaft Position Sensor Circuit High Voltage (Bank 2 Sensor 2)
Severity: medium
Updated: 6 Dec 2026 · Generic OBD-II code (SAE J2012 / ISO 15031-6). Written with AI and reviewed; translated automatically from the Spanish original.
What it means
The code P0158 is generic (defined in SAE J2012 / ISO 15031-6) and is described as "Sensor Circuit High Voltage (Bank 2 Sensor 2)". It indicates that the engine control module (ECM/PCM) has detected, in the circuit of sensor 2 on bank 2, a voltage higher than expected. Bank 2 is the side of the engine that does not contain cylinder no. 1 in V or boxer engines; in inline engines it normally does not apply. The exact numbering of the sensor and the circuit depends on the manufacturer and the engine: check the workshop manual for your vehicle.
Can I keep driving?
Yes, but have it checked soon.
The car can normally be driven, but the fault can get worse or damage other parts over time (the catalytic converter or the particulate filter, for example). Book a diagnosis in the next few days.
If in doubt, put safety first: a red or flashing warning light, smoke, a burning smell or any change in the brakes or steering are reasons to stop.
Got P0158? Ask about your car
Tell us your car and what you notice: we answer right here, no account needed.
DATAIAO’s answer
AIYou're talking to DATAIAO's AI, specialised in car mechanics. Check anything important before acting. What we keep
Save this answer and your car, and I’ll ask you tomorrow whether it’s fixed.
Free and no card needed: 10 questions a day, your Garage and MOT/inspection reminders.
Warning: hazardous work
Affects:
Disclaimer. This information is for guidance only, is generated by artificial intelligence and may contain errors or omissions. Working on these systems can cause serious injury or death, as well as damage to the vehicle or to third parties. If you decide to do it, you do so at your own risk: always follow the manufacturer's workshop manual and the applicable regulations, and go to a workshop if you do not have the right training and tools. To the extent permitted by law, DATAIAO is not liable for damage arising from carrying out this work.
How the ECU detects it
The control module checks the circuit signal during operation. The fault is recorded when the circuit voltage exceeds the expected range. The warning light comes on when the fault persists after several driving cycles. The exact detection conditions depend on the manufacturer.
Symptoms
- Check engine warning light on.
- Possible loss of power or irregular engine running, depending on the function the sensor performs in your vehicle.
- Unstable idle or hard starting in some cases.
- On some vehicles, the engine may switch to an emergency mode with reduced power.
- Symptoms vary greatly depending on the affected sensor and the manufacturer.
Common causes
- Faulty sensor or internal sensor failure.
- Damaged wiring or connector, with corrosion, moisture, loose pins or deteriorated insulation causing a short circuit with voltage.
- Short circuit with the system's supply voltage.
- Fault in the earth (ground) or in the voltage reference of the circuit.
- Fault in the engine control module itself, which is uncommon.
- The specific cause depends on the make and the engine: check the workshop manual for your vehicle.
What to check
- Read the code with an OBD-II scanner and note any other codes stored.
- Check the live data of the affected sensor on the scanner and compare it with the equivalent sensor on the other bank.
- Visually inspect the connector and the wiring harness for damage, corrosion or bare wires.
- Verify that the connector is fully seated and its locking clip is in place.
- Measure voltages and earths with a multimeter or oscilloscope following your manufacturer's wiring diagram. Reference values depend on the make: check them in the workshop manual.
- If the circuit is correct, assess the sensor or the control module, following the manufacturer's procedure.
Common diagnostic mistakes
- Replacing the sensor without first checking the connector and wiring, leaving the fault unresolved.
- Confusing bank 1 with bank 2 and diagnosing the wrong side of the engine.
- Clearing the code and not rechecking it, treating an intermittent fault as solved.
- Working on high-voltage circuits or safety systems without training: in those cases, go to a professional.
Typical repairs
From the simplest and cheapest to the most expensive. Which one applies depends on the diagnosis.
- Clean and retighten the connector, or repair the damaged pin.
- Repair the damaged cable or harness with proper splicing and insulation.
- Replace the affected sensor if the circuit is correct.
- Replace the engine control module as a last resort, after ruling out all other causes.
- The specific procedures depend on the make: check them in the workshop manual.
Frequently asked questions
Can I keep driving with the P0158 code showing?
It depends on the symptoms and on the function of the sensor in your vehicle. If the engine runs normally, you can drive with caution and have it checked soon. If you notice loss of power, irregular running or the engine goes into emergency mode, reduce how much you use the vehicle and take it to a garage to avoid further damage.
Can I just clear it? Clearing the code does not fix the fault: if the cause is still there, it comes back, and with the engine warning light on the car will fail its roadworthiness test (MOT in the UK).
General information about a generic code. The exact causes depend on the make and engine: confirm them with a diagnosis before replacing parts.
Related codes
- P0155 Same as P0158 but referring to the oxygen sensor or heater on bank 2 in some configurations; do not confuse it with the camshaft position sensor.
- P0335 Fault in the crankshaft position sensor circuit, which is the timing reference sensor.
- P0016 Correlation fault between crankshaft and camshaft position on bank 1; indicates a timing problem that can also affect bank 2.
- P0017 Correlation fault between crankshaft and camshaft position on bank 2; differs from P0158 in that it measures timing consistency, not the sensor itself.
- P0340 Fault in the camshaft position sensor circuit on bank 1; it is the equivalent on the opposite side of the engine.