P0345 Nissan Code: Causes, Symptoms and Fixes for Bank 2
7 min read · by Nicole Bennett · Last updated: November 11, 2026
A P0345 Nissan code means the engine computer has detected a fault in the Bank 2 camshaft position sensor circuit. The code is generic, so the exact cause and the right repair depend on your model and year.
The sensor reports camshaft position so the computer can time the engine. Check the wiring and connector first, then confirm the fault before you buy a part.
P0345 Nissan Code Meaning
P0345 is a generic code for the Bank 2 camshaft position sensor, which reports camshaft position to the engine computer. The computer stores the code when the sensor signal is out of range or the circuit does not behave as expected. The description used on technician forums is “Camshaft Position Sensor ‘A’ Signal Range / Performance (Bank 2).”
The sensor matters on any P0345 Nissan because the computer uses its signal to time the engine. When that signal drops out or becomes unreliable, the engine can run rough, stall or fail to start. A stored P0345 Nissan code is a prompt to diagnose, not a part number.

Where Bank 2 Is on a Nissan
Bank 2 is the side of the engine that does not contain cylinder 1. On a V6 or V8 Nissan, the sensor’s position changes with the engine family and model year, so you must confirm it for your vehicle in a service manual.
One owner in a 2CarPros Nissan Maxima thread said the Bank 2 sensor sits on the rear of the left cylinder head, and that the two camshaft sensors are not interchangeable. That is a single owner’s report on one model, not a general rule for all Nissans.
- Read the exact code number on the scan tool before you buy parts.
- Find the bank layout for your engine in the service manual.
- Look up the sensor position and connector from the same manual, not from a parts listing.
Symptoms of P0345 on a Nissan
A P0345 Nissan code often appears with the check engine light, and drivers commonly notice rough running, hard starting or stalling. Typical signs, which overlap with the symptoms of a bad camshaft position sensor, include:
- The check engine light stays on or flashes.
- Rough idle or hesitation under load.
- Hard starting, or the engine dies soon after it starts.
- Stalling at low speed or in stop-and-go traffic.
A more severe case is described in an iATN technician discussion of a 2003 Nissan Maxima SE with a 3.5L engine. The car started, ran for less than a second and died, and it did not restart right away. The thread does not give a final diagnosis, so treat it as an example of how severe the symptom can be.
If the engine stalls, misfires hard or will not stay running, do not keep driving it on busy roads. Have a shop check it, because a sudden stall in traffic is a safety risk.
Causes to Check First
Wiring and the connector are the first things to rule out, then the sensor itself, and then the timing components the sensor depends on. The table below sets out the order most diagnosis follows for a P0345 Nissan code.
| Cause | What to check | Next step |
|---|---|---|
| Wiring or connector | Damage, chafing, corrosion, loose pins, heat marks near hot parts | Repair the harness before buying a sensor |
| Camshaft position sensor (Bank 2) | Power, ground and signal against service manual values | Replace only if the tests point to the sensor |
| Timing components | Timing marks and the condition of the timing chain or belt | Mechanical diagnosis at a shop |
| Crankshaft position sensor | Signal test alongside the cam sensors | Check it in the same diagnosis |
Some owners of a P0345 Nissan on forums recommend replacing both camshaft sensors and the crankshaft sensor at the same time. That is one member’s advice, not a diagnosis, and it can cost more than a test that finds the real fault.
Confirm the Fault Before Replacing Parts
Confirm a P0345 Nissan code with a scan tool and a basic electrical check before you buy a sensor, because the code names a circuit, not a specific part. Work through these steps in order:
- Record the code and its freeze frame data, which shows the engine conditions when the code was set.
- Note whether the code is current or stored from an earlier fault.
- Inspect the Bank 2 sensor connector and the harness for damage, corrosion and heat marks.
- Test power, ground and signal with a multimeter, using the values in the service manual for your model, as in this guide on how to test a camshaft position sensor.
- Watch live cam signal data while cranking and at idle to see whether the signal drops out.
- Replace a part only when the tests point to it.

A 2004 Nissan 350Z case in an iATN technician discussion shows why the code alone is not enough. The car was towed in for a no-start after dying on the highway, and P0345 was stored in the engine computer. The poster also reported injector pulse but no spark on every cylinder except number 6, and the engine speed on the scan tool and the tach were bouncing. In that case the P0345 was one finding among several, and the post says the poster tried moving coil number 6, but the summary cuts off there and does not give the final cause.
Do not swap a camshaft sensor from the other bank as a test. Forum members report that the sensors are not interchangeable on the Maxima, so a swap can give a false result and cost time. The exact test values were not confirmed for any specific Nissan model in this article, so take them from the service manual.
Repair Options and What to Expect
A sensor replacement is the usual fix once the wiring checks out, but this article does not give a verified price, because cost depends on the model, the part quality and local labor rates. For a P0345 Nissan repair, parts listings show a wide spread of prices for the same sensor, so compare the part type before you compare the price.
Ask any shop to show the test results before it replaces the sensor, and ask whether the wiring was checked. Give the shop the exact code, the model year, the engine size and the mileage so the estimate matches your vehicle.
Frequently Asked Questions
Does a P0345 Nissan code clear on its own?
The sources read for this article do not confirm that a P0345 Nissan code clears by itself. A stored code can remain until the fault is repaired and the code is cleared with a scan tool, so do not count on it going away. Check the freeze frame data first.
Is P0345 the same as P0340?
No. P0345 refers to the Bank 2 camshaft position sensor circuit, and a fault on the Bank 1 sensor sets its own code, covered in the P0340 Nissan guide. Confirm the code number on your scan tool before you buy parts, because the wrong bank means the wrong sensor.
Can a bad wire cause a P0345 Nissan code?
Yes. Wiring and connector faults are a common reason for a circuit code, so check the harness before you replace a sensor. A visual check can miss an intermittent break, so back it up with a multimeter test.
What is not verified in this article?
For a P0345 Nissan, repair prices, the sensor position for each model and the exact service manual test values were not confirmed from pages read for this article. Check your service manual, or ask a dealer for the details by VIN.
If the P0345 Nissan code returns after a sensor swap, stop replacing parts and ask a shop for a full diagnosis. A proper circuit test shows whether the fault is in the wiring, the sensor or the timing, so the repair targets the real cause.
-
Nicole Bennett, Technical Content Editor at BestOBD2Picks Nicole turns OBD-II standards, service bulletins, and repair data into step-by-step diagnostic guides anyone can follow. Technical Content Editor
Related guides
LearnP0332 Nissan: Find the Knock Sensor Circuit Problem
LearnP0302 Nissan Rogue: Find the Cylinder 2 Misfire Cause
LearnP0301 Nissan Rogue: Find the Cylinder 1 Misfire and Fix It
LearnP0355 Nissan: Diagnose Ignition Coil Circuit Problems
LearnP0303 Nissan Rogue: Find the Cause of a Cylinder 3 Misfire
LearnP1176 Code: Understand the Oxygen Sensor Fault and Diagnose It Correctly