Troubleshoot

P0335 Code: Crankshaft Position Sensor Circuit — Causes & Fix

A dark navy blue Honda Civic sedan on a suburban driveway with its hood open and a socket set laid out on the ground beside the front wheel

P0335 means the engine control module is not getting a usable signal from the crankshaft position sensor. That signal is the engine’s heartbeat — it tells the module where the crankshaft is at every instant, which is what spark timing and injector timing are calculated from. Without it, most engines will not start, and one that is already running will cut out the moment the signal disappears.

The word that matters in the official description is circuit. P0335 reports that the signal is missing or implausible; it does not say the sensor is at fault. Three quite different things sit in that circuit — the sensor, the wiring and connector feeding it, and the toothed reluctor ring on the crankshaft or flexplate that the sensor actually reads — and only the first is a cheap part. This guide covers what the code means, the eight causes worth checking and in what order, how to test the circuit properly, what each repair costs, and why this is one of the few codes that should stop you driving.

Likely causeTelltale signTypical cost
Failed crankshaft position sensorStarts cold, stalls once hot, restarts after cooling$120 to $400
Wiring or connector damageFault comes and goes with bumps or engine movement$100 to $400
Debris on the sensor tipRecent oil leak or clutch work, gradual onset$120 to $400
Wrong or poor-quality replacement sensorCode returned within days of a sensor change$60 to $250
Damaged reluctor or tone ringSignal drops out at one point in every revolution$500 to $1,500
Stretched timing chain or slipped beltP0016 or P0017 correlation codes alongside$800 to $2,500
Reference voltage or ground faultCamshaft or other sensor codes set at the same time$100 to $400
Failing engine control moduleNothing else tests faulty and the fault persists$600 to $1,500

Stop driving if the engine has already stalled once. P0335 is not a code you nurse along. When the crankshaft signal drops out, the engine stops immediately — and with it goes power steering assist and the vacuum that operates the brake servo, so the car becomes heavy to steer and needs far more pedal effort to stop. A sensor that has stalled the car once in traffic will do it again, and the next time may be at speed or in a junction. Have it recovered rather than driven, especially if the failure is heat-related and the car seems fine when cold.

What The P0335 Code Actually Means

The crankshaft position sensor sits close to a toothed ring that turns with the crankshaft — a reluctor ring, tone ring or trigger wheel, machined either onto the crank itself, onto a separate wheel behind the pulley, or into the flexplate. As each tooth passes, the sensor produces a pulse. The ring carries a deliberate gap or an irregular tooth, and that missing tooth is the reference mark the module uses to work out exactly where the crankshaft is in its rotation.

From that stream of pulses the module derives engine speed, crankshaft angle and, together with the camshaft sensor, which stroke each cylinder is on. It is the input everything else depends on. When the pulses stop, become erratic, or stop matching what the module expects, it sets P0335 — crankshaft position sensor circuit malfunction.

Two consequences follow, and both are worth understanding before any part is ordered:

  • The engine normally shuts down rather than running badly. Most modules will not fire injectors or coils without a crankshaft signal, which is why a genuine P0335 usually presents as a crank-no-start or a sudden stall, not a rough-running engine.
  • The code accuses a circuit, not a component. Anything that interrupts the pulse train produces the same code: a dead sensor, a broken wire, a corroded pin, debris on the sensor tip or a damaged tooth on the ring the sensor is reading.

Read the freeze frame data before touching anything. Engine speed and coolant temperature at the moment the code set are the most useful clues here: a P0335 recorded at cranking speed with the engine cold points at a hard fault, while one recorded at 2,500 RPM with the engine at full operating temperature points at a heat-sensitive sensor or a connection that opens as things expand.

Know Which Type Of Sensor The Engine Uses

Testing goes wrong when the wrong test is applied, and crankshaft sensors come in two fundamentally different types. Identify which is fitted before probing anything:

  • Inductive, also called variable reluctance or magnetic. Two wires, no power supply, and it generates its own alternating voltage as the teeth pass. It can be checked with a multimeter on resistance and on AC volts while cranking, and its output is a sine wave that grows with engine speed.
  • Hall effect. Three wires — a reference voltage, a ground and a signal — and it needs power to work. Its output is a square wave at a constant amplitude regardless of engine speed. A resistance test across a Hall sensor tells you nothing useful, which is where a lot of wasted diagnosis starts.

The practical significance is that a Hall sensor with no reference voltage is not a failed sensor at all. It is a supply or ground problem in the harness or at the module, and fitting a new sensor to a circuit that is not powering it changes nothing.

Symptoms You May Notice

P0335 tends to produce dramatic symptoms rather than subtle ones:

  • The engine cranks steadily and never fires — the most common presentation.
  • Sudden stalling while driving, with no misfire or hesitation beforehand.
  • A car that starts fine cold, stalls after twenty or thirty minutes, and restarts once it has cooled for an hour. This heat-soak pattern is close to a signature.
  • Extended cranking before the engine catches.
  • The tachometer needle staying flat at zero while cranking, or dropping to zero as the engine stalls.
  • Hesitation, surging or misfires in cases where the signal is degraded rather than absent.
  • A no-start with no spark and no injector pulse, since the module withholds both without a crank signal.

The intermittent version is the one people live with longest, and it maps onto the wider pattern of a car that shuts off while driving but starts back up. There is also a fuller list of bad crankshaft position sensor symptoms, including the ones that appear before a code ever sets.

1. A Failed Crankshaft Position Sensor

The sensor itself is the single most likely cause, and heat is what kills it. The internal windings or electronics sit inches from the block, cycling between ambient and operating temperature thousands of times, and eventually the sensor works when cold and goes open circuit once heat-soaked. That is why so many of these faults present as a car that starts perfectly in the morning and refuses to restart after a long drive.

It is also why testing a suspect sensor cold proves very little. If the fault is intermittent, the meaningful test is done with the engine at full temperature, or with the sensor deliberately warmed with a heat gun while its output is watched. A sensor that reads correctly cold and drops out at temperature has been caught in the act, which is far more convincing evidence than a resistance reading taken in a cold engine bay.

2. Wiring, Connector Or Shield Damage

The sensor lives in a hostile position — low on the block, near the exhaust, close to the transmission bellhousing — and its harness suffers accordingly. Insulation chafes against a bracket or the block, the connector traps water and corrodes, engine movement fatigues the wires where they leave the plug, and rodent damage to the loom is common on cars that stand for long periods.

There is a failure mode specific to this circuit worth knowing about: the signal wire is usually screened, and that screen is grounded at one end. If the shield ground is broken or left disconnected after other work, electrical noise from the ignition system can corrupt the signal enough to set the code with every component in perfect condition. Inspect the full length of the harness, check the connector for green corrosion and spread terminals, and do a wiggle test with the engine idling while watching live engine speed data for dropouts.

3. Debris Or Contamination On The Sensor Tip

Many crankshaft sensors are magnetic, which means the tip attracts and holds any ferrous debris circulating nearby. Metal particles from a worn clutch, swarf left over from machining or a previous repair, or a build-up of oily grit will bridge the gap between sensor and ring and blur the pulses.

Oil is the other contaminant. A leaking rear main seal, front crank seal or camshaft cover gasket can soak the sensor and, more importantly, fill the space between sensor and reluctor ring with oil and dirt. This one is easy to identify and cheap to correct: remove the sensor, look at the tip, and clean it. If it comes out coated in fine metal fuzz, the cause of the fuzz is the real question — and if it comes out wet with oil, the leak needs fixing or the fault will simply return.

4. The Wrong Or A Poor-Quality Replacement Sensor

Crankshaft sensors are unusually sensitive to build quality and to exact fitment. Two sensors can share a connector and mounting bolt and still differ in magnetic strength or in how far the tip protrudes, and a tip that sits even slightly too far from the ring produces a weak signal that fails intermittently under vibration. Cheap aftermarket sensors have a poor reputation here for exactly this reason.

The pattern to recognise is a P0335 that returns within days or weeks of a sensor replacement. That is rarely two failed sensors in a row and much more often the wrong part, a poor-quality part, or a sensor that has not seated fully because its O-ring or spacer was left off. Check the part number against the engine and check that the sensor is pulled fully home against its mounting face before assuming the diagnosis was wrong.

5. A Damaged Or Slipped Reluctor Ring

The sensor is only half the system. It reads a toothed ring, and if the ring is damaged the signal is wrong no matter how good the sensor is. Teeth get chipped or bent by a slipping tool during a previous repair, rings crack, and on some designs a pressed-on ring can rotate slightly on the crankshaft, which shifts the reference mark and makes the module’s calculated crank position wrong.

The signature is distinctive if you can see the waveform: the signal is healthy for most of the revolution and drops out or distorts at the same point every turn. That repeating, position-locked defect is what separates a ring problem from a sensor problem, and it is the strongest argument for putting a scope on the signal rather than only measuring resistance. This is the expensive branch, because on many vehicles the ring is part of the flexplate and the transmission has to come out to reach it.

6. A Stretched Timing Chain Or Slipped Timing Belt

The module does not just watch the crankshaft signal in isolation — it compares crankshaft position against camshaft position. When a timing chain stretches, a tensioner fails or a belt jumps a tooth, that relationship drifts outside the expected window and the module can flag the crankshaft circuit alongside correlation codes such as P0016 or P0017.

The clue is the company the code keeps. P0335 on its own points at the sensor circuit; P0335 with correlation codes, a rattle from the timing cover on cold start, or a history of skipped oil changes points at timing components instead. Replacing sensors on an engine with a stretched chain achieves nothing, and the underlying wear continues toward a far more serious failure.

7. A Reference Voltage Or Ground Fault

A Hall-type sensor needs a stable reference voltage and a clean ground, both supplied through the harness from the engine control module. Reference voltage circuits are often shared between several sensors, so a short in one sensor can pull the reference down for all of them — which is why a P0335 appearing at the same moment as unrelated sensor codes is a strong hint that the problem is a shared supply rather than several simultaneous failures.

Engine ground straps deserve the same attention. A corroded or loose ground strap between engine and body raises the ground reference the module measures against, distorting every sensor reading including this one. Both checks take minutes with a multimeter: confirm the reference voltage at the sensor connector with the key on, and measure the voltage drop across the ground path while cranking.

8. A Failing Engine Control Module

Last, because it is rare and because it is the diagnosis reached too early far more often than it is correct. The module’s internal circuitry that conditions the crankshaft signal can fail, usually after water ingress, a lightning strike, a jump start done in reverse polarity, or heat damage from being mounted in a poor location.

What justifies this conclusion is elimination, not suspicion: a known-good sensor fitted, a signal proven present and correct at the module connector with a scope, reference voltage and grounds verified, and the code still setting. At that point the signal is arriving and not being processed, which is a module fault. Anything short of that evidence and a replacement module — which usually needs programming to the vehicle — is an expensive guess.

How To Diagnose P0335 Properly

The order below is built so that each step either ends the diagnosis or eliminates a branch, and so that the cheap checks come before the expensive assumptions:

  • Read every stored code and the freeze frame first. Correlation codes, camshaft codes or a cluster of unrelated sensor codes change the diagnosis completely.
  • Watch the tachometer while cranking. A needle that stays at zero on a vehicle whose tachometer is driven by the crankshaft signal is a strong indication the signal is missing, and it costs nothing to check.
  • Watch engine speed in live data while cranking. Zero or wildly erratic RPM confirms it more reliably than the gauge does.
  • Identify the sensor type — two-wire inductive or three-wire Hall — before choosing a test.
  • Inspect the connector and harness, including the shield ground, and wiggle-test them while watching live data.
  • Confirm power and ground at the connector on a Hall sensor, or resistance against specification on an inductive one.
  • Scope the signal while cranking. This is the step that distinguishes a dead sensor from a damaged reluctor ring, because a ring fault shows as the same distortion at the same point in every revolution.
  • Remove and inspect the sensor tip for metal debris, oil and damage, and check its seating depth.
  • Heat-test the sensor if the fault is intermittent and everything passes cold.

The one thing not to do is fit a sensor and hope. It is the most likely single cause, so it is a defensible first move on a car that will not start — but if the code returns, the answer is in the wiring or the ring, and a second sensor will not find it. This is also the point where a car that cranks but will not start needs its other possible causes ruled out rather than assumed away.

P0335 Repair Cost

Most P0335 repairs are inexpensive. The range only becomes alarming in the cases where the sensor is not the problem:

RepairPartsTypical total fitted
Crankshaft position sensor$20 to $120$120 to $400
Cleaning the sensor and correcting an oil leak$20 to $150$120 to $600
Wiring or connector repair$10 to $60$100 to $400
Engine ground strap replacement$15 to $50$60 to $180
Reluctor ring or flexplate$80 to $400$500 to $1,500
Timing chain and tensioners$150 to $600$800 to $2,500
Engine control module, with programming—$600 to $1,500

These are typical retail ranges rather than measured figures. Sensor access is what moves the labour figure most: some are accessible from above in minutes, while others sit behind the crank pulley or above the bellhousing and need substantial dismantling to reach. Ask where the sensor is on that specific engine before accepting a quote that seems high — and note that the cheap repair and the four-figure one share the same code, which is precisely why testing before replacing pays here.

Can You Keep Driving With A P0335 Code?

No, and this is one of the clearer cases in diagnostics. The crankshaft signal is not an emissions input or a comfort feature — it is what allows the engine to run at all. When it fails, the engine stops in the same instant, with no warning and no gradual loss of power to give you time to react.

What makes that genuinely dangerous rather than merely inconvenient is what stops with the engine. Power steering assist disappears, so the wheel becomes very heavy; the vacuum reserve for the brake servo is good for only a small number of pedal applications before the brakes need far more effort; and depending on the vehicle, the steering column may lock if the ignition is switched fully off while rolling. Losing all of that in moving traffic is the risk being taken.

If the car is still driveable and the failure is intermittent, treat it as a recovery job rather than a drive-to-the-garage job. If it has already stalled once, that is confirmation the fault is active. The same reasoning applies to any engine that runs fine and then dies suddenly.

P0335 And The Codes It Gets Confused With

Several codes sit close to this one, and the differences are meaningful:

  • P0336 — crankshaft position sensor range or performance. The signal is present but wrong, which shifts suspicion toward the reluctor ring, the air gap or debris rather than a dead sensor.
  • P0337 and P0338 — signal low and signal high. These point more directly at the wiring, a short to ground or a short to voltage.
  • P0340 and P0341 — the camshaft position sensor equivalents. Losing the camshaft signal is usually far less severe, because many modules can still run the engine on the crankshaft signal alone. The comparison between a bad crankshaft sensor and a bad camshaft sensor sets out how the two behave differently.
  • P0016 and P0017 — crankshaft to camshaft correlation. The two signals are present but out of the expected relationship, which points at timing components rather than sensors.
  • P0335 with several unrelated sensor codes — look for a shared reference voltage or ground fault before treating them as separate failures.

The rule that holds all of these together: a code naming a circuit is telling you what the module could not read, not what has broken. Prove where the signal stops before deciding what to replace.

What If P0016 Is Stored Alongside P0335?

A P0335 alongside a stored P0016 is a meaningfully different diagnosis than P0335 on its own. P0016 means the crankshaft and camshaft signals are both present but out of their expected timing relationship — so if that code is set too, the crank sensor may not be broken at all, and the real fault could be a stretched timing chain or worn VVT phaser pulling the cam signal out of sync with an otherwise healthy crank sensor. See our P0016 crank/cam correlation guide for the mechanical causes to rule out before replacing the crankshaft sensor.

What If P0017 Is Stored Alongside P0335?

P0017 is the exhaust-camshaft correlation code on engines with independent intake and exhaust variable valve timing — it means the crank and exhaust cam signals are both present but out of their expected relationship. If it’s stored together with P0335, the crankshaft sensor is less likely to be the sole cause, since a shared fault like a stretched timing chain or low oil pressure can throw off cam timing while still leaving the crank signal itself technically readable. See our P0017 crank/cam correlation guide for the mechanical causes to check before replacing the crankshaft sensor.

P0335 Questions Answered

What does the P0335 code mean?

Crankshaft position sensor circuit malfunction. The engine control module either received no signal from the crankshaft position sensor or received one it could not make sense of. Note the word circuit: the code describes the signal, not the part. A sensor, its wiring, or the toothed reluctor ring it reads can each produce it, and only one of those three is a cheap component.

Can I drive with a P0335 code?

Not safely. The crankshaft signal is what the module uses to time spark and fuel injection, so losing it shuts the engine down instantly. A car that has already stalled once will stall again, usually without warning and often at speed — and when the engine stops, power steering assist and brake servo assist go with it. Get it recovered rather than driven.

How much does it cost to fix a P0335 code?

A crankshaft position sensor replacement typically runs $120 to $400 fitted, and that covers most cases. A wiring or connector repair is $100 to $400. The expensive outcomes are the ones people do not expect: a damaged reluctor ring can mean $500 to $1,500 because the flexplate is often behind the transmission, and a stretched timing chain is $800 to $2,500.

Will a bad crankshaft sensor stop the car from starting?

Usually yes. Without a crankshaft signal, most engine control modules will not fire the injectors or the coils at all, so the engine cranks steadily and never catches. A useful clue while cranking is the tachometer: on many vehicles it stays flat at zero when the crank signal is missing, whereas it flickers if the signal is present and something else is wrong.

What is the difference between P0335 and P0340?

P0335 is the crankshaft sensor circuit and P0340 is the camshaft sensor circuit. The practical difference is severity: losing the crankshaft signal normally means the engine will not run at all, while losing the camshaft signal often leaves the engine running or starting after a long crank, because the module can fall back on the crankshaft signal alone. If both codes appear together, suspect a shared power or ground fault, or timing that has moved, before condemning two sensors.

Can a P0335 code be caused by something other than the sensor?

Frequently. A chafed or corroded wire, a loose or water-damaged connector, a missing shield ground on the sensor cable, metal debris stuck to the sensor tip, a chipped tooth on the reluctor ring and a stretched timing chain will all produce it with a healthy sensor fitted. Replacing the sensor first is reasonable because it is the most likely single cause, but a code that returns afterwards means the circuit or the ring was the problem all along.

As an Amazon Associate we earn from qualifying purchases.

About the author

The Motor Guy

The Motor Guy is a passionate car enthusiast with a love for troubleshooting and diagnosing all sorts of vehicle problems.

With years of experience in OBD diagnostics, he has become an expert in identifying and solving complex automotive issues.

Through TheMotorGuy.com, he shares his knowledge and expertise with others, providing valuable insights and tips on how to keep your vehicle running smoothly.

Qualifications:
- 12 years experience in the automotive industry
- ASE Master Automobile Technician
- A Series: Automobile and Light Truck Certification, A9 Light Vehicle Diesel Engine Certification
- Bachelor's Degree in Information Systems