P0335 Hyundai Sonata: Diagnose Crankshaft Sensor Problems
19 min read · by Nicole Bennett · Last updated: November 25, 2026
P0335 Hyundai Sonata means the engine computer has detected a problem with the Crankshaft Position Sensor A circuit or its signal. This fault can cause extended cranking, a no-start condition, rough running, or unexpected engine stalling. The crankshaft position sensor, commonly called the CKP or CKPS sensor, supplies important information that the engine computer needs to control ignition timing and fuel injection.
A defective sensor is one possible explanation, but it is not the only one. Damaged wiring, loose electrical connections, an incorrect crankshaft signal, and mechanical timing problems can also trigger P0335. Hyundai service information even documents a timing-related problem associated with this code on certain 2001 Sonata 2.4L vehicles.
The correct repair depends on the Sonata’s model year, engine, and test results. This guide explains the code, common symptoms, diagnostic procedures, repair considerations, and driving risks so you can identify the actual problem before replacing expensive components.
What P0335 Means on a Hyundai Sonata
P0335 is the generic SAE definition for Crankshaft Position Sensor A Circuit Malfunction. It means the powertrain control module (PCM) or engine control module (ECM) has detected an abnormal, missing, or unreliable crankshaft position signal under its programmed monitoring conditions. The code identifies a circuit or signal problem, not automatic proof that the sensor itself has failed.
The crankshaft position sensor monitors the rotation and position of the crankshaft. The computer uses this information to calculate engine speed and determine when individual cylinders need fuel and spark. Without reliable crankshaft information, the engine computer may struggle to synchronize ignition and injection events.
Understanding the CKP sensor signal
The sensor works with a toothed target wheel attached to or associated with the rotating crankshaft assembly. As the target passes the sensor, it creates an electrical signal that corresponds to crankshaft movement. The computer interprets the pulses to calculate engine RPM and identify crankshaft position.
Hyundai’s 2009 Sonata diagnostic information describes a target wheel with 58 slots, including one longer slot. The changing signal pattern helps the PCM establish engine position. That service information identifies a missing reference signal lasting more than 0.15 seconds as one condition that can trigger P0335 on that application.
Different Sonata engines and model years can use different sensor designs and electrical specifications. For example, Hyundai’s 2006 Sonata 3.3L service description identifies a magnetic sensor that generates an alternating-current signal and a target wheel with 58 slots and two missing slots across 360 crankshaft degrees. These details should not be assumed to apply to every Sonata.
Breaking down the P0335 code
| Code part | Meaning |
|---|---|
| P | Powertrain system, including engine and transmission-related controls. |
| 0 | Generic SAE diagnostic trouble code. |
| 3 | Ignition and engine-speed-related fault category. |
| 35 | Identifies the Crankshaft Position Sensor A Circuit Malfunction code. |
A scanner may display P0335 as pending, stored, or permanent. A pending code indicates that the computer has detected a fault that has not yet met all confirmation requirements. A stored or confirmed code indicates that the monitoring conditions have been satisfied. A permanent code requires the computer to verify a successful repair through its own monitoring process before it disappears.

Tip: Record every stored, pending, and permanent code before clearing anything. The freeze-frame information can reveal whether P0335 appeared during starting, normal driving, or another operating condition. This information can prevent unnecessary sensor replacement.
Common Symptoms of a Faulty Crankshaft Position Signal
A Hyundai Sonata with P0335 may experience anything from an illuminated check engine light to a complete failure to start. The symptoms depend on whether the signal is consistently missing, intermittently interrupted, or distorted. A sensor that fails only when hot can produce different symptoms from a completely disconnected sensor.
Because the crankshaft signal is essential to engine synchronization, serious signal interruptions can affect several engine functions at the same time. Pay attention to when the problem occurs and whether it changes with engine temperature, vibration, or driving conditions.
1. Engine cranks but does not start
One of the most recognizable symptoms is an engine that turns over normally but refuses to start. The starter motor may rotate the crankshaft, but the computer may not receive the position information needed to synchronize fuel injection and ignition.
A completely missing CKP signal can prevent the engine from starting. Hyundai’s 2006 Sonata 3.3L service description explains that fuel supply depends on receiving the crankshaft position signal. However, a no-start condition can also result from a weak battery, ignition problem, fuel delivery fault, or another engine-management issue.
2. Engine stalls unexpectedly
An intermittent CKP signal can cause the engine to shut off while driving. The computer may temporarily lose track of crankshaft position and stop controlling ignition or injection correctly. The engine may restart after cooling down or after the electrical connection temporarily recovers.
Stalling is particularly concerning in traffic because power assistance for steering and braking may change after the engine stops. A vehicle that repeatedly stalls should not be treated as safe for routine driving.
3. Rough idle and reduced engine power
A weak or inconsistent crankshaft signal can interfere with engine synchronization. The Sonata may shake at idle, hesitate during acceleration, or feel unusually weak under load. These symptoms can resemble ignition misfires or fuel delivery problems.
A particularly important Hyundai example involves certain 2001 Sonata 2.4L vehicles. Hyundai technical service bulletin 01-20-002-1 describes rough running, rough idle, low-RPM power loss, and P0335 associated with an exhaust camshaft that had moved out of time. This shows why a technician should consider mechanical timing when the evidence supports it rather than automatically replacing the CKP sensor.
4. Check engine light and abnormal RPM readings
The check engine light may illuminate when the PCM confirms the fault. A basic OBD2 scanner can retrieve the code, while a scanner with live-data support can show engine speed during cranking.
If the scanner reports zero RPM while the engine is cranking, the missing crankshaft signal deserves attention. However, verify that the scanner is communicating correctly and that the engine is actually turning before concluding that the sensor has failed. While you are working on this vehicle, P0301 Hyundai Sonata covers a related problem worth checking.
The following table summarizes common symptoms and the areas that deserve further testing.
| Symptom | Possible explanation | Recommended check |
|---|---|---|
| Cranks but will not start | Missing CKP signal or synchronization problem | Check cranking RPM and CKP signal. |
| Stalls while driving | Intermittent sensor or wiring fault | Inspect connectors and signal stability. |
| Rough idle | Unstable signal or mechanical timing issue | Compare CKP and CMP signals. |
| Weak acceleration | Incorrect synchronization or related engine fault | Review live data and additional codes. |
| Intermittent no-start | Heat-sensitive sensor or loose connection | Compare cold and hot starting behavior. |
| Check engine light | Confirmed crankshaft circuit fault | Read stored and pending DTCs. |
Why a Hyundai Sonata Sets P0335
P0335 can result from an electrical, sensor, signal-target, or mechanical problem. The most effective diagnosis starts by checking the complete circuit rather than assuming that the component named in the code must be replaced. The exact causes and specifications vary by model year and engine.
Failed crankshaft position sensor
The CKP sensor can deteriorate internally because of heat, vibration, moisture, or age. An internal electrical failure may produce a weak, intermittent, or missing signal. Some sensors work when cold but stop operating after the engine compartment becomes hot.
A completely failed sensor may cause an immediate no-start condition. An intermittent failure can produce occasional stalling, difficult restarting, and a check engine light that appears only under certain operating conditions.
Damaged wiring or electrical connectors
The wiring between the sensor and engine computer is another common diagnostic target. Heat, oil contamination, vibration, and contact with surrounding components can damage insulation or electrical connections.
Look for loose connector locks, corrosion, bent pins, damaged insulation, and signs of previous repairs. A wire can also break internally while its outer insulation appears normal. An intermittent open circuit may only become apparent when the engine moves or the harness warms up.
Damaged or incorrectly positioned target wheel
The crankshaft sensor depends on a correctly functioning target wheel to generate a consistent signal. Damaged teeth, missing material, excessive contamination, or incorrect positioning can distort the waveform.
A sensor may pass a basic electrical test while the target wheel remains the actual problem. An oscilloscope can help identify missing or irregular pulses that a simple code reader cannot display.
Camshaft and crankshaft timing problems
The engine computer uses crankshaft and camshaft information together to establish engine synchronization. Incorrect mechanical timing can produce a relationship between the two signals that does not match the expected pattern.
Hyundai’s technical service bulletin for certain 2001 Sonata 2.4L vehicles is a useful example. It describes P0335 together with rough running and low-RPM power loss caused by an exhaust camshaft that had moved out of time. The bulletin also discusses the timing-belt-cover update associated with the affected production period.
This bulletin is specific to the vehicles and conditions it identifies. It does not establish that every Sonata with P0335 has a timing-belt problem. Other model years and engines require their own service information.
Poor electrical supply or computer problems
Low battery voltage, weak grounds, damaged power-supply wiring, and PCM electrical faults can interfere with sensor operation. These possibilities deserve attention when several unrelated codes appear together or the vehicle has other electrical symptoms.
A healthy fully charged battery typically measures approximately 12.6 volts at rest. With the engine running, a conventional charging system commonly measures approximately 13.5 to 14.7 volts. These are general reference values, not substitutes for Hyundai’s application-specific testing procedures.

How to Diagnose P0335 With an OBD2 Scanner
A reliable diagnosis combines code retrieval, freeze-frame analysis, live data, electrical inspection, and mechanical checks where necessary. A basic scanner identifies the fault, but advanced diagnostic equipment may be needed to confirm the actual signal problem.
US-market cars and light trucks from model year 1996 onward generally use OBD-II. The standard 16-pin J1962 diagnostic connector is usually located under the driver-side dashboard near the steering column. A compatible scanner can retrieve the engine computer’s diagnostic information through this connection.
Step 1: Read all diagnostic trouble codes
Connect the scanner and read the stored, pending, and permanent codes. Do not focus exclusively on P0335. Related crankshaft or camshaft position codes can provide important clues about synchronization and electrical circuit problems.
Record the complete code list before clearing anything. If the scanner supports enhanced Hyundai diagnostics, check whether additional manufacturer-specific information is available. Generic code definitions do not always reveal the full diagnostic conditions used by the vehicle’s computer.
Step 2: Examine freeze-frame information
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, engine load, and system voltage.
For example, a fault recorded during starting deserves different attention from one recorded after the engine has been running for an extended period. A temperature-related pattern may suggest an intermittent electrical or sensor problem. A fault associated with engine load or vibration may justify additional harness and mechanical inspections.
Step 3: Check engine RPM while cranking
Select the live-data engine RPM parameter. With the transmission in Park or Neutral and the parking brake applied, observe the reading while the engine is cranked using the vehicle’s normal starting procedure.
If RPM remains at zero, investigate whether the computer is receiving a crankshaft signal. If RPM appears but fluctuates unexpectedly, inspect the signal and electrical circuit more closely. A displayed RPM value does not prove that the waveform is clean or that the timing relationship is correct.
Step 4: Inspect the sensor and wiring
With the ignition switched off, inspect accessible sensor wiring and connector condition. Look for corrosion, broken clips, loose terminals, oil contamination, abrasion, and damaged insulation.
Check the battery condition and engine grounds if the vehicle also shows electrical symptoms. Do not assume that every Hyundai Sonata has the same connector arrangement, terminal assignments, sensor location, or reference-voltage specification. Obtain the wiring diagram for the exact model year and engine before electrical measurements.
Step 5: Test the electrical circuit
A qualified technician can use a digital multimeter to check the appropriate supply, ground, signal, continuity, and resistance circuits. The test method depends on whether the vehicle uses a Hall-effect or magnetic pickup sensor.
For the 2009 Sonata application documented by Hyundai diagnostic information, the listed sensor resistance reference is 700 ± 70 ohms. That specification must not be applied to every Sonata. Some sensor designs require different tests, and resistance measurements are not appropriate for every sensor type.
An oscilloscope provides a more detailed view of the CKP waveform. A technician can check pulse consistency, missing signals, irregular patterns, and the relationship between crankshaft and camshaft signals. This is particularly useful when the scanner reports an intermittent fault but the engine currently runs normally.
Step 6: Review fuel trims and Mode $06 when relevant
Fuel trims are not direct tests of the crankshaft position sensor, but they can help identify additional engine-management problems when rough running accompanies P0335. Short-term and long-term fuel trims that move beyond roughly plus or minus 10 percent combined can suggest a mixture issue. Values approaching or exceeding about 25 percent may contribute to lean or rich trouble codes.
Mode $06 provides access to onboard monitor test results when supported by the vehicle and scanner. It can help evaluate certain engine-monitoring results, including relevant misfire-monitor information. It does not directly prove that the CKP sensor is defective, so interpret the results alongside the crankshaft signal and other diagnostic findings.
Step 7: Verify mechanical timing when necessary
If the sensor, wiring, and signal supply appear correct but P0335 returns, investigate the target wheel and mechanical timing. A technician may need to compare camshaft and crankshaft waveforms and inspect timing components using the manufacturer’s service procedure.
This step is particularly important when P0335 appears with rough running, abnormal engine noise, timing-related codes, or a history of timing-belt or timing-chain repairs. The 2001 Sonata 2.4L bulletin demonstrates why mechanical timing should not be overlooked.
Tip: Never replace a CKP sensor solely because a scanner displays P0335. Confirm the fault using the correct wiring diagram, sensor test specifications, and signal measurements for the exact Sonata engine. Incorrect testing can damage electronic components or lead to unnecessary repairs. Before you clear the codes, check whether P0304 Hyundai Sonata applies to your vehicle too.
How to Fix P0335 on a Hyundai Sonata
The correct repair depends on which part of the crankshaft position system has failed. Once the cause is confirmed, the repair may involve replacing the sensor, repairing damaged wiring, correcting a connector problem, or addressing mechanical timing.
Replace a confirmed defective CKP sensor
If testing confirms that the sensor has failed, replacement is usually the appropriate repair. The replacement must match the vehicle’s model year, engine, electrical design, and installation requirements.
Sensor access varies across Sonata generations and engine configurations. Some applications require access from below the vehicle or near the transaxle housing. Others have different installation arrangements. Follow the correct Hyundai service procedure rather than relying on instructions intended for another engine.
The technician should also inspect the connector, mounting surface, wiring, and target wheel before completing the installation. A new sensor will not correct an intermittent wire or damaged reluctor wheel.
Repair damaged wiring and connectors
If testing reveals an open circuit, short circuit, poor ground, or damaged terminal, repair the affected wiring according to Hyundai’s electrical repair requirements. The connector must maintain proper terminal contact and protection against moisture and contamination.
After repairing the circuit, verify continuity and signal quality. A repair that restores the electrical connection temporarily but leaves the harness exposed to heat or vibration may cause the fault to return.
Correct mechanical timing problems
If the camshaft and crankshaft are not correctly synchronized, the appropriate timing repair may be necessary. Depending on the engine, this can involve timing-belt components, timing-chain components, sprockets, guides, or other related parts.
The 2001 Sonata 2.4L service bulletin is a reminder that a timing-related problem can create symptoms that resemble a crankshaft sensor failure. The correct repair must follow the procedure applicable to the specific engine and production period.
Check the PCM only after other tests
A defective PCM is possible, but it should be considered only after the sensor, power supply, ground, wiring, connectors, and mechanical signal source have been evaluated. Computer replacement without proper circuit testing can create unnecessary expense and additional programming requirements.
A qualified technician should follow Hyundai’s diagnostic decision tree before condemning the computer. Depending on the application, replacement may require immobilizer or other module configuration procedures.
Clear the code and verify the repair
After the repair, clear eligible diagnostic codes and repeat the appropriate verification procedure. Check cranking RPM, confirm a stable signal, and inspect for returning pending or stored codes.
A road test may be appropriate if the vehicle is safe to operate and the original symptoms have been corrected. Permanent OBD-II codes do not necessarily disappear immediately after clearing other codes. They clear when the computer completes the required self-monitoring process and confirms that the fault is no longer present.
Driving Safety and Repair Cost Factors
P0335 should be treated as a potentially serious engine-management problem because the crankshaft position signal is essential for normal engine operation. Whether the Sonata can be driven depends on the severity of the symptoms and whether the engine remains reliable.
Is it safe to drive with P0335?
A Sonata that starts normally, runs smoothly, and has only an illuminated check engine light may appear drivable, but the underlying fault can worsen without warning. An intermittent CKP signal can cause sudden stalling, including while traveling through an intersection or at highway speed.
Avoid unnecessary driving until the problem has been diagnosed. If the engine stalls, repeatedly fails to start, or loses power unexpectedly, arrange professional inspection and consider towing the vehicle instead of continuing to drive.
If the check engine light flashes, reduce engine load and stop driving as soon as it is safe to do so. A flashing light generally indicates an active misfire that can damage the catalytic converter. A flashing light accompanied by P0335 or severe engine operation problems deserves prompt attention.
What affects the repair cost?
The total repair expense depends on the actual failure and the amount of labor required to reach and diagnose the affected component. A confirmed sensor failure may require less work than an intermittent wiring problem or a mechanical timing fault.
Several factors influence the final repair estimate:
- Sensor price: The replacement component’s design, quality, and compatibility with the Sonata engine affect the parts portion of the repair.
- Labor hours: Sensor accessibility and the time needed to remove surrounding components influence labor requirements.
- Diagnostic time: Intermittent faults may require additional electrical measurements, waveform testing, and repeated inspections.
- Wiring repairs: Damaged connectors, broken conductors, and harness replacement can add parts and labor.
- Mechanical repairs: Timing-related problems can involve substantially more work than replacing a sensor.
- Shop versus DIY: Professional labor, diagnostic equipment, specialized tools, and access to repair information affect the overall expense.
A basic sensor replacement may be manageable for an experienced DIY mechanic with the correct service information and equipment. However, electrical waveform testing and timing-system repairs are more demanding. Incorrect sensor installation or mechanical timing work can create additional engine problems.
Before approving a repair, request an explanation of the test results. A useful estimate should identify whether the shop confirmed sensor failure, found a wiring defect, or identified a mechanical problem. This makes it easier to distinguish a necessary repair from a guess based on the diagnostic code alone. For the same trouble code on a different platform, read P0335 Honda Pilot.
For additional background on onboard diagnostics and how vehicle computers store fault information, consult the EPA’s OBD-II inspection and diagnostic information. For a Hyundai-specific example of a timing-related P0335 condition, review Hyundai technical service bulletin 01-20-002-1.
Frequently Asked Questions
Can a Hyundai Sonata start with a P0335 code?
Yes. An intermittent or partially functioning crankshaft signal may allow the engine to start and run. A completely missing signal can prevent starting because the engine computer may be unable to establish the information required for normal fuel and ignition control.
Can P0335 affect the transmission?
It can affect transmission operation indirectly. The transmission control system may rely on engine speed and torque information supplied by the powertrain computer. An unreliable crankshaft signal can therefore contribute to abnormal shifting or transmission-related warning codes on some configurations.
Can extreme engine temperature trigger an intermittent P0335?
Yes. Heat can expose an internal sensor defect or an electrical connection problem that is not apparent when the engine is cold. Comparing cold-start and hot-restart behavior can help identify a temperature-sensitive fault.
Will disconnecting the battery permanently remove P0335?
No. Disconnecting the battery does not repair the underlying fault. It may erase some stored information or reset certain vehicle settings, but the code can return when the computer detects the problem again. Permanent diagnostic codes also require the relevant self-tests to pass before they clear.
Is P0335 the same as P0336 on a Hyundai Sonata?
No. P0335 identifies a Crankshaft Position Sensor A Circuit Malfunction, while P0336 identifies a Crankshaft Position Sensor A Circuit Range/Performance problem. P0336 concerns the signal’s expected range or performance rather than the basic circuit malfunction identified by P0335. Both require diagnosis using the correct vehicle-specific procedures.
P0335 on a Hyundai Sonata indicates a crankshaft position signal or circuit problem, but a defective sensor is not the only possible cause. Check the wiring, connectors, live RPM data, and signal quality before replacing components. If mechanical timing or intermittent stalling is involved, arrange a professional diagnosis promptly to prevent further problems and restore reliable engine operation.
-
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
LearnP0302 Hyundai Sonata: Find the Cylinder 2 Misfire and Fix It
LearnP0174 Hyundai Sonata: Find Bank 2 Lean Problems and Fix the Cause
LearnP0304 Hyundai Sonata: Diagnose Cylinder 4 Misfires and Avoid Costly Damage
LearnP0456 Hyundai Sonata: Meaning, Causes and Checks
Scanners by VehicleHyundai Sonata TPMS Reset: How to Clear the Tire Pressure Light
LearnP0299 Chevy Equinox: What GM Bulletins Say to Check First