Au7o mascotAu7o
Known IssuesGet Started
  1. Au7o
  2. /
  3. Known Issues
  4. /
  5. DTC Codes
  6. /
  7. P0345
  8. /
  9. Hyundai
Hyundai · Engine · Critical code

P0345 on Hyundai: How to Diagnose & Fix

Camshaft Position Sensor Circuit Malfunction (Bank 2)

1 Hyundai model · 1 documented issue · $150-$400 repair

Share:@au7o.io

P0345 by Hyundai model

  • 2011-2017Elantra1
  • FAQ

P0345 on other makes

  • Ford
  • Gmc
  • Honda
  • Infiniti
  • Nissan
Diagnose my car
Back to top

P0345 by Hyundai model

  • 2011-2017Elantra1
  • FAQ

P0345 on Hyundai by model: symptoms, diagnosis and fix

Community reported
456 owners
Link to this issueError Codes:P0335P0340P0345

The crankshaft position sensor fails, causing intermittent stalling, hard starting, and no-start conditions. The problem often worsens when the engine is hot and may not trigger check engine codes initially. Sensor harness corrosion is a common contributing factor.

Common Symptoms

  • Engine stalls randomly, especially at stop lights
  • Hard starting or extended cranking time
  • No-start condition for 5-10 minutes after stall
  • Tachometer intermittently stops working
  • Engine cuts out when hot

How to Fix

Replace crankshaft position sensor (use OEM part). Inspect and clean sensor connector for corrosion. Check wiring harness for breaks or shorts near engine block. Clear codes and test drive to verify repair.

What you need to fix it

Only diagnosis- and fitment-reviewed repair parts are linked here.

  • Walker Products 235-1456 crankshaft position sensor
    OEMWalker Products 235-1456

    aftermarket crankshaft-position sensor after signal/circuit diagnosis confirms replacement Fitment/availability: Walker catalog: 2011-2016 Elantra 1.8L and 2014-2017 Elantra 2.0L. Exclude the 2017 1.4L turbo and confirm engine/VIN/connec…

    eBay
  • Walker Products 235-1456 crankshaft position sensor
    OEMWalker Products 235-1456

    Exclude the 2017 1.4L turbo and confirm engine/VIN/connector.

    Amazon
  • Genuine Hyundai/Kia 39180-2B000 crankshaft position sensor
    OEMHyundai/Kia 39180-2B000

    OE sensor path after diagnosis confirms the crank-sensor branch Fitment/availability: Cataloged Hyundai/Kia GDI/MPI applications including the relevant Elantra years; use VIN confirmation because 2011-2017 contains multiple engines and t…

    AutoPartsPrime

As an Amazon Associate, we earn from qualifying purchases; other part links may also earn au7o a commission. Confirm fitment by VIN before buying.

Owner tips & cautions

  • TipConsider OEM parts for critical components like sensors and electrical parts - aftermarket can be unreliable
  • TipGet a proper diagnosis before replacing parts - similar symptoms can have different causes
Typical repair cost:$150 - $400

Research This Issue

Based on 456 owner reports

GoogleRedditYouTubeNHTSA
Community Reported
High Confidence456 owner reportsLast reported by owners Feb 2024Reviewed Feb 2026
All Hyundai Elantra known issues →

P0345 code reference

General diagnostic-code context. The code alone does not confirm a cause for your vehicle; use the applicable issue card and its sources.

Frequently asked questions

What does P0345 mean on a Hyundai?

P0345 stands for "Camshaft Position Sensor Circuit Malfunction (Bank 2)." P0345 means the engine computer detected a malfunction in the camshaft position sensor circuit on bank 2 (the cylinder bank not containing cylinder number one). The camshaft position sensor tells the computer where the camshaft is in its rotation, which it uses for precise fuel injection and ignition timing and to manage cylinder identification. When the signal is missing, erratic, or out of range, the computer can't reliably track cam position, which may cause hard starting, rough running, stalling, or a no-start. The fault is usually in the sensor, its wiring, or the connector rather than the camshaft itself. On Hyundai it is documented across 1 model: Elantra.

What are the most common causes of P0345?

The most common causes of P0345 are: Failed camshaft position sensor (bank 2), Damaged wiring, connector, or corrosion in the sensor circuit, Metal debris or oil contaminating the sensor tip, Faulty reluctor/tone wheel on the camshaft, Open or short in the sensor signal or power circuit, Loose timing chain/belt or VVT issue affecting cam timing, Poor ground or low reference voltage to the sensor. The specific cause varies by vehicle.

How much does it cost to fix P0345 on a Hyundai?

Published repair estimates on Hyundai range from $150 to $400 depending on the model and root cause. If an issue mentions a recall or campaign, check your VIN with the manufacturer or NHTSA and confirm eligibility and coverage with a dealer.

Related codes

  • P0340 · Camshaft Position Sensor Circuit Malfunction
  • P0341 · Camshaft Position Sensor Circuit Range/Performance (Bank 1)
  • P0344 · Camshaft Position Sensor 'A' Circuit Intermittent (Bank 1 or Single Sensor)
  • P0346 · Camshaft Position Sensor A Circuit Range/Performance (Bank 2)
  • 00522 · Engine Coolant Temperature Sensor (G62): Open Circuit / Short to Positive (B+)
  • 16500 · Engine Coolant Temp. Sensor (G62): Implausible Signal
  • 16502 · Engine Coolant Temperature Sensor (G62): Signal too High
  • 16566 · Mass Air Flow Sensor Signal Too Low (VAG)

Looking for P0345 on a different make?

View P0345 across all makes →
🔧
A mechanic who knows YOUR exact car
Answers tuned to your year, make, model & trim — not generic advice. Save your garage so it always has the right context.
Get notified about P0345 fixes on Hyundai
We add new causes, fixes and affected Hyundai models for P0345 regularly — drop your email and we'll keep you posted. You can also diagnose your own car free.

Content compiled with AI assistance using NHTSA complaints, TSBs, and owner reports. May contain errors. Always verify with your vehicle's service manual.

Known IssuesMotorcycle IssuesDTC LookupDrivePricingAboutTermsPrivacyCookiesConsentData rightsCopyrightFeedback
Share:@au7o.io

Vehicle data and repair guidance on this site are compiled with AI assistance and may contain errors. Always verify with your service manual or a qualified mechanic.

Data protection representation

DataRep representative in the United KingdomDataRep representative in the European Union
Au7o · 2026
Built for DIY mechanics. Privacy-first.
Explore free Hub demo