Know My EngineEspañol
Home / Hyundai/Kia 2.0L Beta II G4GC (Elantra 2001–2010, Tucson, Spectra, Sportage, Soul 2010–11) / P0340

P0340 on the Hyundai/Kia 2.0L Beta II G4GC (Elantra 2001–2010, Tucson, Spectra, Sportage, Soul 2010–11): what it means

Cam sensor. Hyundai Elantra, Hyundai Tiburon, Hyundai Tucson.

Get it checked this week

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
Crankshaft and camshaft sensors fail with age and heat.
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
Open the full guidePlans from $39 a year.

Know this about your engine

The one rule for this engine: replace the timing belt on time: every 60,000 miles or 4 years, with the tensioner, idler and water pump. If the belt breaks, the valves hit the pistons. If you just bought the car and there is no proof the belt was changed, change it now.

Cars with this engine

  • Hyundai Elantra 2001–2010 · 2.0 Beta versions. The 2011+ Elantra uses the 1.8 Nu.
  • Hyundai Tiburon 2003–2008 · 2.0 four-cylinder versions. The 2.7 V6 is a different engine.
  • Hyundai Tucson 2005–2009 · 2.0 four-cylinder versions. The 2.7 V6 is a different engine.
  • Hyundai i30 2007–2012 · 2.0 gasoline versions (1st generation, FD).
  • Kia Soul 2010–2011 · 2.0 versions (the 1.6 is a different engine). From 2012 the Soul 2.0 uses the Nu engine.
  • Kia Spectra 2004–2009 · 2.0 versions.
  • Kia Sportage 2005–2010 · 2.0 four-cylinder versions. The 2.7 V6 is a different engine.

Other codes on this engine

Dashboard lights on this engine