Trouble codes › Known problems › Nissan 2.5L crankshaft and camshaft sensor stalling
Nissan 2.5L crankshaft and camshaft sensor stalling
On Nissans with the 2.5L QR25 four-cylinder (Altima, Sentra and others), crankshaft and camshaft position sensor problems (P0335, P0340) that make the engine stall are well documented, and Nissan ran recall campaigns on some 2002-2006 models.
These sensors can make the engine stall suddenly, sometimes at speed, and you lose power steering assist and brake assist when it stalls. Get it fixed before relying on the car, and check recalls first.
Which vehicles
- Nissan Altima (2.5L) 2002-2018
- Nissan Sentra (2.5L) 2002-2012
- Nissan Rogue 2008-2020
Why it happens
The engine computer needs the crankshaft sensor to run the engine. On QR25 engines, the sensors can overheat or develop internal faults, so the signal drops out when hot and the engine stalls, often restarting after cooling down.
Nissan recalled some 2002-2003 vehicles for a solder defect in the sensors (campaign 03V455) and reprogrammed the engine computer on some 2.5L 2002 and 2005-2006 vehicles because the crank sensor can overheat (campaign 07V527).
Symptoms
How to confirm it
- Check your VIN at nhtsa.gov/recalls for open campaigns first: recall repairs are free.
- Watch engine rpm on a scan tool while cranking: zero rpm points to the crank sensor circuit.
- Check the sensor connectors for oil and corrosion.
- Note whether it happens mostly when hot, which points to the sensor.
The repair
- Replace the crankshaft sensor (and the camshaft sensor if it's also coded) with a quality OE part: cheap sensors are a common cause of repeat failures.
- If the engine computer reprogramming campaign applies to your VIN, have it done.
Recalls, bulletins and warranty programs
- Nissan recall 03V455000
- About 630,000 vehicles (filed November 2003) with a solder defect in the crank/cam position sensor circuit board; dealers replace the sensors. Coverage depends on VIN.
- Nissan recall 07V527000
- About 654,000 vehicles with the 2.5L engine (2007), where the crank sensor can overheat; dealers reprogram the engine computer free.
Programs can expire or depend on your VIN. Check nhtsa.gov/recalls and ask a dealer to run your VIN for open recalls, bulletins and extended coverage.
Is this what's happening to yours?
iRepair researches your exact year, engine and codes (service bulletins, recalls and owner reports) and tells you what to check first. Your first 3 questions are free.
Ask iRepair about your vehicleSources
Researched October 2026 from service bulletins, recall records and repair-industry reporting. Your vehicle may differ; confirm with your service information and a dealer before paying for major repairs.