Lens Not Attached
Nikon DSLR / Mirrorless Camera
Severity:What Does This Error Mean?
Nikon's 'Lens not attached' error means the camera cannot detect a lens on the mount. This is most often a dirty lens contact, a lens not fully seated, or a lens with a 'CPU' chip that is not communicating correctly.
Affected Models
- Nikon D3500
- Nikon D5600
- Nikon D7500
- Nikon D850
- Nikon Z5
- Nikon Z6 II
- Nikon Z7 II
- Nikon Zfc
Common Causes
- Dirty or oxidised electrical contacts on the lens or camera mount
- Lens not fully rotated to the locked position
- Third-party lens with a faulty or incompatible CPU chip
- Damaged contact pin on camera body
- Lens adapter issue — using an adapter without proper electrical connection
- Camera body firmware bug with certain lens models
How to Fix It
-
Remove and reattach the lens.
Turn the camera off, remove the lens, and reattach it carefully. Rotate until you hear or feel a click — the lens must be fully locked. Do not attach a lens while the camera is on.
-
Clean the lens and body contacts.
Use a dry cotton swab or lens cloth to gently clean the gold contacts on the rear of the lens. Also clean the contacts inside the camera mount. Never use alcohol directly inside the camera body.
-
Check the aperture control ring.
Older Nikon AI and AI-S lenses have a manual aperture ring. Nikon DSLR bodies typically require the aperture ring to be set to the minimum aperture (highest f-number) to allow the camera to control aperture electronically. Leave it on the minimum aperture position and lock it if the lens has a lock switch.
-
Try a different lens.
If another Nikon lens works fine on the same camera, the issue is with the original lens — either its contacts or its CPU chip. If no lens works, the problem is the camera body contacts or mount.
-
Update the camera firmware.
Nikon regularly releases firmware updates that add compatibility with newer lenses. Check nikonimglib.com for firmware updates for your camera model. Z-mount cameras especially benefit from regular firmware updates for Z-lens compatibility.
Frequently Asked Questions
Why does my Nikon say 'Lens not attached' when a lens is on it?
This almost always means dirty contacts. The camera communicates with the lens through a row of gold pins, and even minor oxidation can break the connection. Clean both sets of contacts with a dry cotton swab, reattach the lens with the camera off, and test again. If it persists, try the lens on another body to determine if the fault is in the lens or the camera.