Nissan · Engine · Critical code

P0335 on Nissan: How to Diagnose & Fix

Crankshaft Position Sensor A Circuit Malfunction

9 Nissan models · 11 documented issues · 6 critical · $150-$700 repair

Share:@au7o.io

P0335 on Nissan by model: symptoms, diagnosis and fix

Community reported
180 owners

Multiple owners report the Cube stalling unexpectedly while driving at various speeds, including highway speeds. The engine shuts off without warning, causing loss of power steering and power brakes. In some cases, pumping the accelerator at the moment of stalling can catch the engine before it dies completely. The issue has been linked to faulty crankshaft position sensors, throttle body failures, and ECM software bugs.

Common Symptoms

  • Engine stalls without warning while driving
  • Loss of power steering and brakes during stall
  • Engine dies at idle or low speed
  • Check engine light may or may not illuminate
  • Difficulty restarting after stalling

How to Fix

Start with cleaning the throttle body and checking for vacuum leaks. Replace the crankshaft position sensor if codes P0335 or P0340 are present. Have the ECM software updated at a Nissan dealer. If the problem persists, the throttle body assembly may need replacement. Always keep up with spark plug replacement at the recommended 105,000-mile interval.

Find a nearby Nissan dealer in Google Maps ↗

Call to confirm they can assess your vehicle and perform the stated work. Search results do not confirm qualification, eligibility or coverage.

What you need to fix it

Only diagnosis- and fitment-reviewed repair parts are linked here.

  • Genuine Nissan crankshaft position sensor 23731-1VA0A

    2009-2014 Cube 1.8L on the live fitment table; confirm VIN and connector/current supersession.

  • Genuine Nissan camshaft position sensor 23731-EN22A

    2009-2014 Cube 1.8L on the live fitment table; confirm VIN/current supersession.

  • Genuine Nissan electronic throttle body 16119-9SE0A

    Confirm VIN/core terms and complete all required electronic-throttle learning.

  • Genuine Nissan spark plug 22401-JD01B

    Quantity four; verify VIN, plug specification and gap-handling instructions.

As an Amazon Associate, we earn from qualifying purchases; other part links may also earn au7o a commission. Confirm fitment by VIN before buying.

Owner tips & cautions

  • TipClean the throttle body with CRC Throttle Body Cleaner every 30,000 miles — this prevents carbon buildup that causes stalling.
  • WarningStalling at highway speeds is extremely dangerous. If it happens more than once, do not drive until diagnosed.
Typical repair cost:$150 - $700

Research This Issue

Based on 180 owner reports

Community Reported
Medium Confidence180 owner reportsLast reported by owners Mar 2026Reviewed Mar 2026

The Z32 uses an optical crank angle sensor built into the distributor at the front of the driver's-side (rear-of-engine) cylinder head. It reads engine speed and crank position via a slotted disc and photodiodes (360 slits plus six 120-degree reference slits). With age the internal LED/photodiode optics degrade, the sealed bearing wears, and the connector corrodes — producing intermittent or total spark/timing signal loss. Because the ECU relies on the CAS for both ignition and injection timing, a failing unit causes hot-restart failures, stalling, and no-starts that are notoriously hard to chase. Many are misdiagnosed when the real fault is corrosion in the harness connector.

Common Symptoms

  • Intermittent stalling, often when hot
  • No-start or hard hot-restart
  • Engine cuts out then restarts after cooling
  • Erratic tachometer
  • No spark condition

How to Fix

Inspect and clean the CAS harness connector first. If the sensor itself is bad, replace with an OEM/genuine unit or a professionally rebuilt CAS; align the rotor to the timing reference and set base ignition timing after installation. Avoid low-quality aftermarket CAS units, which have a poor reputation.

What you need to fix it

Only diagnosis- and fitment-reviewed repair parts are linked here.

  • Tested used OEM Nissan Z32 crank-angle sensor

    Used part—confirm condition and return terms.

  • Z1 early-style Z32 CAS connector and terminal kit

    Use only when the installed Z32 CAS has the early connector style; normally the 1990-1993 sensor branch. Requires correct terminal crimping/pinning and does not repair a failed optical sensor.

  • Z1 new-style Z32 CAS connector and terminal kit

    1990-1996 Z32 only when the installed or conversion CAS uses the new-style connector; verify wire order from the factory diagram.

As an Amazon Associate, we earn from qualifying purchases; other part links may also earn au7o a commission. Confirm fitment by VIN before buying.

Typical repair cost:$200 - $700
Sources for this issue (3)

Research This Issue

Community Reported
High ConfidenceVerifiedReviewed Jul 2026

The crankshaft position sensor's internal electronics degrade with heat and fail intermittently. As the engine warms the sensor signal drops out, causing the engine to stall and refuse to restart until it cools, then run normally again. It sets P0335/P0336 and is frequently misdiagnosed. Nissan owners report premature failure of cheap aftermarket sensors, so an OEM/Hitachi unit is recommended; on many Sentras the camshaft sensor is replaced alongside it.

Common Symptoms

  • Engine stalls when hot, restarts after cooling
  • Intermittent crank-no-start
  • Check engine light
  • Rough idle or hesitation before stalling
  • Tachometer drops to zero while running

How to Fix

Confirm the no-start while hot and read codes (P0335/P0336). Replace the crankshaft position sensor (located at the engine-transmission junction, accessed from underneath after removing a splash shield) with an OEM Hitachi or quality Delphi/Standard part; replacing the camshaft sensor at the same time avoids a repeat no-start. Inspect engine/body grounds, as bad grounds can mimic the fault.

What you need to fix it

Only diagnosis- and fitment-reviewed repair parts are linked here.

  • Genuine Nissan Sentra crankshaft position sensor 23731-1KC0A

    Confirm VIN, connector and O-ring.

As an Amazon Associate, we earn from qualifying purchases; other part links may also earn au7o a commission. Confirm fitment by VIN before buying.

Typical repair cost:$150 - $350
Sources for this issue (3)

Research This Issue

Community Reported
Medium ConfidenceVerifiedReviewed Jun 2026

On certain 2.5L QR25DE Sentras, the crankshaft position sensor is affected by temperature and can overheat, causing a brief interruption in its signal. If the interruption is too brief for the ECM logic to diagnose, the engine may stop running without warning while the vehicle is driven at low speed. Nissan campaign R0606 (NHTSA 06V242) covers certain 2003 Sentra QR25DE vehicles, and NHTSA 07V527 covers certain 2002 and 2005-2006 Sentra with the 2.5L engine. Both remedies are ECM reprogramming.

Common Symptoms

  • Engine stops running without warning while driving at low speed

How to Fix

Check VIN recall history before buying sensors. Certain 2003 QR25DE Sentras fall under 06V242; certain 2002 and 2005–2006 2.5L Sentras fall under 07V527. Their remedy is ECM reprogramming, not blanket sensor replacement. Outside a confirmed campaign route, diagnose the sensor, wiring and mechanical signal source using the exact engine procedure before replacing a failed component.

What you need to fix it

Only diagnosis- and fitment-reviewed repair parts are linked here.

  • Genuine Nissan QG18DE cam/crank position sensor 23731-4M50D

    Confirm VIN, position, connector and required O-ring; quantity is not automatically two.

  • Genuine Nissan QR25DE cam/crank position sensor 23731-6N21A

    Confirm VIN, exact position and campaign history.

As an Amazon Associate, we earn from qualifying purchases; other part links may also earn au7o a commission. Confirm fitment by VIN before buying.

Owner tips & cautions

  • TipUse OEM Hitachi/Nissan crank and cam sensors rather than cheap aftermarket sensors; many owners report repeat failures with low-cost parts.
  • TipIf the car stalls hot but restarts cold, inspect sensor connectors and wiring before condemning the ECM or fuel pump.
Sources for this issue (2)

Research This Issue

Community Reported
High Confidence

The defining electrical failure of the 1990s Sentra. On both the GA16DE (1.6L) and SR20DE (2.0L), the crank angle and camshaft position signals are generated by an OPTICAL sensor (a slotted disc read by an LED/photo-diode) housed inside the distributor. Two age-related failure modes dominate: (1) the internal distributor shaft seal fails and engine oil weeps up into the distributor, coating the optical disc and electronics; and (2) the optical encoder/electronics degrade or the encoder wheel works loose. As the sensor warms with the engine it drops out intermittently, so the classic pattern is an engine that runs, then stalls once hot and refuses to restart until it cools. At high mileage it becomes a hard-crank or no-start. Because the sensor is integral to the distributor, Nissan supplies it only as a complete distributor assembly.

Common Symptoms

  • Engine stalls once warmed up and won't restart until it cools
  • Long crank / hard start or no-start
  • Intermittent stalling while driving
  • Check engine light
  • Oil film / coating inside the distributor cap

How to Fix

Diagnose the specific failure (pull codes, inspect the distributor cap interior for oil film indicating a failed shaft seal). The accepted fix is replacement of the complete distributor assembly with an OEM Nissan or Hitachi unit; cleaning oil out is only temporary once the seal has failed. Use OEM/Hitachi, as cheap aftermarket optical distributors are known to fail quickly. Replace the cap and rotor at the same time.

What you need to fix it

Only diagnosis- and fitment-reviewed repair parts are linked here.

  • Genuine Nissan/Hitachi SR20DE distributor 22100-53J01

    Confirm VIN, distributor ID and supersession; not blanket 1991-1994 SR20DE.

  • Genuine Nissan/Hitachi GA16DE distributor 22100-0M200

    Confirm VIN, production date and distributor ID.

  • Genuine Nissan GA16DE distributor 22100-0M301

    1998-1999 Sentra Base/GXE/XE 1.6L GA16DE catalog application; listing labels it non-USA, so confirm VIN/market, production date, distributor ID and connector before purchase.

  • Genuine Nissan/Mitsubishi SR20DE distributor 22100-0M811

    Confirm VIN/build date, distributor manufacturer/ID and supersession; not early B13.

  • Genuine Nissan/Hitachi GA16DE distributor cap 22162-3S505

    Confirm Hitachi distributor and VIN; not SR20DE.

  • Genuine Nissan GA16DE distributor rotor 22157-4B000

    Confirm distributor manufacturer/ID; not SR20DE.

  • Genuine Nissan/Mitsubishi SR20DE distributor rotor 22157-0M513

    Confirm Mitsubishi distributor and build date; not GA16DE.

As an Amazon Associate, we earn from qualifying purchases; other part links may also earn au7o a commission. Confirm fitment by VIN before buying.

Typical repair cost:$150 - $500
Sources for this issue (4)

Research This Issue

Community Reported
High ConfidenceVerifiedReviewed Jul 2026

Circuit boards inside the crank position sensor and cam position sensors were built with improper solder joints; heat stress accelerated by flux residue cracks the joint, so the sensor drops out intermittently as it warms up. The engine stalls without warning while driving, or refuses to restart until it cools. Nissan recalled the affected sensors under NHTSA campaign 03V455000, covering 2003 350Z among a very large group of VQ-powered Nissan and Infiniti vehicles built in the affected sensor window, with owner notification beginning December 22, 2003. Beyond the recall population, crank sensor failure remains one of the most common causes of hot-stall on 2003-2006 VQ35DE cars in general — a recall-repaired car can still fail again years later on an aftermarket sensor.

Common Symptoms

  • Engine stalls without warning while driving, usually once fully warm
  • Will not restart until the engine cools down
  • Extended crank / hard hot start
  • Service engine soon light with a crank or cam sensor code
  • Sudden loss of engine power

How to Fix

Check the VIN at nhtsa.gov/recalls — if the car falls in 03V455000 and was never repaired, the dealer replaces the crank position sensor, camshaft position sensors and in some cases the variable timing control sensors free of charge. Outside the recall, replace the failed sensor with a genuine Nissan or Hitachi (the OE supplier) unit; cheap aftermarket sensors are widely reported to fail again quickly. Many owners replace crank and both cam sensors together to avoid repeating the labor.

Typical repair cost:$0 - $450
Sources for this issue (3)

Research This Issue

Community Reported
High ConfidenceVerifiedReviewed Aug 2026

P0335 code reference

General diagnostic-code context. The code alone does not confirm a cause for your vehicle; use the applicable issue card and its sources.

Frequently asked questions

What does P0335 mean on a Nissan?

P0335 stands for "Crankshaft Position Sensor A Circuit Malfunction." This code means the engine computer has lost or detected a faulty signal from the crankshaft position sensor (sensor A), which tells the computer exactly how fast and in what position the crankshaft is rotating. That signal is essential for timing the spark and fuel injection, so a problem here can cause hard starting, stalling, or a no-start condition. The computer sets this code when the crank sensor signal is missing, erratic, or out of its expected pattern. Causes range from a failed sensor or damaged wiring to a problem with the reluctor (tone) ring the sensor reads. On Nissan it is documented across 9 models: Cube, 300ZX, Sentra, 350Z, Frontier, Murano, Maxima, Pathfinder, Altima.

What are the most common causes of P0335?

The most common causes of P0335 are: Failed crankshaft position sensor, Damaged, corroded, or loose sensor wiring/connector, Metal debris or oil contamination on the sensor tip, Damaged or misaligned reluctor (tone) ring, Excessive air gap between sensor and tone ring, Wiring shorted or open in the sensor circuit, Faulty PCM/ECM (rare). The specific cause varies by vehicle.

How much does it cost to fix P0335 on a Nissan?

Published repair estimates on Nissan range from $150 to $700 depending on the model and root cause. If an issue mentions a recall or campaign, check your VIN with the manufacturer or NHTSA and confirm eligibility and coverage with a dealer.

Looking for P0335 on a different make?

View P0335 across all makes →
🔧
A mechanic who knows YOUR exact car
Answers tuned to your year, make, model & trim — not generic advice. Save your garage so it always has the right context.
Get notified about P0335 fixes on Nissan
We add new causes, fixes and affected Nissan models for P0335 regularly — drop your email and we'll keep you posted. You can also diagnose your own car free.

Content compiled with AI assistance using NHTSA complaints, TSBs, and owner reports. May contain errors. Always verify with your vehicle's service manual.

Explore free Hub demo