P0335 Nissan 3.5L – Test Your Crankshaft Position Sensor

The P0335 Nissan OBDII trouble code is a critical failure of the crankshaft position sensor in your vehicle. In the Nissan specific terms, this check engine light code is Crank Position Sensor fault. The 3.5 liter Nissan VQ engine is sold in rear wheel and front wheel varieties, and today I’ll be showing you how to service, test and replace the crankshaft position sensor in the VQ35DE.

The crankshaft position sensor gives your Engine Control Unit (ECU) the proper positioning of the engine, to allow proper ignition timing and fuel delivery. It’s a hall effect sensor that picks up on the slots on the flywheel or flex plate of the engine to determine crank speed and position. When this sensor fails, your ECU will trigger the Malfunction Indicator Lamp (MIL) otherwise known as the check engine light. The P0335 Nissan OBDII code can result in your Nissan or Infiniti not starting, luckily the problem is that hard to test and replace.

Where is my Crankshaft Position Sensor Located?


The 3.5 liter VQ35 crankshaft position sensor is located on the driver side, mounted near the transmission by one 10mm bolt. This sensor is connected to a three pin connector and is usually behind where the powersteering lines go the rack.


Unplugging this sensor is not that hard from under the vehicle, and undoing the 10mm bolt will allow you to remove the crankshaft position sensor (CKP).



How To Bench Test Your Crankshaft Position Sensor

Measuring the resistance between specific pairs of pins on your crankshaft position sensor will tell you whether your sensor has gone bad, or another issue is causing your P0335 trouble code.





There are three pins and three combinations that you will be measuring for resistance ranges. With the sensor removed, you will be looking for the resistance at 0 Ω or ∞. If your crank position sensor does not return these values, you will need a new crankshaft position sensor. The part number from Nissan or Infiniti is 23731-WL01A and once you replace this sensor, you can clear your OBDII trouble code and restart your vehicle.

Sensor checks out good but check engine code P0335 isn’t going away


If the crank position sensor returns the right resistance values, you’ve got some wiring issues unfortunately. Tracing back the harness to the source to discover a break or short in the wire is what you need to do. The first and easy test is to inspect the wires leading out of the crankshaft position sensor connector for any wear or rotting in the wire. Check for any bare wires that may be exposed, that could short against the transmission housing and cause problems.


To trace back the wires, we can refer back to the crankshaft position sensor wiring pinout above. Using a multimeter, I will show you how to test the harness to see if there’s an issue with your vehicle wiring. Remember when probing the front of any automotive electrical connector, never force the lead of your multimeter down the face of the connector, simply touch the metal in the connector.

Checking the crankshaft position sensor connector for power


The first wire you will be looking at is PIN 1, which is the low reference circuit or ground signal. If you do not have a ground signal at the front of PIN 1, that is the cause of your issues. Check your engine grounds and chassis grounds and inspect for any rust or loose grounds.This wire leads to ECU and chassis grounds F152, E17 and E43. Check these grounds first because if your crankshaft position sensor is having problems, so will other sensors.

Switched power is the next pin you will need to test and that’s PIN 3, measure for voltage there with the ignition switch turned to the “ON” position. If you don’t have any power here, this is an obvious issue to why you have the P0335 trouble code. This wire goes to pin 119 on the 3.5 liter Nissan ECU, and represents sensor power when the key is turned to the “ON” position. If you have a break here, you must replace the wire or find the damaged section and replace it.

Tracking back the crankshaft position sensor signal


The signal wire that is PIN 2 in our diagram goes directly back to PIN 13 on your VQ35 ECU. Measure for continuity there and the middle pin of the crankshaft position sensor. If this wire is broken or damaged, locate the wire section that’s gone bad and replace it.


Once you’ve tracked back the wires that caused your P0335 trouble code, you can reset your ECU and get back to enjoying your car.

Thanks for reading!


  1. maher

    Nice information ,thank you

    1. John Huh (Post author)

      My pleasure! Thanks for reading!

  2. Juan E.

    hi, thanks for all good infomration. but I have a pathfinder i’m having trouble with. rans very rough all the time and it started to loose power abouth three monthds ago and it has gone worst. now it won’t climb small hills. i just parked it. the code reads P0340 bad sensors bank one. I check the resistance and it gives me between pin 1 and 2 a reading of 1.2K ohms. and between 1-3 39K ohms. the other sensor same value between 1-2. but oon 1-3 gives me a 79K ohms? when I reverse the multimeter leads shows open? now here is weird. after it starts I disconnect the camshaft phase sensor and runs smooth as silk? but when I turn the engine off it will not start until I re-connect it? ideas?

    1. John Huh (Post author)

      Hi Juan, thanks for commenting.. OK so the P0340 trouble code is for your camshaft position sensor, not your crankshaft. I’m assuming you have a 3.5 liter engine in your Pathfinder? If so I would suggest this following page to check out the testing procedure for a 3.5 liter Nissan camshaft position sensor sir :



      I would start there! Thanks for commenting!

Comments are closed.

Submit Your Code