P0340

P0340 on a 2003–2008 Infiniti G35: Camshaft position sensor A circuit malfunction (bank 1)

Print shop one-pager Take this page to the shop — causes, fair prices, and sharp questions on one sheet.
For your specific vehicle: P0340 on a 2010–2017 Chevrolet Equinox · 2001–2010 Chrysler PT Cruiser · 2016–2016 Dodge Journey · 2004–2008 Ford F-150 · 2017–2020 Ford F-150 · 2003–2008 Infiniti G35
Show all 11 vehicles with this code

2012–2014 Mercedes-Benz C-Class · 2016–2019 Mercedes-Benz GLC · 2003–2008 Nissan 350Z · 2013–2018 Nissan Altima · 2004–2014 Nissan Maxima

DIY difficulty 2/5

Can I drive with P0340?

Can I drive with a P0340 code?

Short trips and gentle driving only, until you know the cause. Long cranking or no-start is likely; if the engine runs, drive gently to a shop. If the check-engine light starts flashing, the engine shakes badly, or the car loses significant power, pull over safely and have it towed.

How serious is P0340?

Moderate. WrenchFair rates this one “Diagnose soon” — the car can usually get you home, but driving on it can turn a cheap fix into an expensive one. Long cranking or no-start is likely; if the engine runs, drive gently to a shop.

Will P0340 go away on its own?

The warning light can turn off by itself after clean drive cycles, but the code stays stored in the computer's memory and the fault is still there. Clearing it without fixing the cause just buys time — it will come back when the computer re-runs the self-test. Exception: a loose gas cap — tighten it and drive a few days.

More detail: can I drive with P0340? →

The sensor that tells the computer where the camshaft is has no signal. Expect long cranking or no-start - but it's usually just the sensor.

Model notes: If P0340 appears with P0016 (crank/cam correlation), suspect timing components, not the sensor.

Key facts

☑ Before you buy parts — check these first:
On your 2003–2008 Infiniti G35 (3.5L VQ35DE V6, 3.5L VQ35HR V6) — Cam/crank position sensors: P0340/P0345/P0335, stalling, and long cranks: Owner-verified
Bank 1 cam sensor: passenger side, rear of the cylinder head. Bank 2 cam sensor: driver's side, under the throttle body area. Crank sensor: rear of the engine near the transmission bellhousing.
Do this test first: Check sensor supply voltage and ground
→ Passes: that cause is ruled out — run the next test in the diagnostic path below.
→ Fails: fix what failed — that’s your cause. Clear the code and re-test before buying anything else.
No owner fix reports yet for P0340 on the 2003–2008 Infiniti G35 — but the community-sourced Cam/crank position sensors: P0340/P0345/P0335, stalling, and long cranks note above covers an owner-reported fix.
Fixed yours? Report it — you'll help the next owner.

Torque specs

Tips

Sources: G35Driver '2008 G35 Sedan Stalls While Driving' - VQ35HR owner replaced both cam sensors plus crank sensor; aftermarket crank sensor failed again in a week; OEM recommended · JustAnswer 'Troubleshooting P0345 Code on Infiniti G35' - 2003 G35 with P0345 stalling; technician confirms bank 2 is the driver's side and recommends OEM sensors and wiring checks

Typical difficulty: Moderate — based on 841 code guides for the sensors repair area (an area-level estimate, not this exact job).

How notes are verified: Robbie-tested — Robbie did this repair on his own car and confirmed the fix himself. Owner-verified — community repair procedure with 2+ cited sources. Factory-documented — drawn from a factory TSB, recall, or campaign document; a factory procedure, not an owner-tested fix. Community-reported — single-source or otherwise unverified; treat as a lead, not a verdict.

No owner reports yet

Symptoms

Likely causes

What usually pays the bill on this car, most common first — but work the diagnostic path above cheapest-first. Test order and bill order aren’t the same thing.

Owner notes linked to P0340: 12 across 3 repairs — these are counts of owner-written notes, not odds of fixing your car.

Too many suspects? Answer 4–6 quick questions and this page's published cause list re-orders itself for your situation — plus the cheapest test to run next. Start the elimination wizard →

Before you buy the part — 2 checks

Work these checks before spending money — each one rules a cause in or out, cheapest first.

  1. Check sensor supply voltage and ground
  2. Scope the signal if equipped; compare to crank signal

No scan tool yet? The Veepeak OBDCheck (~$32) reads and clears codes from your phone in about two minutes.

Most likely job on your 2003–2008 Infiniti G35: Cam/crank position sensors: P0340/P0345/P0335, stalling, and long cranks — test first, then buy for this job.
The price range below is a national planning range for P0340 on this vehicle — not a quote: it spans the common job at the low end to the expensive fork at the high end. 0 owner invoices on this generation — treat these as planning numbers.
If a shop quote lands near the top of the range, that’s fork money, not the common job — ask which test failed before authorizing it.

Typical price range

Parts$30 – $120
Labor$80 – $200

Sensor swap is typical; timing diagnosis costs more. National-average estimate for the most common repair for this code. Actual quotes vary by vehicle, region, and shop - get a local written estimate.

Dealer vs independent shop: these ranges reflect typical independent-shop prices. A dealer will usually quote higher — higher labor rates plus OEM-only parts — so a dealer quote at the top of (or a bit above) this range isn't automatically a rip-off. For a big dealer number, get a second quote from an independent shop before authorizing the work.

Got a shop quote? Grade it →

What will this cost to fix? A code doesn’t name the repair — run the code-first estimator to see the most likely fixes for P0340 ranked, each with a price range.
They handed you a printout at the parts store? Decode it before you buy.

DIY difficulty

2 of 5 — Sensor swap is easy; timing diagnosis is not.

Watch this repair on YouTube

Parts & tools

Sensor replacement toolkit — what the job actually takes

Torque specs: Sensor mounting bolts: typically 8–12 Nm — verify spec. Never overtighten sensors with plastic bodies.

Pro tip: Check wiring and connectors first — chafed wires and corroded pins cause more sensor codes than dead sensors do.

As an Amazon Associate, WrenchFair earns from qualifying purchases.

Related codes

Check another code
Got a quote?Grade it →Shop one-pagerPrint it →Another code?Look it up →
Who's behind this guide? WrenchFair is built by a fellow DIYer, not a repair shop. Code meanings follow the SAE J2012 standard; cause rankings come from real-world repair evidence (service bulletins, owner reports, NHTSA records); prices are typical US ranges, not quotes. Read the full methodology →