Skanyx
DTC/P0342

P0342: Camshaft Position Sensor "A" Circuit Low Input (Bank 1 or Single Sensor)

Quick Answer
Moderate SeverityNot safe to driveIgnition

P0342 means the ECU is reading a voltage on the camshaft position sensor signal circuit that is lower than the expected range, usually because the signal wire is shorted to ground, the sensor has failed, or the connector has lost contact. On most modern engines the camshaft signal is essential for sequential fuel injection and for VVT control; without it the engine may still run on crankshaft signal alone but with degraded performance.

Estimated repair costFrom €60 to €550+, varies by vehicle

What does P0342 mean?

P0342 means the ECU is reading a voltage on the camshaft position sensor signal circuit that is lower than the expected range, usually because the signal wire is shorted to ground, the sensor has failed, or the connector has lost contact. On most modern engines the camshaft signal is essential for sequential fuel injection and for VVT control; without it the engine may still run on crankshaft signal alone but with degraded performance.

P0342 is a ignition-related diagnostic trouble code classified as moderate severity. When your vehicle's ECU detects this condition, it stores P0342 and illuminates the check engine light.

What are the symptoms of P0342?

If your vehicle has triggered P0342, you may notice one or more of these symptoms:

  • Hard starting or extended cranking
  • Engine stalls intermittently, especially when warm
  • Reduced power and possible limp mode
  • Rough idle
  • Check engine light on

What causes P0342?

Here are the most common causes of P0342, ranked by how likely they are to be the culprit:

highFailed camshaft position sensor (open or shorted internally)
mediumSignal wire shorted to ground
mediumDamaged or corroded sensor connector
mediumOil contamination at the sensor due to a leaking cam cover or spark plug tube seal
lowDamaged camshaft reluctor wheel (rare)

Is it safe to drive with P0342?

No - address this immediately. Without a valid camshaft position signal the ECU loses the ability to time fuel injection precisely and may go into limp mode. Hard starting and stalling are likely. Have the vehicle diagnosed before extended driving.

How do you diagnose P0342?

Follow these steps to pinpoint the root cause of P0342:

  1. Read freeze-frame data and note whether the code is triggered at crank, idle, or during warm operation
  2. Locate the camshaft position sensor and inspect for oil weeping around the sensor body or connector. Oil intrusion is a strong indicator of cam cover gasket failure
  3. Unplug the sensor and measure resistance across its terminals if it is a magnetic pickup, or check the 5 V reference and ground pins for a Hall-effect sensor
  4. Measure resistance from the signal wire to chassis ground with the sensor unplugged. A near-zero reading confirms a wiring short to ground
  5. After replacing the sensor or repairing wiring, clear codes and verify the cam-to-crank correlation in live data

How much does P0342 cost to fix?

Repair costs for P0342 vary depending on the root cause and your vehicle. Here are typical estimates:

Repair Parts Cost Labor Cost Total Estimate DIY Difficulty
Replace camshaft position sensor €30–€120 €40–€150 €70–€270 Moderate
Repair sensor wiring or connector €10–€50 €50–€150 €60–€200 Moderate
Replace cam cover gasket and sensor (oil contamination) €60–€200 €100–€350 €160–€550 Professional

Prices estimated as of March 2026. Costs vary by region, vehicle, and shop.

P0342 on specific vehicles

P0342 behaves differently depending on your vehicle. Select your car below for model-specific causes, known issues, and adjusted cost estimates:

BMW

P0342 on BMW 3 Series

2006-2024

The N52 commonly sets P0342 after the intake cam sensor wiring fatigues at the back of the cam cover. BMW issued updated cam sensor connectors with improved seals on later builds. Replacement requires removing the engine cover and intake plenum to reach the connector.

What causes P0342 on a BMW 3 Series?

BMW 3 SeriesIntake cam sensor connector fatigue on N52
BMW 3 SeriesOil seepage from cam cover gasket onto the sensor

P0342 repair cost for BMW 3 Series

Estimated costs for BMW 3 Series ownersadjusted higher than average due to BMW-specific parts pricing

Repair Parts Cost Labor Cost Total Estimate DIY Difficulty
Replace camshaft position sensor €42–€168 €56–€210 €98–€378 Moderate
Repair sensor wiring or connector €14–€70 €70–€210 €84–€280 Moderate
Replace cam cover gasket and sensor (oil contamination) €84–€280 €140–€490 €224–€770 Professional

Prices estimated as of March 2026. Costs vary by region, vehicle, and shop.

Volkswagen

P0342 on Volkswagen Golf

2008-2024

EA888 engines in Mk6 and Mk7 Golf use a Hall-effect camshaft position sensor that fails with a low-side short after extended heat exposure. VW has a TSB recommending the updated sensor when the original is replaced, as the early version is prone to repeat failure.

What causes P0342 on a Volkswagen Golf?

Volkswagen GolfHall-effect cam sensor low-side short on EA888
Volkswagen GolfCam cover oil weep contaminating connector

P0342 repair cost for Volkswagen Golf

Estimated costs for Volkswagen Golf ownersadjusted higher than average due to Volkswagen-specific parts pricing

Repair Parts Cost Labor Cost Total Estimate DIY Difficulty
Replace camshaft position sensor €35–€138 €46–€173 €81–€311 Moderate
Repair sensor wiring or connector €12–€57 €57–€173 €69–€230 Moderate
Replace cam cover gasket and sensor (oil contamination) €69–€230 €115–€402 €184–€633 Professional

Prices estimated as of March 2026. Costs vary by region, vehicle, and shop.

Audi

P0342 on Audi A4

2008-2024

B8 A4 with the 2.0 TFSI commonly sets P0342 alongside P0011/P0012 when the cam adjuster oil control valve fails. The cam sensor itself reads correctly but the cam is not where the sensor signal says it should be at startup, leading to a low-input fault during the initial sync window.

What causes P0342 on a Audi A4?

Audi A4Cam adjuster oil control valve failure on 2.0 TFSI
Audi A4Cam sensor harness chafing against the engine cover

P0342 repair cost for Audi A4

Estimated costs for Audi A4 ownersadjusted higher than average due to Audi-specific parts pricing

Repair Parts Cost Labor Cost Total Estimate DIY Difficulty
Replace camshaft position sensor €38–€150 €50–€188 €88–€338 Moderate
Repair sensor wiring or connector €13–€63 €63–€188 €75–€250 Moderate
Replace cam cover gasket and sensor (oil contamination) €75–€250 €125–€438 €200–€688 Professional

Prices estimated as of March 2026. Costs vary by region, vehicle, and shop.

Mercedes-Benz

P0342 on Mercedes C-Class

2007-2024

W204 with the M271 four-cylinder is well known for camshaft sensor failures. The wiring loom is integrated with the camshaft adjuster harness, and a single failed sensor often requires replacing the whole assembly. Mercedes issued multiple service campaigns for related cam-position faults.

What causes P0342 on a Mercedes C-Class?

Mercedes C-ClassIntegrated cam adjuster wiring failure on M271
Mercedes C-ClassSensor connector oil contamination after cam cover leak

P0342 repair cost for Mercedes C-Class

Estimated costs for Mercedes C-Class ownersadjusted higher than average due to Mercedes-Benz-specific parts pricing

Repair Parts Cost Labor Cost Total Estimate DIY Difficulty
Replace camshaft position sensor €41–€162 €54–€203 €95–€365 Moderate
Repair sensor wiring or connector €14–€68 €68–€203 €81–€270 Moderate
Replace cam cover gasket and sensor (oil contamination) €81–€270 €135–€473 €216–€743 Professional

Prices estimated as of March 2026. Costs vary by region, vehicle, and shop.

These codes are often seen alongside P0342 or indicate related issues:

Common questions about P0342

Why won't my engine start with a P0342 code?

Many ECUs use the camshaft position signal at cranking to identify which cylinder is on its compression stroke before firing the first injector. With no cam signal, the ECU has to fall back to crank-only logic, which can take much longer or fail entirely on some engines.

Can oil leaking onto the cam sensor cause P0342?

Yes. A leaking cam cover gasket or spark plug tube seal lets oil pool around the sensor connector. Oil eventually penetrates the connector and damages the contact, producing a low-signal fault. Replacing the sensor without fixing the leak just delays the repeat failure.

How is P0342 different from P0341?

P0341 means the cam signal is present but inconsistent with the crank signal, often pointing to timing chain stretch. P0342 means the signal voltage itself is below threshold, which is almost always an electrical or sensor fault rather than a mechanical timing issue.

Can a stretched timing chain set P0342?

Not directly. A stretched chain typically sets P0341 or P0016 because the cam signal is out of phase, not because its voltage is wrong. If P0342 is set, focus on the sensor, the wiring, and the connector first.

Skanyx

Scan your car with Skanyx to diagnose P0342

Connect any Bluetooth OBD2 adapter, scan for codes, and get AI-powered diagnostics with severity ratings and repair cost estimates.

Download Skanyx