P0341 on a 2012 Hyundai Elantra

Camshaft Position Sensor Range / Performance

P0341 on a 2012 Hyundai Elantra means camshaft position sensor range / performance. P0341 alone cannot tell you whether it is safe to drive. Follow your owner's manual for the warning lights and symptoms you see, and arrange diagnosis. Use the symptoms and test results to narrow down the cause before replacing parts.

Severity: high Check warning lights Compact Sedan

Maintained by MECH AI Editorial · Technical content updated

What does P0341 mean on a 2012 Hyundai Elantra?

P0341 is set when the ECM does receive a camshaft position signal, but the signal does not behave the way it should — pulses are arriving at unexpected intervals, the cam-crank correlation is drifting, or the signal pattern is irregular. Unlike P0340 (no signal at all), P0341 means the sensor is communicating, but its output is unreliable. The result is rough running, hard starts, and sometimes stalling.

Hyundai scan tools often show this code with a two-digit suffix, as P0341-00. The suffix is a failure-type byte; -00 adds no extra detail, so P0341-00 is the same fault as P0341.

The symptoms, causes, and diagnostic steps below describe P0341 itself, so they read the same on nearby Hyundai Elantra model years. Powertrain and trim details vary year to year — confirm the specifics against your own vehicle before buying parts.

Is it safe to drive a 2012 Hyundai Elantra with P0341?

P0341 alone cannot tell you whether it is safe to drive. Follow your owner's manual for the warning lights and symptoms you see, and arrange diagnosis.

What are the symptoms of P0341 on a 2012 Hyundai Elantra?

What causes P0341 on a 2012 Hyundai Elantra?

Possible causes of P0341 depend on the equipment fitted. Confirm which parts and tests apply on a 2012 Hyundai Elantra before pricing a repair.

Cause Estimated repair (USD)
Failing camshaft position sensor (degraded signal) $100–$400
Damaged or chafed cam sensor wiring $80–$350
Cam tone ring / reluctor damaged or contaminated with debris $300–$1,500
Stretched timing chain causing cam-crank correlation drift $800–$3,000
Loose or improperly torqued cam sensor mounting $20–$100
Oil leak at the cam sensor port causing intermittent shorts $80–$350

These are editorial estimates in U.S. dollars. A shop can price a confirmed repair using the engine, parts and local labor rate.

How to diagnose this on a 2012 Hyundai Elantra

  1. Compare cam and crank position signals in live data

    Watch cam and crank position PIDs simultaneously while cranking and at idle. Healthy cam-crank correlation maintains a fixed offset. Drift in the offset under load suggests chain stretch; missing or noisy cam pulses point at the sensor or wiring.

    Tools: Scan tool with dual-PID graphing

  2. Scope the cam sensor signal directly

    With an oscilloscope on the cam signal wire, capture the waveform during cranking and at idle. A healthy Hall-effect sensor produces clean square pulses. A variable-reluctance sensor produces clean sine pulses. Noisy, missing, or irregular pulses confirm a sensor or wiring problem.

    Tools: Oscilloscope, Back-probe pins

  3. Inspect the cam reluctor for damage

    Remove the cam sensor and shine a light through the port to see the cam reluctor teeth. Damaged teeth, oil/sludge buildup, or a slipped reluctor wheel will produce P0341. Some engines have hand-pressed reluctors that have been known to slip on the camshaft.

    Tools: Inspection mirror, Bright flashlight

  4. Check for oil leaking into the cam sensor port

    The cam sensor o-ring or gasket can fail and let oil into the sensor body. Oil intrusion shorts the internal electronics intermittently — the sensor reads correctly cold, fails when warm. Replace the sensor with a new o-ring.

    Tools: O-ring kit, Clean rags

  5. Inspect wiring for chafing

    Cam sensor harnesses route near the engine top, exposed to heat and vibration. A chafe point against a metal bracket can create an intermittent short. Visually inspect every inch of the harness, especially where it bends around brackets or near the valve cover.

    Tools: Flashlight, Inspection mirror

NHTSA complaints & recalls for the 2012 Hyundai Elantra

Owner-reported safety complaints and official recalls filed with the U.S. National Highway Traffic Safety Administration for the 2012 Hyundai Elantra. Use these to gauge how common a problem is on your specific vehicle before you start chasing Hyundai Elantra diagnostics.

NHTSA snapshot taken October 21, 2026; refreshed quarterly. For live figures see NHTSA.gov .

654 owner complaints
47 involved a crash
12 involved a fire
44 reported injuries
  • ENGINE 139
  • ELECTRICAL SYSTEM 126
  • AIR BAGS 124
  • STEERING 88
  • UNKNOWN OR OTHER 66

4 active recalls

  • SERVICE BRAKES, HYDRAULIC:ANTILOCK/TRACTION CONTROL/ELECTRONIC LIMITED SLIP:CONTROL UNIT/MODULE Sep 2023

    Hyundai Motor America (Hyundai) is recalling certain 2011-2015 Elantra, Genesis Coupe, Sonata Hybrid, 2012-2015 Accent, Azera, Veloster, 2013-2015 Elantra Coupe, Santa Fe, 2014-2015 Equus, 2010-2012 Veracruz, 2010-2013 Tucson, 2015 Tucson Fuel Cell, and 2013 Santa Fe Sport vehicl…

    NHTSA campaign 23V651000
  • EQUIPMENT:ELECTRICAL Jul 2020

    Hyundai Motor America (Hyundai) is recalling certain 2011-2012 Hyundai Elantra and Sonata Hybrid, 2012 Accent and Veloster vehicles. The 12V accessory socket outlet may have been over-tightened during installation, possibly disabling the thermal fuse and allowing the outlet to ov…

    NHTSA campaign 20V393000
  • ELECTRONIC STABILITY CONTROL (ESC) Dec 2015

    Hyundai Motor America (Hyundai) is recalling certain model year 2011-2012 Elantra vehicles manufactured October 29, 2010, to October 25, 2011. Due to an electronic stability control (ESC) sensor malfunction, the brakes for one or more wheels may be applied unexpectedly and the en…

    NHTSA campaign 15V871000
  • AIR BAGS:SIDE/WINDOW Apr 2013

    Hyundai Motor Company is recalling certain model year 2011-2013 Elantra vehicles manufactured from November 12, 2010, through March 5, 2013. A support bracket attached to the headliner may become displaced during a side curtain airbag deployment.…

    NHTSA campaign 13V115000

How do I fix P0341 on a 2012 Hyundai Elantra?

Engines in the 2012 Hyundai Elantra

The 2012 Hyundai Elantra was offered with the 1.8L 4-cylinder and 2.0L 4-cylinder engines. Which one you have changes where P0341 is most likely to originate, so confirm your engine before ordering parts.

Engine data: EPA fueleconomy.gov.

P0340 vs P0341

The two cam sensor codes describe different failure modes of the same sensor:

P0341 is harder to diagnose because the sensor often passes basic resistance tests. A scope is the right tool — multimeter tests don’t reveal pulse-pattern problems.

When P0341 is actually a timing chain problem

On engines with documented chain wear (BMW N20/N26, Ford 5.4 3V, GM 3.6 LFX/LLT, VW EA888), P0341 can be the first symptom of chain stretch. The cam moves slightly out of phase with the crank as the chain wears — the cam sensor reports its position correctly but it doesn’t agree with where the ECM thinks it should be. Replace the sensor first as the cheap test; if P0341 returns and chain rattle is audible, the chain is the cause.

Oil-soaked cam sensors

If you remove a cam sensor and oil pours out of the port, the sensor body is oil-saturated and the internal electronics are compromised. Replace both the sensor and the o-ring / seal that let oil in. Just cleaning and reinstalling sets P0341 again within weeks.

P0341 on a 2012 Hyundai Elantra: frequently asked questions

What does diagnostic trouble code P0341 mean on a 2012 Hyundai Elantra?

P0341 is set when the ECM does receive a camshaft position signal, but the signal does not behave the way it should — pulses are arriving at unexpected intervals, the cam-crank correlation is drifting, or the signal pattern is irregular. Unlike P0340 (no signal at all), P0341 means the sensor is communicating, but its output is unreliable. The result is rough running, hard starts, and sometimes stalling.

What are the symptoms of P0341 on a 2012 Hyundai Elantra?

Check Engine Light is illuminated. Hard cold start with extended crank time. Intermittent rough running or misfires. Stalling at idle or coming to a stop. Reduced power, especially at higher RPM. Hesitation under acceleration. Possible heat-soak failure pattern

What causes P0341 on a 2012 Hyundai Elantra?

Failing camshaft position sensor (degraded signal) (estimated U.S. repair cost $100–$400). Damaged or chafed cam sensor wiring (estimated U.S. repair cost $80–$350). Cam tone ring / reluctor damaged or contaminated with debris (estimated U.S. repair cost $300–$1,500). Stretched timing chain causing cam-crank correlation drift. Loose or improperly torqued cam sensor mounting. Oil leak at the cam sensor port causing intermittent shorts

Is it safe to drive a 2012 Hyundai Elantra with P0341?

P0341 alone cannot tell you whether it is safe to drive. Follow your owner's manual for the warning lights and symptoms you see, and arrange diagnosis.

Related diagnostic codes

P0341 on other Hyundai Elantra model years