DOBD DashX ☰ Browse all codes Blog For business
P0340

Camshaft Position Sensor A Circuit Bank 1 or Single Sensor

Ignition / cam-crank timing Generic OBD-II High

What it means

P0340 means the engine control module lost or couldn't make sense of the signal from the camshaft position sensor. That sensor tells the ECM where the camshaft is so it can time fuel injection and spark; without a reliable signal the engine can be hard to start, stall, or refuse to start at all.

High

Can I keep driving? Risky — a lost camshaft signal can cause hard starting, stalling, or a no-start, so drive as little as possible and be ready for it to quit.

What this part does

The camshaft position sensor tracks the rotation of the camshaft, usually near the top of the engine. The engine computer compares its signal with the crankshaft sensor to know which cylinder is on which stroke, so it can time fuel injection and ignition correctly. A failing sensor can cause hard starting, rough running or a stalling engine.

Real-world scan data

Seen in
8,070
scans in the past year
Found in
1.3%
of scans

Appears alongside · share of P0340 scans

P0335in 17.7% of scans
P0016in 14.3% of scans
P0201in 9.8% of scans

Codes often seen with P0340. Of the 8,070 scans on our apps that reported P0340 in the past year, 17.7% also showed P0335 (Crankshaft Position Sensor A Circuit), 14.3% showed P0016 (Crankshaft Position - Camshaft Position Correlation Bank 1 Sensor A) and 9.8% showed P0201 (Cylinder 1 Injector A Circuit). If your scan shows any of these too, read their pages as well, because one fault can trigger another.

Read & clear P0340 yourself

Scan your car, confirm the code, and clear it once it's fixed — with OBD DashX on your phone.

▶ Get it on Google Play
Point your phone camera here

Need a scanner that reads ABS, airbag and more? GaragePro OBD scan tools ship worldwide. Claim deal →

Common symptoms

What you'll notice

Common causes

Most likely first

  1. Failed camshaft position sensor (the most common cause)
  2. Damaged wiring or a poor/corroded connector at the sensor
  3. Metal debris or oil contamination on the sensor tip
  4. Damaged reluctor/tone ring or timing chain issue affecting the signal
  5. Failed engine control module (rare)

Repair

Likely repair

How to diagnose & fix

Work through it in order

  1. Read freeze-frame data and check the camshaft sensor connector for oil, corrosion, or looseness.
  2. Inspect the sensor wiring for chafing or breaks back to the ECM.
  3. Test the sensor signal (and its power/ground) with the engine cranking; replace the sensor if it drops out.
  4. If the signal is erratic, inspect the reluctor ring and verify timing components.
  5. Clear the code and confirm the car starts and runs without the fault returning.

P0340 by make

From public NHTSA complaint, recall and service-bulletin records. Not our scan data, and not a statement about the quality of any manufacturer.

Chevrolet

NHTSA has 7 owner complaints for Chevrolet vehicles that mention P0340, from model years 2002–2021; 3 of them are for the 2002–2021 Silverado 1500. 4 of the 7 complaints mention the engine stalling. NHTSA has 22 Chevrolet service bulletins or notices on file that mention P0340; one of them, PIP5335D (2014–2020 Silverado, Silverado 1500 and other models), covers a check engine light with P0340 and P0341 setting at times.

Sources: NHTSA complaints (7) · Chevrolet bulletin PIP5335D · NHTSA manufacturer communications (22)

Dodge

NHTSA has 6 owner complaints for Dodge vehicles that mention P0340, from model years 1999–2017; 2 of them are for the 1999–2004 Intrepid. NHTSA has 20 Dodge service bulletins or notices on file that mention P0340; one of them, 05048043A$ (2011–2015 Durango), covers replacing all three valve timing parts when the exhaust phaser is replaced for P0340 or P0345.

Sources: NHTSA complaints (6) · Dodge bulletin 05048043A$ · NHTSA manufacturer communications (20)

Ford

NHTSA has 10 owner complaints for Ford vehicles that mention P0340, from model years 2000–2020; 3 of them are for the 2018–2020 Ecosport. 6 of the 10 complaints mention the camshaft position sensor. NHTSA has 31 Ford service bulletins or notices on file that mention P0340; one of them, 20B14-S2 (2020 Escape), covers P0340 and P1A0C with limited power and a Stop Safely Now message, due to crank and cam signal quality at start-up.

Sources: NHTSA complaints (10) · Ford bulletin 20B14-S2 · NHTSA manufacturer communications (31)

GMC

NHTSA has 3 owner complaints for GMC vehicles that mention P0340, from model years 2019–2023; 2 of them are for the 2019–2023 Sierra 1500. NHTSA has 18 GMC service bulletins or notices on file that mention P0340; one of them, PIP5335D (2014–2020 Sierra Denali, Yukon Denali and Yukon XL), covers a check engine light with P0340 and P0341 setting at times.

Sources: NHTSA complaints (3) · GMC bulletin PIP5335D · NHTSA manufacturer communications (18)

Jeep

NHTSA has 5 owner complaints for Jeep vehicles that mention P0340, from model years 2005–2019; 2 of them are for the 2005–2015 Wrangler. 3 of the 5 complaints mention the camshaft position sensor. NHTSA has 16 Jeep service bulletins or notices on file that mention P0340; one of them, 18-054-20 (2018 Renegade), covers a PCM update for codes that include P0340.

Sources: NHTSA complaints (5) · Jeep bulletin 18-054-20 · NHTSA manufacturer communications (16)

Nissan

NHTSA has 24 owner complaints for Nissan vehicles that mention P0340, from model years 2003–2016; 6 of them are for the 2003–2007 Murano. 13 of the 24 complaints mention the camshaft position sensor. NHTSA has 3 Nissan service bulletins or notices on file that mention P0340; one of them, 04063 (2003–2005 Altima, Maxima and Quest), covers P0340 or P0345 and hard starting when warm.

Sources: NHTSA complaints (24) · Nissan bulletin 04063 (NHTSA vehicle page) · NHTSA manufacturer communications (3)

FAQ

Quick answers

Is it safe to drive with P0340?+
Not really. The engine may stall or fail to restart without warning, so treat it as urgent rather than driving on it.
Can I just clear P0340?+
Clearing it won't help — the fault returns as soon as the sensor signal drops again, and the car may leave you stranded until it's repaired.

Related codes

Read more about this code

✓ Verified name — SAE J2012 / ISO 15031-6Guidance reviewed by OBD DashX

About this page

Scan figures come only from diagnostic scans recorded through our own apps and tools. Cars are usually scanned because a symptom or warning light prompted it, so these figures describe our scan records, not how often a fault occurs in any make or model.

Notes about specific manufacturers summarise public records (NHTSA owner complaints, recalls and manufacturer service bulletins), cited under each note. They report what those records say, not our measurements, and they do not suggest that any manufacturer or vehicle is better or worse than another.

Repair time and cost estimates come from a public repair dataset and are typical ranges, not quotes.

OBD DashX is not affiliated with, sponsored by or endorsed by any vehicle manufacturer. Manufacturer and model names and trademarks belong to their owners and are used only to identify vehicles.

This page is general information, not professional advice. Have safety-critical faults (brakes, steering, airbags, high-voltage systems) checked by a qualified technician. To the extent the law allows, we accept no liability for repairs or decisions made from this page.

Businesses: this content is available through our API. For business →