Go-Parts
Cart 0
Your cart is empty
Add an item to see it appear here.
Wrenchy
Go-Parts Garage
Expert guides for diagnosing, troubleshooting, and replacing auto parts Expert guides for diagnosing and replacing auto parts
Browse All Articles →
🧭 Diagnostic Flowchart 🎬 Helpful Videos 🛍️ Shop This Part

P0335 on 2014-2018 Ram 2500 / 3500: Crank Sensor Fixes for Cummins & Hemi

P0335 on these Ram trucks indicates a crankshaft position sensor circuit fault, often causing a no-start or stalling. The most common fix is replacing the sensor itself. However, inspect the wiring for damage first, especially on the 6.7L Cummins. If codes P2610 or P0456 are also present, the issue is likely a software glitch requiring a dealer PCM update.

17 minutes to read 2014-2018 Ram 2500 / 3500
Most Likely Cause
Failed Crankshaft Position Sensor (CKP)
Difficulty
3/5
Est. Time
1.8 hrs
DIY Doable?
✅ Yes
Shop Labor
$150 – $450
Parts Price
$40 – $180
🚫 Do not drive — Driving is not recommended. The engine can stall without warning at any speed, creating a significant safety risk, or it may fail to restart, leaving you stranded.
Key Takeaways
  • P0335 is a critical code that causes stalling or no-start conditions; do not drive the vehicle.
  • Before replacing parts, check for other codes. If P2610 or P0456 are present, the issue is likely a software glitch that a Ram dealer must fix with a PCM update.
  • Always inspect the wiring harness for damage, especially on the 6.7L Cummins where chafing is common, before replacing the sensor.
  • The sensor location is different: driver's side for the 6.7L Cummins, passenger's side for the 6.4L Hemi.
  • If the sensor needs replacement, using an OEM part from Mopar or a trusted brand like Bosch or NTK is strongly recommended to ensure reliability.
The trouble code P0335 stands for "Crankshaft Position Sensor 'A' Circuit Malfunction." This means the Powertrain Control Module (PCM), the truck's main computer, has detected a problem with the signal from the crankshaft position sensor (CKP). The CKP sensor is essential, as it tells the PCM the exact rotational speed and position of the crankshaft. The PCM uses this information to control ignition timing and fuel injection; without a valid signal, the engine may run poorly, stall, or fail to start.

What's Unique About the 2014-2018 Ram 2500 / 3500

A 2014-2018 Ram 2500 HD truck, which has distinct P0335 diagnostic paths depending on whether it has the 6.7L Cummins or 6.4L Hemi engine.
Diagnosing a P0335 on the 2014-2018 Ram HD depends heavily on your engine. The Cummins is notorious for wiring chafing, while the Hemi often suffers from a PCM software glitch.

On the 2014-2018 Ram HD trucks, P0335 has distinct considerations for each engine. For the 6.7L Cummins, the wiring harness is notoriously prone to chafing against the engine block, often making a wiring repair the true fix, not the sensor itself. For both engines, but documented more formally for the Hemi, several Technical Service Bulletins (TSBs) indicate that P0335 can be triggered by a PCM software glitch, especially when it appears alongside codes like P2610. In these cases, replacing parts is futile, and a dealer software update is the only solution.

Symptoms You May Notice

  • Engine will not start
  • Engine stalls unexpectedly while driving
  • Long crank time before the engine starts
  • Rough idle or engine misfires
  • Check Engine Light is on
  • "Service Electronic Throttle Control" message may appear on the dash (6.4L Hemi).
  • Tachometer needle drops to zero during stalling or stumbling.
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the crankshaft position sensor when the actual fault is a chafed wiring harness.
  • Replacing hardware (sensor, wiring) when the vehicle has other codes (P2610, P0456) pointing to a known PCM software glitch that requires a reflash.

Most Likely Causes

A damaged automotive wiring harness with chafed insulation exposing the copper wire inside.
On the 6.7L Cummins, the crankshaft position sensor harness frequently rubs against the engine block or A/C components, causing the wires to chafe and short out.
  1. Failed Crankshaft Position Sensor (CKP) 🔴 High Probability → Shop Engine Crankshaft Position Sensor Sensors are exposed to significant heat and vibration, leading to internal failure over time. Stalling when the engine is hot that resolves after cooling down is a classic symptom of a failing sensor.
    How to confirm: Use a scan tool to monitor crankshaft RPM while cranking the engine. If the reading is zero or erratic, the sensor is likely bad. You can also test the sensor's resistance and voltage output against factory specifications.
    Typical fix: Replace the crankshaft position sensor. A relearn procedure with a capable scan tool may be required after replacement, though many owners report the system self-learns.
    Est. part cost: $40-$180
  2. Wiring Harness or Connector Damage 🟡 Medium Probability On the 6.7L Cummins, the CKP sensor harness is known to rub against the engine block, starter, or A/C components, causing wires to chafe and short out. On both engines, connectors can become contaminated with oil or damaged from heat. TSB Bulletin #18-016-23 and TSB Bulletin #18-020-26 both note that P0335 and the intermittent P0339 can be triggered by circuit issues that may require software enhancements or wiring inspection.
    How to confirm: Visually inspect the entire length of the wiring harness from the sensor to the PCM. Look for melted, chafed, or broken wires. Check the connector pins for corrosion or damage.
    Typical fix: Repair the damaged section of wire. If the connector is damaged, replace the pigtail. Extension harnesses are available from aftermarket suppliers like Fleece Performance to aid in routing the harness away from chafe points.
    Est. part cost: $15-$50
  3. PCM Software Glitch ⚪ Low Probability Multiple TSBs (e.g., 18-108-22 REV. A, 18-082-16) confirm that a software issue can cause the PCM to falsely set P0335, often accompanied by P2610 ('PCM Internal Engine Off Timer Performance') and sometimes P0456 ('EVAP System Small Leak'). TSB Bulletin #18-108-22 specifically identifies this cluster of codes as a known software-driven event.
    How to confirm: If P0335 is present with P2610 and/or P0456, a software issue is highly likely. A dealership can check your vehicle's VIN against their database for applicable TSBs.
    Typical fix: The dealership must reprogram the Powertrain Control Module (PCM) with updated software. This is not a DIY repair.
    Est. part cost: $0 (if under warranty) - $200

Rare But Worth Checking

  • Damaged Reluctor Ring: The toothed wheel on the crankshaft that the sensor reads can be damaged or have debris like rust flakes obscuring the teeth. This is rare and a much more involved repair, typically only considered after all other possibilities are exhausted.
  • Aftermarket Engine Tuner (6.4L Hemi): Some aftermarket performance tuners that plug in-line with the PCM have been reported by users to cause random P0335 codes and stalling. Removing the device is a key diagnostic step if one is installed.
  • Cross-Model Software Issues: While documented for other models, TSB Bulletin #18-135-22 notes that P0335 can sometimes appear alongside O2 sensor response codes (P0133, P0153), suggesting broader software diagnostic improvements may be available.

Diagnosis Steps

An OBD-II scan tool displaying live engine data, specifically monitoring engine RPM.
Monitoring the engine RPM via a scan tool while cranking is a definitive way to test the crankshaft position sensor. If it reads zero, the sensor or its wiring is likely at fault.
  1. Scan for Codes: Use an OBD-II scanner to confirm P0335 and check for any other codes. The presence of P2610 or P0456 is a strong indicator of a software issue. TSB Bulletin #18-107-22-REV-A notes that P0300 (Multiple Cylinder Misfire) may also be present alongside P0335.
  2. Check for TSBs: Especially if other codes are present, check with a dealer or online for TSBs related to P0335 for your specific VIN.
  3. Inspect Wiring and Connector: Visually inspect the CKP sensor's wiring harness for any signs of chafing, melting, or corrosion. This is especially important on the 6.7L Cummins. Unplug the sensor and check for clean, tight-fitting pins.
  4. Monitor Live Data: Use a scan tool to watch the Crankshaft RPM (CKP RPM) data pid while cranking the engine. A reading of 0 or an erratic signal points to a bad sensor or a complete circuit failure.
  5. Test the Sensor Circuit: If you have a multimeter, you can test the circuit at the sensor connector. You should find a 5-volt reference, a good ground, and a signal wire that fluctuates as the engine is turned by hand.
  6. Inspect the Sensor and Reluctor Ring: If the sensor is removed, inspect its tip for metal debris or damage. If possible, inspect the reluctor ring through the sensor hole for damaged teeth.
  7. Replace the Sensor: If the sensor is determined to be faulty, replace it. Using an OEM part is highly recommended for reliability.

Parts You'll Likely Need

  • Crankshaft Position Sensor (6.7L Cummins) (OEM #68004142AA) — This is the most common hardware failure for code P0335. The sensor fails from heat and vibration, causing a loss of signal. Note that on the 6.7L, the same sensor is often used for both the crankshaft and camshaft positions.
    Trusted brands: Mopar, Cummins, Bosch
    OEM price range: $70-$120
    Aftermarket price range: $40-$80
  • Crankshaft Position Sensor (6.4L Hemi) (OEM #5149167AF) — This is the most common hardware failure for code P0335. The sensor fails from heat and vibration, causing a loss of signal.
    Trusted brands: Mopar, NTK
    OEM price range: $80-$170
    Aftermarket price range: $40-$70

Related Codes That Often Appear With This One

  • P2610 — Per multiple TSBs, this code for 'PCM Internal Engine Off Timer Performance' often appears with P0335 due to a PCM software issue that requires a reflash.
  • P0456 — This 'EVAP System Small Leak' code can also be triggered by the same PCM software glitch that causes P0335, as noted in TSBs.
  • P0300 — A faulty crankshaft position sensor signal disrupts ignition and fuel timing, which can lead to random/multiple cylinder misfires. TSB Bulletin #18-107-22-REV-A explicitly links this misfire code to the P0335 diagnostic path.
  • P0339 — This code for 'Crankshaft Position Sensor 'A' Circuit Intermittent' strongly points to a wiring or connector issue that causes the signal to drop out, rather than a complete sensor failure. TSB Bulletin #18-016-23 indicates this may be resolved via software updates in some configurations.

Technical Service Bulletins (TSBs) & Recalls

A mechanic using a laptop and a J2534 pass-through device to flash or update a vehicle's Powertrain Control Module (PCM).
Multiple TSBs for the 2014-2018 Ram HD indicate that a PCM software glitch can falsely trigger a P0335, requiring a dealership software update rather than parts replacement.
  • TSB 18-108-22 REV. A: Addresses P0335 with P2610/P0456, requires PCM reflash.
  • TSB 18-082-16: Addresses P0335 with P2610, requires PCM reflash.
  • TSB 18-088-16 REV. A: Addresses stalling in high temperatures with P0335 and P2610, fixed by PCM software update.
  • TSB Bulletin #18-108-22: Confirms that technicians may find P0335, P2610, and P0456 set simultaneously, requiring a software update.
  • TSB Bulletin #18-107-22-REV-A: Notes that P0335 may appear with P0456, P2610, and P0300 (Multiple Cylinder Misfire).

Platform-Specific Known Issues

  • PCM Software Glitch (TSB): A known series of TSBs (e.g., 18-108-22 REV. A, 18-082-16) indicates that P0335, when appearing with P2610 and P0456, is often caused by a PCM software glitch that requires an update from a dealer, not a hardware replacement.
  • Cummins Wiring Harness Chafing: The wiring harness for the CKP sensor on the 6.7L Cummins is known to chafe against the engine block, starter motor, or A/C components, causing shorts or open circuits that trigger P0335.
  • Cold Start Misfires: According to TSB Bulletin #18-020-26, P0335 and P0339 may be accompanied by cylinder misfires (such as P0306) specifically during cold start catalyst heating.

Mechanic-Grade Diagnostic Values

  • 6.7L Cummins CKP Sensor 5V Reference (Pin 1) — expected: 4.75-5.25 Volts with key-on, engine-off.. Failure: Voltage outside this range indicates a problem with the PCM or the wiring.
  • 6.7L Cummins CKP Sensor Ground Circuit Resistance (Pin 3) — expected: Less than 5.0 Ohms of resistance to the PCM ground.. Failure: Resistance above 5.0 Ohms indicates a poor ground connection or an open wire.
  • 6.4L Hemi CKP Sensor 5V Reference (F855 Circuit) — expected: Approximately 5.0 Volts with key-on, engine-off.. Failure: No voltage or low voltage points to an open/short in the supply wire or a PCM fault.
  • 6.4L Hemi CKP Sensor Ground Circuit Resistance (K900 Circuit) — expected: Below 5.0 Ohms to a known good ground.. Failure: Resistance above 5.0 Ohms indicates an open or high resistance in the ground circuit.
  • CKP Sensor Signal (AC Voltage while cranking) — expected: A fluctuating AC voltage, typically between 0.3V and 1.5V, as the engine is cranked.. Failure: A steady 0V or a voltage that doesn't change indicates a failed sensor or circuit.

Scan Tool Commands That Help

  • wiTECH or equivalent professional scan tool: CKP Pattern Relearn / Crank Pattern Learn — After replacing the crankshaft position sensor or performing major engine work. This function allows the PCM to learn the new sensor's specific signal pattern for accurate misfire detection. However, many owners report this is not always necessary as the system may self-learn over time.

Wiring & Ground Locations

  • 6.7L Cummins CKP Connector — Driver's side of the engine block, just behind the starter.. This is the primary connection point for testing. Pin 1 is the 5V reference (Violet/White wire), Pin 2 is the signal (often a Blue wire), and Pin 3 is the ground (Black/Dark Blue wire).
  • 6.4L Hemi CKP Connector — Passenger side of the engine block, near the transmission bell housing.. This is the connection point for the Hemi sensor. The (F855) circuit is the 5-volt supply, and the (K900) circuit is the sensor ground.
  • 6.7L Cummins Harness Chafe Point — The harness is known to rub against the engine block, the starter motor body, and A/C components.. This is a very common failure point that can cause an intermittent or total loss of the CKP signal, mimicking a failed sensor.

Real Owner Repair Stories

  • RamForum.com user 'zeddy' (2017 Ram 2500 6.4L Hemi, 52,000 miles) — Sputtering and stalling, 'Service electronic throttle' message, P0335 code, rough idle, long crank, would not rev over 2500 RPM.
    ❌ Tried (didn't work) Disconnecting an aftermarket pedal commander
    ✅ What actually fixed it The dealership diagnosed and replaced both the crankshaft position sensor and the associated wiring harness.

OEM Part Supersession History

  • 5149167AD, 5149167AE5149167AF — Standard part revision for improved reliability or manufacturing process change.
    Heads up: These parts are for the 6.4L Hemi engine and are generally interchangeable, but using the latest revision (5149167AF) is recommended.
  • 2872277, 5179099AA, 5179099AB68004142AA (Mopar) / 4921684 (Cummins) — Standard part updates and consolidation.
    Heads up: These parts are for the 6.7L Cummins. While older numbers may work, it is best to use the latest revision for reliability. Note that Mopar and Cummins may use different part numbers for the same component.

Model Year Variations Within This Range

  • 2014+: The 6.4L Hemi V8 was introduced as an option in 2014, creating a major diagnostic split for P0335. The sensor location, part number, and wiring are completely different from the 6.7L Cummins.

Diagnostic Flowchart

Used vs. New Parts: Buying Guide for This Vehicle

When a used part is the smart pick: A used wiring harness pigtail from a junkyard can be a cost-effective choice if only the connector is damaged and the donor vehicle's wiring is in good condition. For the sensor itself, new is strongly recommended.

Donor-vehicle mileage cap: roughly under 80000 miles for the part to have meaningful remaining life.

What to inspect on the donor part:

  • For a wiring pigtail, ensure there are no signs of brittleness, cracking, or previous repairs.
  • Check that the connector's locking tab is intact and functional.
  • Verify the donor vehicle is from a dry climate to minimize corrosion risk.
  • Ensure at least 6-8 inches of wire is left on the pigtail for easier splicing.

OEM-only on this vehicle (don't cheap out):

  • Crankshaft Position Sensor

Aftermarket brands forum-validated for this vehicle:

  • Bosch (for Cummins)
  • NTK (for Hemi)
  • Cummins (OEM)

Brands owners have reported issues with on this vehicle:

  • Unbranded, 'white-box' sensors from online marketplaces are frequently reported on forums to fail prematurely or be dead-on-arrival.

Real Owner Stories

Aggregated from forums and TSBs cited above. Mileages and costs reflect what owners reported in those sources.

2017 Ram 2500 6.4L HEMI — 52000 miles

Symptoms: Truck started sputtering and stalling, 'Service electronic throttle' message appeared, P0335 code stored. Engine would die, have a long crank time, and would not rev over 2500 RPM.

What fixed it: The dealership replaced the crankshaft position sensor and the wiring harness.

Cost: $927

Source hint: RamForum.com - P0335 HELP

2014 Ram 2500 6.4L Hemi

Symptoms: Experienced an unexpected engine stall and retrieved a P0335 code.

What fixed it: Replaced the crankshaft position sensor located on the passenger side of the engine.

Source hint: HDRAMS.com

Frequently Asked Questions

My 2017 Ram 2500 6.4L Hemi is showing a 'Service Electronic Throttle Control' message along with P0335. Is the throttle body the problem?
Not necessarily. According to owner reports for the 6.4L Hemi, the 'Service Electronic Throttle Control' message can appear specifically due to a failing crankshaft position sensor (CKP). In one case, replacing the sensor and wiring harness resolved this message and the P0335 code.
Does TSB 18-108-22 REV. A apply to my truck if I have P0335 and P2610?
Yes, TSB 18-108-22 REV. A specifically addresses instances where P0335 appears alongside P2610 (PCM Internal Engine Off Timer Performance) and P0456. It indicates the fix is a PCM software reflash rather than replacing hardware.
I have a 6.7L Cummins Diesel and the P0335 code keeps returning. Could it be a wiring issue?
Yes. On the 6.7L Cummins, the CKP sensor harness is known to chafe against the engine block, starter, or A/C components. This can cause shorts or open circuits. Aftermarket extension harnesses, such as those from Fleece Performance, are often used to reroute the wiring away from these chafe points.
Will the P0335 code cause my tachometer to stop working?
Yes, a common symptom of a failing crankshaft sensor on these trucks is the tachometer needle dropping to zero during stalling or engine stumbling.
Is there a TSB for stalling in high temperatures on the Ram 2500?
Yes, TSB 18-088-16 REV. A addresses stalling in high temperatures specifically when accompanied by codes P0335 and P2610. The recommended fix is a PCM software update.
Can I use any aftermarket sensor to fix P0335 on my Cummins?
While Bosch is a known good aftermarket brand for the Cummins, forum reports suggest avoiding unbranded 'white-box' sensors from online marketplaces as they frequently fail prematurely or arrive dead-on-arrival. OEM parts are highly recommended.
Ram 3500 6.7L code p0335 crankshaft position sensor replacement
Ram 3500 6.7L code p0335 crankshaft position sensor replacement
P0335 code for dodge 5 minute  FIX!
P0335 code for dodge 5 minute FIX!
New Crank Sensor, Still has P0335,P0336. How to Diagnose DIY
New Crank Sensor, Still has P0335,P0336. How to Diagnose DIY
P0335 Code: Crankshaft Position Sensor “A” Circuit – Symptoms, Causes & Fix
P0335 Code: Crankshaft Position Sensor “A” Circuit – Symptoms, Causes & Fix
Wrenchy
Article researched & written by
Go-Parts' AI research assistant. Every article is backed by live web research, verified OEM data, and real technician knowledge — so you get accurate, up-to-date information you can trust.
Meet Wrenchy → Updated May 30, 2026

The information in this article is provided for general reference and educational purposes only. Vehicle specifications, procedures, and part compatibility can vary by production date, trim level, and region. Always consult your vehicle's factory service manual and verify part numbers before purchasing or performing repairs. Safety-critical components such as airbags, seat belts, and braking systems should be installed by a qualified professional.

Year Coverage
This article covers the OBD-II Code P0335 for:
  • Ram 2500 / 3500: 20142015201620172018
In this article
🧭 Diagnostic Flowchart
Jump to ▴

Email This Guide

We'll send you a link to this article so you can read it later or share it.

Added to cart · Part