Home › Code lookup › P0340
Powertrain code · Engine

P0340 Camshaft Position Sensor "A" Circuit (Bank 1 or Single Sensor)

How urgent? Get it checked in the next few days

What it means

The engine computer says there's a fault in the circuit for camshaft position sensor A (bank 1 or single sensor). This sensor tracks the camshaft, which on most engines is the intake cam, so the computer can time fuel and spark.

Can I keep driving?

If it starts and runs smoothly, you can usually drive gently to a shop soon. If it stalls, runs rough or loses power, limit driving and avoid highways. If you hear rattling or the engine runs very rough, stop; a jumped timing belt or chain can cause serious engine damage.

What to test before replacing parts

Check the bank 1 cam sensor signal and wiring and battery voltage while cranking, and verify cam-to-crank timing before replacing the sensor; a stretched or jumped timing chain or belt can set this code.

  1. Inspect the sensor connector for oil, corrosion or a broken lock tab
  2. Check battery and charging voltage
  3. Compare cam and crank signals with a scan tool or scope to check timing

Signs you may notice

  • Check engine light on
  • Long cranking or hard starting
  • Stalling, rough running or reduced power
  • Poor fuel economy

Possible causes

Most likely first. Directions for testing, not confirmed failures.

  • CommonFailed camshaft position sensor
  • CommonDamaged wiring or loose, oil-soaked connector
  • PossibleTiming belt or chain stretched or jumped a tooth
  • PossibleWeak battery or charging voltage during cranking
  • PossibleEngine computer fault

Typical repair once the cause is confirmed

Usually a new camshaft position sensor or a wiring repair; if the timing is off, the timing belt or chain needs attention.

Repair costInsufficient verified pricing for this vehicle and repair
Replace camshaft position sensor. Prepare an itemized shop request.

Known on these vehicles

Walk through it step by step: Check engine light on →

Common questions

What does P0340 mean?

The engine computer says there's a fault in the circuit for camshaft position sensor A (bank 1 or single sensor). This sensor tracks the camshaft, which on most engines is the intake cam, so the computer can time fuel and spark.

Can I drive with code P0340?

If it starts and runs smoothly, you can usually drive gently to a shop soon. If it stalls, runs rough or loses power, limit driving and avoid highways. If you hear rattling or the engine runs very rough, stop; a jumped timing belt or chain can cause serious engine damage.

What causes P0340?

Common possibilities to test include: failed camshaft position sensor; damaged wiring or loose, oil-soaked connector; timing belt or chain stretched or jumped a tooth; weak battery or charging voltage during cranking. A shop should confirm the cause before replacing parts.

Related codes

Trouble codes point to where a problem was detected, not always to the failed part. A scan and a few tests confirm the cause before parts are replaced. This is a general guide, not a diagnosis.