P0340 on the Nissan Altima
Camshaft position sensor circuit fault (bank 1 or single sensor)
Severity: Inspect soon
P0340 means the engine computer has no usable camshaft sensor signal. The engine often keeps running, sometimes with hard starting or reduced performance, but cam and crank sensor faults are linked to stalling and no-starts. Get it inspected soon and stop driving if it stalls.
It gets more serious if:
- Stop: The check engine light is flashing. That means misfire bad enough to damage the catalytic converter is happening right now; one carmaker warns the extra exhaust heat can damage the converter and nearby parts and could cause a fire. Pull over when safe and avoid further driving, or at most drive gently and slowly to the nearest shop (EPA's own advice is to minimise driving and avoid speed and heavy loads).
- Stop: The engine stalls, cuts out while driving, or cranks but will not start. Do not keep driving; have it towed or checked where it sits.
This page covers only what differs on the Nissan Altima. For the general causes and test order, see the P0340 guide.
What's different on the Altima
NissanYour car
2003–2005 · Altima
Supported by vehicle dataNissan bulletin 04063 covers P0340 or a hard start when warm on 2003–2005 Altima and points to the cam position sensor; the NHTSA summary gives no repair. Ask a dealer to check the bulletin.
NHTSA owner complaints mentioning P0340 for this model, across all model years (not only the years above): 6. That shows what owners reported, not how often a cause sets the code.
04063Status unverified
Nissan 04063: MIL with P0340/P0345 and/or hard starting when warm
2003–2005 Altima, Maxima, Quest · issued · NHTSA 10007903
Covers the cam sensor codes P0340/P0345 and/or a hard start when the engine is warm on 2003-2005 Altima, 2004 Maxima and 2004 Quest. NHTSA's summary does not give the repair.
We couldn't confirm whether this bulletin is still current, so it doesn't count as confirmation.
Sources and review
- Nissan 04063: MIL with P0340/P0345 and/or hard starting when warm
- NHTSA ODI consumer complaints flat files
- Safety Recall H0H Remedy Notice: Certain 2016-2017 Model Year Tacoma Crankshaft Position Sensor, Frequently Asked Questions
- Toyota Recalls Tacoma Pickups for Stalling
- ASE L1 Advanced Engine Performance Specialist Test: Composite Vehicle Type 4 Reference Booklet
- Last reviewed
- Written by
- Saurabh K.
- Editorial review
- Technician review
- Technician review pending
This page explains what a code usually means; it is not a substitute for a professional inspection. How we source and review · Report an error