P0335 Ram: Diagnose Crankshaft Sensor Problems and Starting Issues
18 min read · by Nicole Bennett · Last updated: November 25, 2026
The p0335 ram diagnostic trouble code means the engine computer has detected a problem with the crankshaft position sensor A circuit or its signal. This sensor provides essential information about crankshaft position and engine speed. Without a reliable signal, the powertrain control module (PCM) may struggle to control ignition timing and fuel injection. Your Ram may crank without starting, stall unexpectedly, hesitate, or run poorly.
P0335 can affect different Ram vehicles, including the Ram 1500, 2500, and 3500. However, the exact diagnostic procedure depends on the model year, engine, wiring configuration, and PCM calibration. A failed crankshaft position sensor is one possibility, but damaged wiring, connector problems, a missing reference voltage, poor grounding, or a damaged crankshaft reluctor can produce similar symptoms.
Before buying a replacement sensor, use an OBD2 scanner to check stored codes, pending codes, freeze-frame information, and engine-speed data. These checks can help separate a sensor failure from an electrical or mechanical problem. This guide explains what P0335 means on a Ram, how to diagnose it, when driving is unsafe, and what affects repair costs.
What P0335 Means on a Ram Truck
P0335 is a generic SAE powertrain code with the definition Crankshaft Position Sensor A Circuit Malfunction. It indicates that the PCM has detected a missing, incorrect, or otherwise unacceptable crankshaft position signal. The code identifies a circuit or signal problem, not automatic proof that the sensor itself has failed.

The crankshaft position sensor, commonly called the CKP sensor, monitors the crankshaft’s rotational position and speed. It detects changes as a toothed reluctor or sensing ring passes the sensor. The resulting electrical pulses allow the PCM to calculate engine speed and determine crankshaft position.
The PCM uses this information alongside camshaft position sensor data to coordinate important engine operations. Depending on the engine design, these include ignition timing, injector operation, and synchronization between the crankshaft and camshaft. A missing CKP signal can prevent the engine computer from establishing reliable timing.
How the code is triggered
The exact setting conditions differ between Ram engines. For example, the 2009 Ram 2500 equipped with the 5.7L V8 has a factory diagnostic description that monitors the CKP signal during engine cranking. The code can set when no crankshaft position signal is detected even though at least eight camshaft position sensor signals have occurred.
This is an important distinction. The PCM may recognize that the engine is turning based on camshaft information while failing to receive the expected crankshaft information. The computer therefore cannot establish the necessary engine position reference.
A P0335 code can appear as a stored or pending fault. A pending code means the computer has detected a problem that has not yet met all confirmation requirements. A confirmed code generally means the diagnostic conditions have been satisfied and the malfunction indicator light may illuminate.
A permanent code is different. It cannot simply be erased with a basic scanner. The vehicle must recognize that the underlying problem has been corrected and allow the appropriate diagnostic monitor to pass.
Does P0335 mean the sensor is bad?
No. The fault can originate anywhere in the monitored circuit. A replacement sensor will not solve an open wire, short circuit, damaged connector terminal, missing reference voltage, or defective reluctor. On some applications, PCM problems or related camshaft signal faults can also contribute to the diagnosis.
The code definition is shared across manufacturers, but Ram-specific diagnostic thresholds and wiring arrangements must come from the correct service information. Causes and repair procedures vary by model year and engine. For the same trouble code on a different platform, read P0335 Mercedes.
Common Symptoms of P0335 on a Ram 1500, 2500, and 3500
The most noticeable P0335 symptoms involve starting, engine operation, and unexpected stalling. The severity depends on whether the crankshaft signal is completely missing or only intermittently unreliable.

A completely missing signal can prevent the engine from starting. An intermittent signal may allow normal operation for several minutes before the engine suddenly stalls. These symptoms can occur on different Ram platforms, although their frequency and severity depend on the engine and the actual electrical fault.
1. Engine cranks but will not start
This is one of the most important symptoms. The starter may turn the engine normally, but combustion does not begin. If the PCM cannot identify crankshaft position, it may not provide the ignition and injection control needed for starting.
Do not assume the starter or battery is responsible simply because the engine will not start. Check battery condition and cranking voltage, then use a scanner to see whether the PCM registers engine RPM while the starter is operating.
2. Unexpected engine stalling
An intermittent CKP signal can disappear while the engine is running. The PCM may lose its engine-position reference, causing the engine to shut down without warning.
A Ram that stalls at a traffic light, during acceleration, or while traveling at highway speed needs prompt attention. If the engine loses power in traffic, steering assistance and braking assistance may also change depending on the vehicle configuration. Pull over safely rather than continuing to drive.
3. Difficult starting and extended cranking
A weak or inconsistent sensor signal may cause delayed starting. You may notice that the truck starts normally when cold but struggles after reaching operating temperature, or the opposite may occur.
Heat-related electrical failures can affect sensors, connectors, and wiring. However, temperature-related symptoms alone do not prove that the CKP sensor is defective. Record the conditions under which the problem occurs.
4. Rough running and hesitation
An inconsistent crankshaft signal can interfere with engine synchronization. The result may include hesitation, unstable operation, misfires, or reduced engine performance.
Other faults can create similar symptoms. For example, ignition coil problems, fuel delivery problems, camshaft position faults, and low system voltage can also cause poor engine operation. Check all stored codes before focusing on P0335 alone.
5. Check engine light and related codes
The check engine light may illuminate when the PCM confirms P0335. Additional codes may identify camshaft position sensor faults, crankshaft-to-camshaft synchronization problems, or electrical supply issues.
A flashing check engine light requires particular attention because it can indicate an active misfire that may damage the catalytic converter. Reduce engine load and arrange prompt diagnosis.
Common Causes of the P0335 Code on Ram Vehicles
P0335 can result from an electrical, sensor, mechanical, or control-module problem. Identifying the source requires checking the signal path rather than automatically replacing the most obvious component.
The following causes are useful starting points for a Ram diagnostic. Their likelihood depends on vehicle condition, engine configuration, service history, and the symptoms present.
Faulty crankshaft position sensor
The CKP sensor is a primary suspect because it produces the signal monitored by the PCM. Internal electronic failure, heat-related malfunction, contamination, physical damage, or an unstable output can interrupt the signal.
A sensor may work intermittently before failing completely. This explains why a truck can start normally one day and refuse to start the next. However, confirm the electrical supply, ground, and signal before installing another sensor.
Damaged wiring or electrical connectors
Wiring faults are another important cause. Engine vibration, heat, moisture, corrosion, previous repairs, and contact with nearby components can damage the CKP harness.
Look for broken insulation, stretched wires, loose terminals, corrosion, and connector locking problems. A terminal can also lose tension and make intermittent contact even when the connector appears normal.
Missing reference voltage or poor sensor ground
Some Ram CKP systems use a five-volt reference, signal, and ground arrangement. If the supply circuit is open, shorted, or pulled down by another electrical fault, the sensor may not produce an acceptable output.
A damaged ground connection can cause similar symptoms. The correct voltage limits must come from the service procedure for the specific engine. Do not assume every Ram CKP circuit uses identical voltage values or wiring arrangements.
Damaged crankshaft reluctor or sensing ring
The reluctor or sensing ring provides the physical features detected by the crankshaft position sensor. Damaged teeth, contamination, excessive movement, or an incorrect sensor-to-ring relationship can produce an abnormal signal.
A factory Ram diagnostic procedure for certain applications specifically includes inspecting the flywheel slots for damage. This illustrates why mechanical signal generation should not be overlooked when the sensor and its electrical circuits appear functional.
Camshaft position sensor or PCM problems
The PCM evaluates crankshaft information alongside other engine signals. A camshaft position sensor fault can complicate synchronization and contribute to related diagnostic trouble codes.
A PCM problem is possible but should be considered only after the sensor, wiring, power supply, ground, connectors, and relevant mechanical components have been tested. Module replacement can require programming and vehicle-specific configuration. P0335 Ram 1500 walks through the same code on another vehicle, which helps if the usual fix does not work.
| Possible cause | Typical diagnostic clue | Recommended check |
|---|---|---|
| Failed CKP sensor | Missing or intermittent RPM signal | Sensor output and waveform |
| Open or shorted wiring | Incorrect supply or signal voltage | Harness continuity and shorts |
| Poor connector contact | Intermittent fault or unstable signal | Terminal condition and connection security |
| Missing reference voltage | Supply voltage outside the specified range | Reference circuit and shared loads |
| Poor sensor ground | Unreliable sensor operation | Ground circuit integrity |
| Damaged reluctor | Abnormal or missing signal pulses | Mechanical sensing ring inspection |
| PCM fault | Circuit tests pass but signal processing remains incorrect | Factory-level module diagnosis |
How to Diagnose P0335 on a Ram With an OBD2 Scanner
An OBD2 scanner helps determine whether the PCM is receiving a believable crankshaft position signal. Start with the complete diagnostic information, then move toward live data and electrical testing. This approach reduces unnecessary sensor replacements.
US cars and light trucks from model year 1996 generally support standardized OBD-II diagnostics. The 16-pin J1962 connector is usually located beneath the driver-side dashboard near the steering column.
Step 1: Read all diagnostic trouble codes
Connect the scanner and retrieve stored, pending, and permanent powertrain codes. Do not clear anything immediately. Other codes may help identify a shared electrical supply problem or a related camshaft position fault.
Record the exact code status and any available failure information. If P0335 appears alongside a camshaft position code, investigate the synchronization and electrical circuits before assuming that two sensors have failed independently.
Step 2: Save freeze-frame data
Freeze-frame data records operating conditions associated with a detected fault. Depending on the vehicle and scanner, available information can include engine RPM, coolant temperature, vehicle speed, engine load, and system voltage.
Look for patterns that explain when the problem occurred. For example, a fault recorded during cranking points toward a starting-related signal issue, while a fault recorded during normal operation may indicate an intermittent electrical problem.
Keep this information before disconnecting the battery or clearing codes. Otherwise, useful diagnostic evidence may be lost.
Step 3: Check live engine RPM
Open the scanner’s live data menu and find engine RPM. With the vehicle safely in Park or Neutral and the parking brake applied, observe the displayed RPM during normal cranking.
A reading of zero RPM while the starter is turning the engine is an important warning sign. It suggests that the PCM may not be receiving or recognizing an engine-speed signal. However, it does not prove that the CKP sensor is defective.
If the scanner displays a changing RPM value, compare the reading with actual engine operation. An intermittent or implausible reading may indicate a signal problem that requires further investigation.
Step 4: Review camshaft position and related live data
If your scanner supports manufacturer-enhanced data, review available crankshaft and camshaft synchronization parameters. Check whether the PCM recognizes both signals and whether the synchronization status changes during cranking.
A generic scanner may display engine RPM without providing detailed CKP and CMP signal information. A more capable diagnostic tool or oscilloscope may be necessary for advanced testing.
Step 5: Inspect the CKP electrical circuit
Once the scanner information has been recorded, inspect the accessible sensor connector and wiring. Look for corrosion, damaged insulation, loose terminals, contamination, and harness sections exposed to excessive heat or vibration.
Electrical testing should follow the exact wiring diagram and diagnostic specifications for your Ram’s engine. Some factory procedures check a five-volt supply, signal circuit, and sensor ground separately.
For example, the 2009 Ram 2500 5.7L service procedure specifies a 4.5-5.2-volt check on its designated CKP five-volt supply circuit. This is a vehicle-specific specification. Do not apply it to every Ram engine without checking the correct service information.
Step 6: Check the sensor waveform when necessary
An oscilloscope can show whether the CKP sensor produces a consistent electrical waveform during cranking and engine operation. It can reveal missing pulses, irregular patterns, and intermittent signal interruptions that a basic scanner may not identify.
Compare the observed waveform with the correct factory reference for the specific engine. Sensor type, signal characteristics, and expected waveform patterns can differ between applications.
Step 7: Verify the repair
After correcting the identified problem, clear codes using the appropriate scan-tool procedure. Restart the engine and check whether the RPM signal is stable. Follow the manufacturer’s verification procedure and allow the relevant diagnostic monitor to run.
Recheck stored, pending, and permanent codes. A successful repair should restore normal operation and prevent P0335 from returning under the conditions that previously triggered it.
Tip: Save freeze-frame data and record live RPM before clearing P0335. Never replace the crankshaft sensor solely because the code is present. Electrical supply, ground, wiring, connector condition, and reluctor integrity must also be considered. Keep hands, clothing, and test leads away from moving belts, pulleys, and fans during engine operation. If electrical testing requires access near moving components, use a qualified technician. While you are working on this vehicle, P0301 Ram covers a related problem worth checking.
Ram P0335 Repairs, Sensor Location, and Driving Safety
The correct repair depends on the confirmed cause and the specific Ram engine. A sensor replacement may solve an internal sensor failure, but wiring, connector, reluctor, or PCM problems require different repairs.
Where is the crankshaft position sensor on a Ram?
The CKP sensor location is not identical across every Ram 1500, 2500, and 3500. Its mounting position depends on the model year, engine family, and engine configuration.
Depending on the application, the sensor may be mounted near the engine block, bellhousing, or another area where it can detect the crankshaft’s sensing features. Some locations are relatively accessible, while others require additional component removal for inspection or replacement.
Use the vehicle-specific service manual or wiring and component-location diagrams to identify the correct sensor. Do not rely on a generic Ram 1500 location when working on a different engine or a heavy-duty truck.
Common repair options
- Replace the CKP sensor: Appropriate when testing confirms that the sensor has an internal failure and its supply, ground, connector, and mechanical sensing conditions are correct.
- Repair damaged wiring: Correct open circuits, shorts, damaged insulation, and poor electrical connections using the appropriate automotive repair procedure.
- Repair connector terminals: Address corrosion, loose terminal tension, broken locking features, and poor electrical contact.
- Repair a reference or ground circuit: Restore the specified electrical supply and ground after locating the actual circuit fault.
- Inspect mechanical sensing components: Correct damaged reluctor teeth, sensing rings, or related mechanical problems where the factory procedure identifies them.
- Diagnose PCM operation: Consider module repair, replacement, or programming only after confirming that external circuits and sensor signals meet factory specifications.
Is it safe to drive with P0335?
Driving with P0335 is not recommended when the engine stalls, struggles to start, runs roughly, or displays an unstable RPM signal. A crankshaft signal failure can cause the engine to stop unexpectedly, creating a dangerous situation in traffic.
Even if the truck currently runs normally, an intermittent fault can return without warning. A sudden stall may reduce power steering assistance and make braking more difficult, although the mechanical braking system remains available.
If the engine will not start, stalls repeatedly, or has a severe drivability problem, arrange towing rather than attempting to reach a repair shop under its own power. If the code is present without noticeable symptoms, arrange prompt diagnosis and avoid unnecessary trips, heavy towing, and hard acceleration.
A flashing check engine light is another reason to stop driving as soon as it is safe. It can indicate an active misfire capable of overheating and damaging the catalytic converter.
What affects P0335 repair costs?
The repair expense depends on which component or circuit has failed. A straightforward sensor replacement generally involves a different amount of work from diagnosing a damaged harness or accessing a difficult-to-reach sensing ring.
Several factors influence the final repair bill:
- Parts: The cost depends on the correct replacement sensor, connector components, wiring materials, or mechanical parts required.
- Labor hours: Sensor accessibility and the amount of component removal can significantly affect labor time.
- Diagnostic equipment: Advanced scanner functions, electrical testing, and oscilloscope analysis may require additional diagnostic time.
- Shop versus DIY: A repair performed by a qualified technician includes labor and diagnostic charges. A DIY repair may reduce labor expense but still requires suitable tools, service information, and mechanical experience.
- Programming requirements: PCM replacement or certain module-related repairs may require manufacturer-specific programming and setup.
Ask the repair facility to explain which test identified the failed component before authorizing replacement. A diagnosis that confirms the missing signal and identifies its cause is more useful than a parts estimate based only on the P0335 code.
Ram-Specific Diagnostic Information and Important Exceptions
Although P0335 has a standardized SAE definition, Ram service procedures can differ substantially between model years and engine families. Checking the correct factory information is especially important before testing circuits or ordering components.
A useful example comes from the 2009 Ram 2500 5.7L factory diagnostic procedure. It checks the crankshaft position sensor’s five-volt supply and signal circuits, then directs the technician toward additional circuit and sensor checks based on the measured results.
The procedure identifies a specific supply voltage range of 4.5-5.2 volts for its designated circuit. This shows why vehicle-specific diagnostic specifications matter. Applying a voltage range from a different manufacturer’s engine can lead to an incorrect diagnosis.
Older Ram trucks and PCM software updates
Some older Ram vehicles also have manufacturer service information addressing unusual P0335 or P0340 occurrences. For example, a 2004 Ram Truck technical service bulletin discusses potentially erroneous crankshaft or camshaft position codes on certain 5.7L vehicles built on or before December 16, 2003.
That bulletin describes a PCM software update for the specified application. It does not mean every older Ram with P0335 needs reprogramming. The vehicle must match the bulletin’s applicability requirements, and its other engine systems must be checked first.
You can review the relevant documentation here: 2009 Ram 2500 5.7L P0335 factory diagnostic information.
For an older truck, the applicable bulletin can be checked here: 2004 Ram P0335 and P0340 technical service bulletin.
Always verify the vehicle identification number, engine, production date, and bulletin applicability before using a software update as a repair strategy.
Do fuel trims and Mode $06 help diagnose P0335?
Fuel trims are useful when diagnosing a separate air-fuel mixture problem, but they are not the primary test for P0335. Short-term and long-term fuel trim readings that combine beyond roughly plus or minus 10 percent can indicate a mixture issue. Readings beyond approximately 25 percent may contribute to lean or rich trouble codes.
Mode $06 provides onboard diagnostic monitor results where supported. It can help investigate certain monitor failures, but it does not replace checking CKP live data, electrical circuits, and signal quality. Use manufacturer-enhanced diagnostic information when available.
A scanner that supports freeze-frame data and live engine RPM is a useful starting point. More advanced testing may require manufacturer-level access and an oscilloscope. Other faults on the same vehicle are covered in P0303 Ram.
Frequently Asked Questions
1. Is P0335 a generic or manufacturer-specific Ram code?
P0335 is a generic SAE powertrain code. The first character P identifies the powertrain system, and the second character 0 indicates a standardized generic code. The exact diagnostic thresholds and repair instructions can still differ between Ram engines.
2. Can a weak battery trigger P0335 on a Ram?
Low battery voltage can interfere with electronic control systems and produce misleading diagnostic symptoms. Check that the battery is adequately charged and that cranking voltage is appropriate before interpreting sensor readings. A healthy battery at rest is approximately 12.6 volts, while a typical running charging system produces approximately 13.5-14.7 volts.
3. Can P0335 appear without a check engine light?
Yes. A pending P0335 may be stored before the conditions required to illuminate the check engine light have been satisfied. A scanner capable of reading pending powertrain codes can reveal the fault earlier.
4. Will disconnecting the battery permanently remove P0335?
No. Disconnecting the battery does not repair the underlying fault, and permanent diagnostic trouble codes cannot simply be erased this way. The PCM must recognize that the malfunction has been corrected and that the appropriate monitor has passed.
5. Can P0335 affect a Ram with an automatic transmission?
Yes. The crankshaft position signal provides essential engine-speed and timing information regardless of whether the truck has an automatic or manual transmission. Transmission type does not eliminate the need for a functioning CKP circuit.
P0335 on a Ram indicates a crankshaft position sensor circuit or signal problem, not necessarily a failed sensor. Start with stored codes, freeze-frame information, and live engine RPM, then check the wiring, electrical supply, ground, and mechanical sensing components. Confirm the actual failure before replacing parts, and avoid driving a truck that stalls or has an unreliable engine-speed signal.
-
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
LearnP0335 Ram 1500: Diagnose Crankshaft Sensor Problems and Starting Issues
LearnP0305 Ram: Diagnose Cylinder 5 Misfires and Find the Cause
LearnP0344 Ram: Find the Cause of an Intermittent Camshaft Sensor Signal
LearnP0340 Ram: Diagnose Camshaft Sensor Problems and Restore Engine Performance
LearnP0306 Ram: Find the Cylinder 6 Misfire and Fix the Cause
LearnP0011 Kia Sorento: Find the Cause and Avoid Costly Repairs