What P0340 means on this engine
Cam sensor.
The camshaft sensor tells the computer which cylinder is next to fire. Its signal is missing or doesn't line up with the engine. It's usually the sensor or its wiring, and less often a timing problem behind it.
- The usual suspects
- Sensor or wiring.
- What you'll notice
- Long cranking before the engine starts, rough running, less power, sometimes stalling.
Can you keep driving?
On this engine: you can drive gently, but get it checked this week.
Usually yes, for a short time. The engine can run without this signal but starts poorly and may stall, so fix it soon.
The part behind it: Crankshaft and camshaft sensors
- What it does
- Tell the computer engine speed and position.
- Why it fails
- Sensor or wiring faults.
- Other signs you'll notice
- Stalls, hard start, no start.
In the full guide for this engine
- How to check it yourself, step by step
- What fixes it, and who should fix it: you, a shop or a mechanic
- Where the part sits on a 3D engine you can turn
- The exact part to ask for
Know this about your engine
The one rule for this engine: check the dipstick every couple of weeks and change the oil on time. It's a long-lasting engine, but some burn oil as they age, and its variable valve timing and chain tensioner need clean oil at the right level.
Cars with this engine
- Toyota Avensis 2009–2018 · 2.0 versions.
- Toyota Corolla 2011–2019 · 2.0 versions (mainly Brazil-built, flex). The 1.8 is a different engine.
- Toyota RAV4 2009–2018 · 2.0 versions (Central America and some South American markets). The 2.4 and 2.5 are different engines.
- Toyota RAV4 2009–2018 · 2.0 versions. The 2.5 is a different engine.
Other codes on this engine
- P0300 Random misfire
- P0301 Misfire cyl. 1 (P0302–P0304 others)
- P0171 Running lean
- P0420 Catalyst efficiency low
- P0335 Crank sensor
- P0128 Coolant below thermostat temp
- P0011 Intake cam timing over-advanced
- P0016 Crank/cam timing mismatch
- P2646 Rocker-arm/lift system performance
- P1046 Valvematic (lift) system (FAE)