P0341 Hyundai: Diagnose Camshaft Sensor and Timing Problems
19 min read · by Nicole Bennett · Last updated: November 25, 2026
P0341 Hyundai indicates a Camshaft Position Sensor A Circuit Range/Performance problem, meaning the engine computer has detected an incorrect or implausible camshaft position signal. The fault can involve the camshaft position sensor, its electrical circuit, the timing target, or mechanical engine timing. Replacing the sensor without testing these possibilities can leave the check engine light on.
Hyundai service information describes P0341 on several engines as a problem involving the expected number of camshaft position sensor pulses. The sensor works with the crankshaft position sensor to help the engine control module identify cylinder position and coordinate fuel injection and ignition timing. An incorrect signal can cause difficult starting, rough running, hesitation, or stalling.
The correct repair depends on the Hyundai’s model year, engine, and diagnostic results. A useful diagnosis begins with an OBD2 scan, freeze-frame information, electrical inspection, and a comparison of camshaft and crankshaft signals. Timing-chain and variable valve timing problems must also be considered when the sensor circuit passes its tests.
What P0341 Means on a Hyundai
P0341 is a generic powertrain diagnostic trouble code. Its SAE definition is Camshaft Position Sensor A Circuit Range/Performance (Bank 1 or Single Sensor). It indicates that the engine computer has detected a camshaft signal that does not meet its expected operating pattern. The code does not automatically identify a defective sensor.
The code has several important parts. The first character, P, identifies a powertrain fault. The second character, 0, identifies a standardized generic code rather than a manufacturer-specific definition. The remaining digits identify the particular monitored system and malfunction. This makes P0341 different from a manufacturer-specific P1xxx code.
On Hyundai gasoline engines, the camshaft position sensor, commonly abbreviated CMPS or CMP, monitors a rotating target associated with the camshaft. The crankshaft position sensor, or CKPS, supplies another position reference. The engine computer compares these signals to establish engine position and coordinate combustion events.
Hyundai service information for the 2012 Accent 1.6L describes a Hall-effect camshaft sensor. When a target-wheel tooth passes the sensor, its documented output changes to approximately 5 volts; between triggering events, the output is approximately 0 volts. These figures describe that particular application, not a universal specification for every Hyundai engine.
Hyundai’s 2011 Tucson 2.4L service information explains that P0341 can set when the powertrain control module receives an incorrect number of pulses from the intake camshaft position sensor. The 2006 Sonata 2.4L service description also identifies an incorrect camshaft pulse count as a triggering condition. These examples show why the engine-specific diagnostic procedure matters.
| Code or detail | Meaning |
|---|---|
| P0341 | Camshaft Position Sensor A Circuit Range/Performance |
| P0340 | Camshaft Position Sensor A Circuit |
| P0342 | Camshaft Position Sensor A Circuit Low Input |
| P0343 | Camshaft Position Sensor A Circuit High Input |
| 5 volts | Example Hyundai Accent 1.6L triggered Hall sensor output |
| 0 volts | Example Hyundai Accent 1.6L output between target triggers |
The main distinction is that P0341 concerns signal range or performance. A sensor may produce a signal, but the signal’s timing, pattern, or pulse count may be incorrect. A completely missing signal or an electrical voltage that remains too low or too high can produce a different diagnostic code.
For this reason, do not assume that every Hyundai with P0341 has the same failed component. Causes vary by model year and engine. Always confirm the applicable Hyundai service information before using a sensor location, connector pinout, resistance value, or timing specification. Seeing the code on another make? Start with P0341 Acura.

Common Causes of P0341 on Hyundai Vehicles
P0341 can result from an electrical problem, a damaged sensor or target, or incorrect mechanical timing. The most effective approach is to test these possibilities rather than immediately installing a replacement camshaft position sensor.
1. Faulty camshaft position sensor
The sensor itself can deteriorate internally. Repeated exposure to engine heat, vibration, contamination, and electrical stress can affect its ability to produce a consistent signal. A failing sensor may work during a cold start but produce an intermittent signal after the engine reaches operating temperature.
A sensor fault becomes more likely when the supply and ground circuits are correct but the output waveform is missing, distorted, or inconsistent. However, the sensor must be tested against the correct Hyundai specifications. A generic resistance test may not be suitable for a Hall-effect sensor.
2. Damaged wiring or a poor electrical connection
The wiring between the camshaft sensor and engine computer carries the signal needed for synchronization. Broken conductors, damaged insulation, loose terminals, corrosion, and oil or moisture inside the connector can interrupt that signal.
An intermittent connection can make P0341 difficult to reproduce. The engine may run normally for several trips before the warning returns. Heat-related wiring damage can also cause a fault after the engine compartment becomes hot. Inspect the harness for rubbing, stretching, previous repairs, and contact with hot engine components.
3. Damaged camshaft target or reluctor wheel
The camshaft sensor needs a correctly positioned target to generate an accurate signal. Depending on engine design, this target may be incorporated into a reluctor wheel, trigger wheel, or another camshaft-mounted component.
A damaged, displaced, contaminated, or incorrectly installed target can produce an irregular pulse pattern even when the sensor is electrically functional. A problem with the target’s physical position or condition may require mechanical inspection rather than sensor replacement.
4. Timing-chain or timing-belt problems
The engine computer expects a particular relationship between crankshaft and camshaft positions. A stretched timing chain, worn tensioner, damaged guide, or incorrect timing-belt installation can change that relationship.
If mechanical timing is incorrect, the sensor may report its position accurately while the engine computer still detects an implausible relationship between the two signals. This is an important reason to examine camshaft and crankshaft synchronization before replacing electrical components.
5. Variable valve timing or CVVT problems
Many Hyundai gasoline engines use continuously variable valve timing, commonly called CVVT. This system adjusts camshaft timing according to engine operating conditions. Depending on the specific engine, it can include oil-control valves, camshaft phasers, oil passages, and related control components.
Low or incorrect engine oil, restricted oil passages, a sticking oil-control valve, or a malfunctioning camshaft phaser can prevent the camshaft from reaching its expected position. These problems may create camshaft timing-related faults alongside P0341.
6. Engine computer or power supply problems
An engine control module fault is possible, but it should be considered only after the sensor, wiring, grounds, supply voltage, and mechanical timing have been checked. Poor battery voltage or an unstable charging system can also complicate electronic diagnosis.
A healthy battery at rest is generally around 12.6 volts. With the engine running, a typical charging-system reading is approximately 13.5 to 14.7 volts. These are general reference values, and charging behavior can vary with vehicle design and operating conditions.
The following table summarizes the main possibilities and the evidence that can help distinguish them.
| Possible cause | Typical evidence | Diagnostic direction |
|---|---|---|
| Camshaft sensor failure | Missing or irregular output signal | Check supply, ground, and waveform |
| Damaged wiring | Intermittent signal or abnormal circuit reading | Inspect connectors and test continuity |
| Target wheel damage | Distorted or inconsistent pulse pattern | Inspect the target and sensor installation |
| Timing-chain problem | Camshaft and crankshaft correlation error | Check mechanical timing and related faults |
| CVVT malfunction | Actual camshaft position differs from commanded position | Check oil condition, control valve, and phaser |
| ECM or power supply problem | Abnormal power, ground, or control behavior | Verify electrical supplies before condemning the ECM |
Symptoms and Driving Risks
A Hyundai with P0341 may have no obvious drivability symptoms, or it may experience substantial engine performance problems. The severity depends on whether the signal fault is intermittent, whether synchronization is being lost, and whether a mechanical timing problem is present.
The camshaft position signal helps the engine computer coordinate fuel injection and ignition. When that information becomes unreliable, the computer may have difficulty determining the correct cylinder firing sequence or controlling engine operation.
Common warning signs
- Check engine light: The malfunction indicator lamp illuminates when the engine computer confirms a qualifying fault.
- Hard starting: The engine may crank longer than normal because synchronization information is unreliable.
- Intermittent no-start: A severe loss of camshaft position information can prevent normal engine starting.
- Rough idle: Incorrect synchronization can affect combustion stability and engine smoothness.
- Hesitation: The engine may respond slowly when accelerating or changing speed.
- Stalling: An intermittent or severe signal failure can cause the engine to stop unexpectedly.
- Reduced power: The engine computer may limit performance when it cannot reliably control engine timing.
- Increased fuel consumption: Poor combustion control can reduce operating efficiency.
These symptoms are not exclusive to P0341. A faulty crankshaft sensor, ignition problem, fuel delivery issue, or mechanical engine fault can produce similar behavior. Other stored codes and live data help determine whether the camshaft signal is the main problem or part of a larger failure.
Is it safe to drive with P0341?
A Hyundai with a steady check engine light and normal engine operation may be moved a short distance to a repair facility if there are no other warning signs. However, continued driving without diagnosis is not recommended. A vehicle that stalls unexpectedly can create a traffic hazard, and a mechanical timing problem can cause additional engine damage.
Stop driving and arrange professional assistance if the engine repeatedly stalls, struggles to start, makes unusual timing-chain noises, loses substantial power, or runs severely rough. These symptoms can indicate a more serious condition than a simple sensor malfunction.
Tip: If the check engine light flashes, reduce engine load and stop driving as soon as it is safe. A flashing light can indicate an active misfire capable of damaging the catalytic converter. Do not continue driving a vehicle that is shaking, stalling, or making abnormal mechanical noises. Arrange towing when necessary. Owners of other makes can check the matching guide: P0341 Ford.

How to Diagnose P0341 With an OBD2 Scanner
An OBD2 scanner provides the starting point for diagnosing P0341. A basic code reader can retrieve the fault, but a more capable diagnostic tool can display freeze-frame information, live engine data, manufacturer-specific parameters, and sometimes camshaft or crankshaft signal information.
US-market cars and light trucks from model year 1996 onward generally support standardized OBD-II diagnostics. The 16-pin J1962 diagnostic connector is usually located beneath the driver’s dashboard near the steering column. The scanner communicates with the vehicle through this connector.
Step 1: Read all stored and pending codes
Connect the scanner and retrieve all available powertrain codes before clearing anything. Record P0341 along with any related codes, including camshaft circuit, crankshaft sensor, misfire, or variable valve timing faults.
Check whether P0341 is pending, stored, or permanent. A pending code means the computer has detected a fault but has not yet confirmed it under the required monitoring conditions. A stored or confirmed code indicates that the fault met the conditions for confirmation. A permanent code remains in memory until the system verifies that the underlying problem has been corrected.
Do not erase the codes immediately. Their associated information may be important for reproducing an intermittent fault and identifying the conditions under which the malfunction occurred.
Step 2: Examine freeze-frame data
Freeze-frame data records engine operating conditions when a fault is detected. Depending on the vehicle and scanner, useful information can include engine RPM, coolant temperature, vehicle speed, calculated load, throttle position, and fuel-system status.
Look for patterns. If the fault occurs during a cold start, an intermittent sensor or wiring problem may deserve attention. If it occurs after the engine warms up, heat-related electrical failure becomes a possibility. A code that appears during acceleration may require closer examination of signal stability and engine timing under load.
Step 3: Check live camshaft and crankshaft data
If the scanner supports the necessary Hyundai data parameters, compare commanded and actual camshaft positions. Some tools display intake and exhaust camshaft angles, synchronization status, or variable valve timing information.
A large or inconsistent difference between commanded and actual camshaft positions can point toward a CVVT control problem, oil-flow issue, phaser malfunction, or mechanical timing fault. The acceptable range depends on the engine and operating conditions, so use the applicable Hyundai specifications instead of treating one generic angle as a universal limit.
Check engine RPM and crankshaft synchronization information as well. If the crankshaft signal is stable but camshaft synchronization is not, the diagnosis can focus more closely on the camshaft sensor circuit, target, or timing system.
Step 4: Review fuel trims and misfire information
Fuel trims do not directly prove that a camshaft sensor is defective. However, they can help identify additional engine operating problems. Compare short-term fuel trim and long-term fuel trim at idle and under suitable steady-speed conditions.
Combined fuel-trim corrections beyond roughly plus or minus 10 percent deserve investigation for a mixture problem. Corrections approaching 25 percent or more can contribute to lean or rich fault codes, depending on operating conditions. P0171 and P0174 identify lean conditions, while P0172 and P0175 identify rich conditions.
Also review cylinder misfire counters when the scanner supports them. A misfire may accompany a camshaft timing problem, but it can also result from ignition coils, spark plugs, injectors, compression loss, or other engine faults. Do not attribute every abnormal reading to P0341.
Step 5: Check Mode $06 when supported
Mode $06 provides onboard monitor test results. Depending on the Hyundai and scan tool, it may expose useful information about completed diagnostic tests and component monitoring. Not every vehicle reports camshaft-specific information in an easily interpreted format.
Use the scanner’s definitions and the manufacturer’s diagnostic documentation to interpret available results. A failed test can support a diagnosis, but it does not independently establish that a particular sensor needs replacement.
Step 6: Inspect the sensor circuit and waveform
After reviewing scan data, inspect the accessible camshaft sensor connector and harness. Look for loose connections, corrosion, damaged insulation, oil contamination, and wiring that has rubbed against nearby engine components.
A digital multimeter can help verify power supply, ground quality, and circuit continuity when used with the correct wiring diagram and test procedure. For a Hall-effect sensor, a voltage waveform is usually more informative than relying on a simple resistance reading.
An automotive oscilloscope can display the camshaft and crankshaft signals together. A technician can compare their waveform patterns with the correct Hyundai reference information and identify missing pulses, electrical interference, or incorrect synchronization.
The sensor’s supply and output specifications are engine-specific. The approximately 5-volt triggered output described in the 2012 Accent 1.6L service information should not be applied automatically to every Hyundai model.
Step 7: Confirm mechanical timing
If the electrical circuit and sensor pass their checks, inspect the mechanical timing system using the correct service procedure. A qualified technician may need to examine camshaft timing alignment, chain condition, tensioner operation, timing guides, and variable valve timing components.
This is particularly important when P0341 appears alongside other camshaft correlation or timing-related codes. Replacing the sensor without checking mechanical synchronization can waste time and leave the actual problem unresolved. P0325 Hyundai covers another issue owners of this vehicle run into.
For further technical background, see DENSO’s explanation of camshaft and crankshaft sensor operation and diagnosis.
Repair Options and Cost Factors
The repair for P0341 depends on the confirmed cause. Some vehicles need only an electrical connection repaired, while others require sensor replacement or more involved timing-system work. The diagnostic results should determine the repair, not the code description alone.
Camshaft position sensor replacement
If testing confirms that the sensor has failed, replacement with a correct application-specific component is appropriate. The technician should inspect the connector, mounting surface, sensor installation, and target area before fitting the replacement.
Installation requirements differ among Hyundai engines. Sensor mounting, access, fastener torque, and any required relearn procedure must follow the vehicle’s service information. An incorrectly installed sensor can produce another signal problem.
Wiring and connector repairs
A damaged connector or harness may require terminal replacement, wiring repair, or restoration of a secure electrical connection. The repair must preserve correct wire routing and insulation. Poorly completed electrical repairs can cause intermittent problems that are difficult to reproduce.
CVVT and timing-system repairs
If diagnosis identifies a variable valve timing problem, the repair may involve correcting oil-related issues, servicing an oil-control valve, or repairing a camshaft phaser. The correct solution depends on the engine’s design and the test results.
A timing-chain or timing-belt problem may require more extensive mechanical work. Labor can increase because of component access, timing alignment procedures, and the number of related parts that need inspection or replacement.
What affects the repair cost?
There is no reliable single repair price for every P0341 Hyundai. The final amount depends on the specific model, engine, failed component, local labor rate, and whether additional damage is discovered during diagnosis.
- Parts: A sensor or connector repair generally involves fewer components than a timing-chain or CVVT repair.
- Labor hours: Accessible components generally require less work than parts located behind covers or other engine components.
- Diagnostic time: Intermittent electrical faults may require additional testing, waveform analysis, or repeated operating-condition checks.
- Shop versus DIY: Professional repairs include labor and diagnostic charges. DIY work can reduce labor expenses but requires appropriate tools, technical knowledge, and safe access.
- Related damage: A timing-system problem can involve several components and more extensive labor than a standalone sensor failure.
- Vehicle configuration: Model year, engine type, and component accessibility influence parts availability and repair procedures.
Before approving a repair, ask the shop which test identified the failed component. A useful estimate should distinguish diagnostic labor, parts, installation labor, and any additional mechanical work. If the proposed repair is sensor replacement, ask whether the power, ground, wiring, and signal pattern were checked first.
For a DIY repair, use the exact wiring diagram and service procedure for the Hyundai’s engine. Avoid guessing connector pin assignments or applying generic torque specifications. Timing-system work is especially sensitive because incorrect mechanical alignment can cause serious engine problems.
How to Confirm the Repair and Prevent Recurring P0341
A successful repair requires more than switching off the check engine light. The original fault must be corrected, and the vehicle’s monitoring system must verify that the relevant operating conditions are satisfactory.
After the repair, the technician should inspect the work area, confirm secure electrical connections, and check the sensor and harness installation. If the repair involved mechanical timing, the correct alignment and timing procedure must be verified before the engine is returned to normal operation.
Clear codes only after the repair
Once the fault has been repaired and the relevant checks have passed, use the scanner to clear eligible diagnostic codes. Clearing codes before diagnosis can remove freeze-frame information and make an intermittent fault harder to investigate.
A permanent diagnostic trouble code may remain visible even after the original problem has been corrected. Permanent codes are designed to clear after the vehicle completes the required self-monitoring checks and confirms that the malfunction is no longer present. A scan tool cannot simply erase this type of code on demand.
Complete the required drive cycle
The vehicle may need to operate under specific conditions before its diagnostic monitors complete. These conditions can include cold starts, normal engine warm-up, steady-speed driving, and periods of acceleration or deceleration. The precise drive cycle depends on the Hyundai model and engine.
Use a scanner to review readiness status and check whether P0341 has returned as pending or confirmed. Do not assume that a temporarily extinguished warning light proves the repair is complete.
Prevent avoidable sensor and timing problems
Regular maintenance can help reduce the risk of related problems. Follow Hyundai’s recommended engine oil specification and service interval. Correct oil condition and level are important for engines that use hydraulic variable valve timing.
Inspect accessible wiring during routine maintenance, especially if previous repairs or engine work have disturbed the harness. Make sure connectors are properly secured and wiring is not rubbing against sharp edges or exposed to excessive heat.
Pay attention to abnormal engine noises, difficult starting, and recurring warning lights. Early investigation of a timing-related symptom can prevent a relatively small electrical or mechanical fault from developing into a more expensive repair. A related problem on the same vehicle is explained in P0356 Hyundai.
The HELLA camshaft position sensor troubleshooting guide provides additional technical information about checking sensor condition, wiring continuity, supply voltage, and signal waveforms.
Frequently Asked Questions
Can P0341 appear without turning on the check engine light?
Yes. A fault may initially be recorded as pending before the computer confirms the conditions required to illuminate the malfunction indicator lamp. A scan tool can sometimes identify this pending fault before the dashboard warning appears.
Can a recently replaced camshaft sensor still cause P0341?
Yes. An incorrect replacement part, poor installation, damaged connector, incorrect sensor air gap where applicable, or an existing timing problem can cause the code to return. A replacement sensor does not correct a damaged target wheel or stretched timing chain.
Does disconnecting the battery permanently erase P0341?
No. Disconnecting the battery may reset some stored information, but it does not repair the underlying malfunction. Permanent diagnostic codes also require the vehicle to complete its own verification process before they disappear.
Can cold weather cause an intermittent P0341?
Cold conditions can expose an existing weak electrical connection, deteriorated wiring, or temperature-sensitive sensor fault. However, cold weather alone does not establish the cause. Compare cold-start and warm-engine scan information before selecting a repair.
Can P0341 cause an emissions inspection failure?
Yes. In areas that use OBD-based emissions inspections, an illuminated malfunction indicator lamp or an emissions-related confirmed fault can prevent a vehicle from passing. The inspection result also depends on applicable local testing rules and readiness status.
P0341 on a Hyundai means the engine computer has detected an incorrect camshaft position signal, not necessarily a failed sensor. Diagnose the sensor circuit, target wheel, crankshaft correlation, and mechanical timing before choosing a repair. Address the problem promptly, especially if the engine stalls, runs roughly, or develops unusual timing noises.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0341 Code: What It Means and How to Fix It
LearnP0302 Hyundai Code: Cylinder 2 Misfire Causes and Scanner Checks
LearnP0304 Hyundai Code: Cylinder 4 Misfire Causes and Fixes
LearnP0355 Hyundai: Diagnose Ignition Coil Circuit Problems
LearnP0353 Hyundai: Diagnose Ignition Coil Circuit Problems
LearnParking Brake Warning Light Stays On: Causes and Safe Checks