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 belt timing.
- 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
- Wiring or sensor faults.
- Other signs you'll notice
- Cranks but won't start, stalls.
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: on 2005–2007 trucks, ask whether the injector seat washers were changed to the newer type. The old copper washers can leak combustion gas into the oil, turn it to sludge and block the oil pickup, which starves the engine of oil. Change oil and fuel filters on time and use clean diesel.
Cars with this engine
- Toyota 4Runner 2005–2009 · 3.0 D-4D diesel, some markets (Hilux Surf).
- Toyota Fortuner 2005–2015 · 3.0 D-4D diesel (SW4 in some markets).
- Toyota Hiace 2005–2018 · 3.0 D-4D diesel (KDH).
- Toyota Hilux 2005–2015 · 3.0 D-4D (KUN26). 2016+ uses the 2.8 1GD.
- Toyota Land Cruiser Prado 2003–2015 · 3.0 D-4D (KDJ120/KDJ150).
Other codes on this engine
- P0087 Rail pressure too low
- P0088 Rail pressure too high
- P0093 Large fuel leak detected
- P1229 Fuel pump system (Toyota)
- P0201 Injector circuit cyl. 1 (P0202–P0204 others)
- P0300 Random misfire
- P0299 Turbo underboost
- P0234 Turbo overboost
- P0401 EGR flow too low
- P0400 EGR system fault
- P0101 Air flow sensor range
- P0380 Glow plug circuit
- P0335 Crank sensor
- P0115 Coolant temp sensor
- P0500 Vehicle speed sensor