Nissan P0335 Code Crankshaft Position Sensor Replacement
When diagnosing your Nissan Sentra, is there a fault code P0335 stored on the scanner? Fix fault code P0335 on Nissan vehicles by following the procedures below. This tutorial is a step-by-step procedure for replacing the crankshaft position sensor and fixing fault code P0335 on a Nissan Sentra.
At a Glance
- Code: P0335, crankshaft position sensor A circuit
- Symptoms: cranks but will not start, stalling, intermittent no start when hot
- Check first: sensor connector, wiring and battery voltage
- Part: crankshaft position sensor, one 10mm bolt
- Tip: use a quality OEM or OE supplier sensor
What P0335 Means on a Nissan
P0335 means the computer is not getting a usable crankshaft position signal. Without it, the engine may crank but not start, or shut off while driving and restart once it cools down.
- Stalling when hot and restarting after cooling is a classic sign of a failing crank sensor.
- Early 2000s Nissans had a recall for crank and cam sensors that cause stalling; check your VIN with the NHTSA recall lookup.
- Inspect the harness where it runs near hot or moving parts.
- Watch engine RPM in live data while cranking; a reading of zero confirms the crank signal is missing.
A scanner with live data, such as the YOUCANIC UCAN-II Pro, shows engine RPM while cranking so you can confirm the fault before buying the sensor.
🔧 Find out what is actually wrong before you pay someone to guess
Dealer level diagnostics at home with the YOUCANIC UCAN-II Pro.
- ✔ Covers most makes and models, including many luxury brands. Send us your VIN and we will confirm your car before you order
- ✔ Reads every module, not just the engine, so you find the faults a basic reader says are not there
- ✔ Commands the car: test a fan or pump, bleed ABS, retract an electronic parking brake, register a battery
- ✔ No subscriptions. Free lifetime updates, so the price you pay is the whole price
- ✔ Backed by real mechanics in the USA you can email before and after you buy
Featured in The Wall Street Journal
What you will need
- Nissan Sentra Crankshaft Position Sensor
- OBD-II Scanner
- Mechanic Metric Toolset
- 10mm Socket
- Pickup Tool
Procedure
- Connect the OBD-II Scanner to the OBD-II Port located below the dashboard.

- Press the push start button once without pressing the brake pedal to set the vehicle on the accessories menu.

- Go to the Diagnostic Menu on the scanner and select Read Code.

- Select stored codes, and the scanner will show faulty code P0335: Crankshaft Position Sensor A Circuit.

- Turn off the ignition, jack up the vehicle’s front and support the vehicle with jack stands.

- Remove the engine splash shield below the vehicle’s motor near the oil filter. There’s a 10mm bolt holding the engine splash shield. Remove them by turning them counterclockwise using a 10mm socket/nut driver.

- Locate the crankshaft position sensor near the vehicle’s oil filter.

- Disconnect the electrical connector of the sensor by pressing its clip and pulling the connector out.

- Remove the 10mm bolt holding the sensor by turning it counterclockwise using a 10mm socket.
- Once the bolt is removed, remove the crankshaft position sensor by pulling it out. Use a pick tool to pull the sensor out easily.

- Line up the new sensor and press it in to set it into place.

- Reinstall the 10mm bolt on the crankshaft position sensor by turning it clockwise using the 10mm socket.
- Connect the electrical connector of the crankshaft position sensor by pushing it into the port.

- Line up the engine splash shield to its original position and reinstall the bolts holding to it by turning them clockwise using the 10mm socket.

- Press the push start button once without pressing the brake pedal again to set the vehicle to the accessories menu.
- Go to the diagnostic menu again and select erase codes on the scanner.

- Press enter to erase the stored codes.
- Start the vehicle several times and ensure the check engine light stays off.
Check Engine Light On

If the check engine light is on after replacing the crankshaft position sensor, you can use the YOUCANIC UCAN-II Pro to reset the check engine light. This scanner can also read and clear fault codes through every control module on supported vehicles.
Frequently Asked Questions
Can a bad crankshaft sensor cause a no start?
Yes. Without a crank signal the engine computer cannot time spark or fuel, so the engine may crank but not start.
Can I drive with a P0335 code?
The engine can stall without warning, so drive only as needed until it is fixed.
Do I need to relearn the crankshaft sensor on a Nissan?
Many Nissans run fine without a relearn, but if the code returns or idle is rough, a crank pattern relearn with a scan tool may be needed.
Check these troubleshooting and repair guides for more help on your Nissan.
















I follow the procedure how to replace the cranshaft sensor so I got it.Thanks a lot.