You asked
Can I adapt the nikon af s dx micro 40mm f 2 8g to nikon z?
The guide can't confirm that. The Nikon AF-S DX Micro 40mm f/2.8G page lists it only on Nikon F bodies, so the site doesn't say whether it works on a Nikon Z camera, whether autofocus carries over through an adapter, or how the DX frame behaves on a Z body. Check the adapter's compatibility list before you buy.
The adapters section explains that mirrorless mounts are shallow, which makes old manual-focus lenses easy to adapt. That advice is about manual lenses without autofocus, though, so it doesn't settle the question for this autofocus lens.
Whatever the mount, the frame is the first thing to check. On an APS-C body this lens frames like about 60mm on full frame, and on the larger Nikon F bodies it works in an APS-C crop mode at fewer megapixels. The sensor sizes guide explains how sensor size changes light gathering and background blur, which matters if you plan to shoot the same subjects on a different body.
If you tell the guide which Nikon Z body you own, or whether you need autofocus, it can point you to a better match.
Written by Claude from this site's pages.
The answer changes if
- If you own a full-frame Nikon Z body: How does a 40mm DX macro lens crop on a full-frame camera?
- If you don't need autofocus: Which old manual-focus lens adapts best to a mirrorless body for close-up work?
- If you're buying a body first: Which Nikon camera pairs best with the 40mm DX macro lens under 1,000 euros?
Ask next
- How does the Nikon AF-S DX Micro 40mm f/2.8G compare with the Nikon AF-S DX 35mm f/1.8G for close-up work on APS-C?
- Which used Nikon F body would pair best with a 40mm macro lens for a budget under 800 euros?
- What does a 40mm DX macro lens frame like on a full-frame Nikon body in crop mode?
- Which old manual-focus lenses adapt well to mirrorless cameras for portraits on a tight budget?
From these pages
This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.