Share a repair cost +
CHECK ENGINE LIGHT CODE

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

The engine computer is not getting a good signal from the camshaft position sensor on bank 1.

SeriousKBB says it is not safe or recommended to drive with this code. The car may be hard to start and can lose power on the road.

What P0340 means

The camshaft position sensor tells the engine computer which stroke each cylinder is on. Combined with the crank sensor, that lets it time sequential fuel injection and coil-on-plug spark correctly. RepairPal explains that when the cam signal is interrupted for any reason, P0340 sets. Some engines will still start and run on crank signal alone, but many crank longer, stumble or stall. KBB calls it unsafe to drive because you can lose power on the road. A failed sensor is common, and so is a wiring or connector problem, including oil that wicks into the connector past a leaking sensor seal. RepairPal also lists a bad crank sensor as a cause that gets confused with this one. Less often, a stretched or jumped timing chain or belt puts the cam signal out of place. Shops check the cam signal on a scope or scan tool, test power and ground, and compare cam and crank timing before replacing parts.

Common symptoms

Most common causes

  1. Failed camshaft position sensor
  2. Damaged or corroded sensor wiring or connector
  3. Faulty crankshaft position sensor
  4. Timing belt or chain stretched or jumped
  5. Damaged cam reluctor or tone wheel

What to check yourself first

Check the cam sensor connector, usually on the cylinder head or timing cover, for oil inside it or a loose latch. Oil in the connector can mean a leaking sensor O-ring. Check your oil level too, since low oil can affect cam timing on many engines.

Typical fixes and what they cost

FixTypical costNote
Replace camshaft position sensor$224-$326The usual fix once wiring is confirmed good.
Electrical diagnosis to find a wiring or connector fault$122-$179RepairPal notes cam sensors are often replaced when the issue was a poor connection or chafed wiring.
Replace crankshaft position sensor$230-$335If the crank sensor is the real cause.
Replace timing chain$2,120-$2,764Only if a timing check shows a stretched or jumped chain.

Typical US price ranges for parts and labor, not quotes. Your shop should confirm the cause with a diagnostic before replacing parts.

Related repair guides

Related codes

Sources

Look up another code