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 →
🎬 Helpful Videos 🛍️ Shop This Part

P0335 on 2011-2018 Ram 1500 5.7L Hemi: Crankshaft Sensor Circuit Causes and Fixes

P0335 on a 2011-2018 Ram 1500 with the 5.7L Hemi engine indicates a problem with the crankshaft position sensor circuit. The most common fix is replacing the sensor itself, but damaged wiring is a very close second. Expect to pay $20-$60 for an aftermarket sensor or $80-$170 for an OEM Mopar part (P/N: 5149167AF). Before replacing parts, check for TSBs, as a PCM software update is a known fix for 2014-2016 models.

20 minutes to read 2011-2018 Ram 1500
Most Likely Cause
Failed Crankshaft Position Sensor
Difficulty
3/5
Est. Time
1.6 hrs
DIY Doable?
✅ Yes
Shop Labor
$187 – $550
Parts Price
$20 – $172
🚫 Do not drive — Driving is not recommended. A failing crankshaft position sensor can cause the engine to stall unexpectedly at any time, including at high speeds, which is a major safety risk. It can also lead to a no-start condition, leaving you stranded.
Key Takeaways
  • P0335 is a critical code that should be addressed immediately, as it can cause the engine to stall without warning or fail to start.
  • The most likely cause is a failed crankshaft position sensor, but you must inspect the wiring harness for heat damage or chafing before replacing parts.
  • For 2014-2015 models, check with a dealer for any available PCM software updates, as several TSBs address this code.
  • The sensor is located on the lower passenger side of the 5.7L Hemi engine block and is held by a single 10mm bolt.
  • Using a quality Mopar or reputable aftermarket (like NTK) sensor is recommended to avoid repeat failures.
The trouble code P0335 stands for "Crankshaft Position Sensor 'A' Circuit Malfunction." This means the Powertrain Control Module (PCM), your truck's main computer, is not receiving a valid signal from the crankshaft position sensor (CKP). The CKP sensor's job is to report the exact rotational speed and position of the crankshaft to the PCM. This information is essential for the PCM to correctly time fuel injection and ignition spark. Without a reliable signal, the engine may run poorly, stall, or fail to start at all.

What's Unique About the 2011-2018 Ram 1500

A 2011-2018 Ram 1500 with the 5.7L Hemi engine, highlighting the unique electrical architecture of this generation.
The 2011-2018 Ram 1500 5.7L Hemi often experiences P0335 due to specific wiring harness routing and PCM software logic.

On this generation of Ram 1500, the P0335 code is frequently more than just a bad sensor. Several Technical Service Bulletins (TSBs) link this code to other seemingly unrelated codes, like P2299 (Brake Pedal Position / Accelerator Pedal Position Incompatible), suggesting that PCM software glitches or complex wiring harness issues can be the root cause. TSB 18-103-16 REV. B specifically addresses P0335 on 2014-2015 models, recommending a software flash. 🎬 Watch: How this owner fixed a P0335 on a 2014 Ram. In some cases, Ram even asked technicians to contact engineering before replacing the sensor, indicating a deeper known issue. Therefore, a thorough inspection of the wiring harness for heat damage or chafing is just as important as checking the sensor itself.

Symptoms You May Notice

  • Check Engine Light is on
  • Engine cranks but will not start
  • Engine stalls unexpectedly, sometimes when hitting bumps or braking hard
  • Rough idle or sputtering
  • Engine misfires (may be accompanied by code P0300)
  • Reduced engine power or 'limp mode'
  • Long crank time before the engine starts
  • Tachometer needle drops to zero while the engine is stumbling or stalling.
⚠️ Don't Waste Money on the Wrong Fix
  • Replacing the Camshaft Position Sensor. P0335 specifically points to the crankshaft sensor circuit. The camshaft sensor is a different part (Mopar P/N 5149054AC for the 5.7L) with its own codes (e.g., P0340, P0390).
  • Ignoring the wiring. Many owners replace the sensor only to have the code return because the underlying issue was a chafed or melted wire that was not properly inspected.
  • Replacing the PCM prematurely. Before condemning the expensive computer, it is critical to rule out the sensor, wiring, and any available software updates.

Most Likely Causes

Side-by-side comparison of a healthy crankshaft sensor connector versus one with heat damage and melted insulation.
While a failed sensor is common, the 'real' cause on many Rams is a melted or chafed wiring harness (right) caused by proximity to exhaust heat.
  1. Failed Crankshaft Position Sensor 🔴 High Probability The sensor is a sensitive electronic component exposed to high heat and vibration at the lower rear of the engine block, leading to eventual failure. Many owners and mechanics strongly recommend using the OEM Mopar sensor, as aftermarket versions are known to cause compatibility issues or fail prematurely.
    How to confirm: After ruling out wiring issues, test the sensor's output with a multimeter or oscilloscope. A key diagnostic check is to monitor Engine RPM on a scan tool while cranking; a reading of '0' strongly points to a bad sensor or circuit issue. Given the low part cost, replacement is a common primary diagnostic step.
    Typical fix: Replace the crankshaft position sensor. It is held in by a single 10mm bolt. Applying a small amount of engine oil to the new sensor's O-ring can ease installation. 🎬 See this walkthrough for replacing the sensor on a 2018 Hemi. After replacement, a 'crankshaft variation relearn' procedure with a capable scan tool may be required.
    Est. part cost: $20-$170
  2. Wiring Harness or Connector Damage 🟡 Medium Probability The wiring harness runs near hot exhaust and transmission components, making it susceptible to melting, chafing against the engine block, or becoming brittle and cracking. Rodent damage has also been reported by owners. Forum users frequently report that fixing a wiring issue resolved the code after a new sensor did not, especially when symptoms appear after hitting a bump.
    How to confirm: Visually inspect the entire harness from the sensor to the PCM. Pay close attention to the pigtail connector at the sensor. Wiggle the harness with the engine running (if possible) to see if the fault can be triggered. Check for 5-volt reference (F855 circuit), ground (K900 circuit), and signal (K24 circuit) at the connector.
    Typical fix: Repair the damaged section of wire or replace the connector pigtail. In severe cases, a portion of the engine harness may need replacement, which can be costly; one owner was quoted $927 by a dealer for this repair. Use heat-reflective tape or zip ties to secure the new harness away from heat sources.
    Est. part cost: $15-$300
  3. PCM Software Glitch ⚪ Low Probability Multiple TSBs have been issued for 2014-2016 models that recommend a PCM software update (reflash) to correct issues where P0335 is set incorrectly. TSB #18-103-16 REV. B is for 2014-2015 models and TSB #18-006-16 REV. B is for 2016 models. These flashes often resolve P0335 when it appears with other codes like P2299 or P2610.
    How to confirm: A Ram dealership or a properly equipped independent shop can check your vehicle's VIN against available TSBs to see if a software update is required. This should be a primary check for 2014-2016 model years.
    Typical fix: The dealer performs a PCM reflash to install the updated software using a wiTECH scan tool. This typically costs between $150-$350 if the vehicle is out of warranty.
    Est. part cost: $0-$350

Rare But Worth Checking

  • Damaged Reluctor Ring: The reluctor ring (or tone wheel) on the crankshaft is what the sensor reads. While very rare on the Hemi, damage to its teeth from debris or improper engine service can cause an erratic signal and trigger P0335. This is typically only suspected after sensor and wiring issues have been ruled out, as inspection requires significant labor. This issue is much more common on the 3.0L EcoDiesel engine, which had a recall (W58 / NHTSA 20V-475) for delaminating tone wheels.
  • Faulty Powertrain Control Module (PCM): This should be the last consideration after all other possibilities are exhausted. A PCM failure can cause a P0335 code, but misdiagnosing a bad PCM is a common and costly mistake.

Diagnosis Steps

  1. Check for Technical Service Bulletins (TSBs). Especially for 2014-2016 models, a PCM software update may be the required fix. A dealer can check your VIN for applicability.
  2. Scan for other DTCs. Note if codes like P0300, P2299, P0339, or P0642 are present, as they can provide critical diagnostic clues.
  3. Check Live Data. Use a scan tool to monitor the 'Engine RPM' PID while cranking the engine. If the reading is '0' or erratic, it confirms a fault in the CKP sensor circuit.
  4. Perform a thorough visual inspection. Carefully examine the crankshaft position sensor's wiring harness for any signs of melting, chafing, or corrosion, particularly where it runs near the exhaust or transmission.
  5. Inspect the connector. Unplug the sensor and check for corrosion, oil contamination, or bent pins. Ensure the red locking tab is secure.
  6. Test the circuit. Using a multimeter with the key on, check for a 5-volt reference (F855 circuit) and a good ground (K900 circuit) at the connector.
  7. Test or Replace the Sensor. If the wiring and power/ground are good, the sensor itself is the most likely culprit. Given its relatively low cost, many DIYers will replace it at this stage. A more advanced test involves using an oscilloscope to view the sensor's square wave pattern while cranking 🎬 Watch: A step-by-step guide to replacing the crankshaft position sensor. the engine.
  8. Perform Crankshaft Variation Relearn. After replacing the sensor, it may be necessary to perform a relearn procedure using a capable scan tool to sync the new sensor with the PCM.
  9. Inspect the Reluctor Ring. If a new sensor and verified good wiring do not solve the problem, the issue may be with the reluctor ring on the crankshaft, though this is rare and requires significant disassembly to inspect.

Parts You'll Likely Need

A genuine Mopar crankshaft position sensor for a 5.7L Hemi engine.
Using an OEM Mopar sensor is highly recommended for the 5.7L Hemi to avoid the compatibility issues common with aftermarket sensors.
  • Crankshaft Position Sensor (OEM #5149167AF) — This sensor is the most common component to fail in the circuit, triggering the P0335 code.
    Trusted brands: Mopar, NTK, Delphi
    OEM price range: $83-$172
    Aftermarket price range: $20-$60

Related Codes That Often Appear With This One

  • P0300 — A faulty crankshaft position sensor can disrupt timing enough to cause random engine misfires as the PCM loses its primary reference for spark timing.
  • P2299 — TSB #18-103-16 REV. B and #18-006-16 REV. B link P0335 with P2299 ('Brake Pedal Position / Accelerator Pedal Position Incompatible') on 2014-2016 models, indicating a PCM software update is the specified fix to resolve both codes simultaneously.
  • P0339 — This code for 'Crankshaft Position Sensor 'A' Circuit Intermittent' often appears with P0335. It strongly suggests a wiring or connector issue that causes the signal to drop out, rather than a complete failure.
  • P0642 — This code for 'Sensor Reference Voltage 1 Circuit Low' can appear with P0335 because the crankshaft position sensor shares its 5-volt reference circuit with other sensors. A short in another sensor on the same circuit, like the engine oil pressure sensor, can drag the voltage down and cause multiple codes.

Technical Service Bulletins (TSBs) & Recalls

  • 18-103-16 REV. B: For 2014-2015 models, recommends a PCM flash to fix P0335, P2299, P0116, and U1424-00.
  • 18-006-16 REV. B: For 2016 models, recommends a PCM flash to address power

Platform-Specific Known Issues

  • The crankshaft position sensor is located on the passenger side of the engine block, near the rear, just above the transmission cooler lines, making access tight.
  • The sensor can become seized in the engine block due to corrosion or a swollen O-ring, making removal difficult. In some cases, it may break apart during removal, requiring careful extraction of the remaining pieces.
  • Several TSBs (e.g., 18-103-16 REV. B for 2014-15, 18-006-16 REV. B for 2016) exist that require a PCM software update to fix erroneous P0335 codes, often set with P2299.

Mechanic-Grade Diagnostic Values

  • Crankshaft Sensor 5V Reference — expected: Approximately 5.0 Volts DC at the sensor connector with key on, engine off.. Failure: Voltage below 4.5V or absent suggests an open/short in the supply wire or a PCM fault.
  • Crankshaft Sensor Ground Circuit Resistance — expected: Below 5.0 Ohms between the ground pin at the sensor connector and the chassis ground.. Failure: Resistance above 5.0 Ohms indicates an open or high resistance in the ground circuit (K900).
  • Crankshaft Sensor Signal (Oscilloscope) — expected: A digital square wave pattern that switches between approximately 0V and 5V as the engine is cranked.. Failure: A flat line (stuck high or low) or an erratic/misshapen waveform indicates a faulty sensor, wiring issue, or damaged reluctor ring.
  • Crankshaft Sensor Signal (Multimeter - Average Voltage) — expected: A low DC voltage reading, often around 350-600 millivolts (0.35V - 0.6V), while cranking. This is the meter's attempt to average a square wave signal.. Failure: A reading of 0V or a steady 5V indicates a lack of signal. Note: This method is less reliable than an oscilloscope but can confirm a complete lack of signal.

Scan Tool Commands That Help

  • wiTECH or capable aftermarket scan tool: Crankshaft Position Relearn / Cam/Crank Relearn — This function is recommended after replacing the crankshaft sensor or any timing components. It calibrates the PCM to the precise position of the sensor relative to the reluctor ring to ensure accurate timing, which can prevent rough running or a return of the code.

Wiring & Ground Locations

Location of the crankshaft position sensor on the lower rear of the 5.7L Hemi engine block near the transmission.
The sensor is located at the lower rear of the engine block. Inspect the harness carefully as it routes past high-heat areas near the exhaust.
  • G905A — On the rear of the left (driver's side) cylinder head. Another source places a key engine ground on the passenger side, connecting the rear of the cylinder head to the frame, accessible from the wheel well.. This is a primary ground point for the ignition system and other engine sensors. A loose or corroded ground here can cause erratic signals and multiple electrical faults, including a false P0335 code.
  • CKP Sensor Connector — On the passenger side of the engine block, near the rear, just above the transmission cooler lines.. This is the direct connection to the sensor. The three pins to test are the 5-volt reference (often on an F855 circuit), the sensor ground (K900 circuit), and the signal wire (K24 circuit).

Real Owner Repair Stories

  • ALLDATA Tech-Assist Case (2006 Dodge Ram 1500 5.7L V8 (similar 5V reference circuit design)) — Limp mode/no power, codes P0335, P0642 (Sensor Reference Voltage 1 Circuit Low), and P2122 (APP Sensor Circuit).
    ❌ Tried (didn't work) Testing the CKP sensor circuit in isolation.
    ✅ What actually fixed it A shorted engine oil pressure sensor, which was on the same 5-volt reference circuit, was dragging the voltage down from 5V to 1.6V for all sensors on that circuit. Replacing the oil pressure sensor restored the 5V reference and cleared all codes.
  • RamForum.com user 'zeddy' (2012 Ram 1500) — Sputtering and stalling, 'service electronic throttle' message, P0335 code.
    ❌ Tried (didn't work) Owner diagnosis
    ✅ What actually fixed it A dealership diagnosed and replaced both a failed crankshaft sensor and a damaged section of the wiring harness. The total repair cost was $927, illustrating how wiring damage can significantly increase the cost over a simple sensor swap.
  • YouTube video (2014 Dodge Ram 1500 5.7L Hemi) — Engine would crank but not start, P0335 code present.
    ✅ What actually fixed it The crankshaft position sensor had failed and broke into pieces during removal. Replacing the sensor and clearing the codes resolved the no-start condition.

OEM Part Supersession History

  • 5149167AD, 5149167AE5149167AF — Standard part revision and update by the manufacturer.
    Heads up: The part is listed for both 3.6L and 5.7L engines, indicating broad compatibility within the platform.

Model Year Variations Within This Range

  • 2014-2016: These model years are specifically called out in multiple Technical Service Bulletins (TSBs) where a PCM software update is the prescribed fix for erroneously set P0335 codes, often appearing with P2299 or P2610.
  • 2011-2018: While the 5.7L Hemi engine remained fundamentally the same throughout this generation, there were no major internal changes that would affect the diagnosis of P0335. The body style also remained consistent from 2009-2018. The eTorque mild-hybrid system was not introduced on the 5.7L Hemi until the fifth generation in 2019.

Diagnostic Flowchart

Start by checking for specific model-year TSBs and monitoring live RPM data. The 5.7L Hemi's sensor location makes it prone to heat damage, and aftermarket sensors frequently cause compatibility issues.
→ Stop and check for TSBs (18-103-16 REV. B for 2014-15, or 18-006-16 REV. B for 2016). A PCM software reflash at the dealer is likely required to fix an erroneous P0335 before replacing any parts.
Connect a scan tool and monitor the 'Engine RPM' PID while cranking the engine. What is the reading?
Unplug the Crankshaft Position Sensor (located on the passenger side rear block, just above the transmission cooler lines). Turn the key ON. Do you have a 5-volt reference on the F855 circuit and good ground on the K900 circuit?
→ Trace the wiring harness back to the PCM. Look for melted wires near the hot exhaust/transmission components or rodent damage. Repair the harness and secure it with heat-reflective tape.
The circuit is good, meaning the sensor has likely failed. Remove the single 10mm bolt holding the sensor. Does the sensor pull out easily?
→ Install a new OEM Mopar sensor (lube the O-ring with engine oil to prevent future seizing). After installation, perform a 'Crankshaft Variation Relearn' with a capable scan tool.
→ This is a known quirk due to a swollen O-ring or corrosion. Carefully extract the remaining pieces from the engine block, ensuring they don't fall inside. Install a new OEM Mopar sensor and perform the relearn procedure.
With the engine running (if possible), wiggle the wiring harness near the sensor and its pigtail connector. Does the engine stumble, stall, or does the tachometer drop to zero?
→ Inspect the pigtail connector for a loose red locking tab, bent pins, or chafing against the engine block. Replace the connector pigtail or repair the damaged wire section.
→ The sensor may be failing intermittently under high heat or vibration. Replace it with an OEM Mopar sensor (avoid aftermarket brands for this specific Hemi application) and perform a Crankshaft Variation Relearn.

Real Owner Stories

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

2011 Ram 1500 5.7L Hemi

Symptoms: Received code P0335 and went into limp mode after hard braking or hitting a rough railroad crossing.

What fixed it: A shop initially replaced the sensor, but the problem returned under the same conditions, strongly indicating a wiring harness issue rather than a sensor failure.

Source hint: DodgeForum.com thread titled 'P0335' (User 'Spacenerd')

Ram 1500 5.7L Hemi

Symptoms: Check engine light with code P0335.

What fixed it: Dealer diagnosed a bad crankshaft sensor and wiring harness. The repair was not covered under the powertrain warranty as it was deemed a 'wear and tear' item.

Cost: $927-$927

Source hint: RamForum.com thread titled 'P0335 HELP' (User 'zeddy')

2014 Ram 1500 5.7L Hemi

Symptoms: Crank/no-start condition accompanied by code P0335.

What fixed it: Replaced the crankshaft position sensor. The old sensor had failed and was seized in the block, coming out in pieces during removal.

Source hint: YouTube video titled 'Dodge Ram 1500 5.7 Hemi P0335 Crankshaft Sensor Fixed! 2014'

Frequently Asked Questions

Is there a TSB for code P0335 on my 2014-2016 Ram 1500?
Yes, multiple Technical Service Bulletins exist for these model years. TSB 18-103-16 REV. B applies to 2014-2015 models, and TSB 18-006-16 REV. B applies to 2016 models. Both recommend a PCM software update (reflash) to fix erroneous P0335 codes, which often appear alongside codes like P2299.
Will my powertrain warranty cover the crankshaft position sensor replacement?
It may not. According to owner reports on Ram forums, some dealerships consider the crankshaft sensor and its wiring harness to be 'wear and tear' items, excluding them from standard powertrain warranty coverage. One owner was quoted $927 out-of-pocket for a sensor and harness repair.
Why does my Ram 1500 stall and throw P0335 only when I hit a bump or brake hard?
This is a strong indicator of a wiring harness issue rather than a failed sensor. The harness runs near hot exhaust and transmission components, making it susceptible to melting or chafing against the engine block. Hitting a bump or braking hard shifts the damaged wires, causing a temporary short or loss of signal.
Should I use an aftermarket crankshaft position sensor for my 5.7L Hemi?
Many owners and mechanics strongly recommend using the OEM Mopar sensor. Aftermarket versions are known to cause compatibility issues or fail prematurely in the 5.7L Hemi engine.
Where is the crankshaft position sensor located on the 5.7L Hemi?
It is located on the passenger side of the engine block, near the rear, just above the transmission cooler lines. Access is tight, and the sensor can sometimes become seized in the block due to corrosion or a swollen O-ring, occasionally breaking apart during removal.
Do I need to do anything special after replacing the sensor?
Yes, after replacing the crankshaft position sensor, a 'crankshaft variation relearn' procedure using a capable scan tool may be required to sync the new sensor with the PCM.
Dodge Ram 1500 5.7 Hemi P0335 Crankshaft Sensor Fixed! 2014
Dodge Ram 1500 5.7 Hemi P0335 Crankshaft Sensor Fixed! 2014
How to replace the crank position sensor on a 2018 5.7 Ram
How to replace the crank position sensor on a 2018 5.7 Ram
Replacing the Crankshaft Position Sensor on a 5.7 Hemi
Replacing the Crankshaft Position Sensor on a 5.7 Hemi
2006 Dodge Ram 1500 mega cab 5.7 hemi. EASY Crankshaft position sensor removal
2006 Dodge Ram 1500 mega cab 5.7 hemi. EASY Crankshaft position sensor removal
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 Jul 21, 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 (Deep Dive) for:
  • Ram 1500: 20112012201320142015201620172018
In this article
🎬 Helpful Videos
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