The following digital SLR cameras do not have an autofocus motor built-in the camera body:
D5600, D5500, D5300, D5200, D5100, D5000, D3500, D3400, D3300, D3200, D3100, D3000, D60, D40X, and D40.
Camera bodies with a focus motor built-in can be identified from the autofocus motor spindle which is located on the camera bayonet ring.
Camera body with no focus motor built-in.
The cameras listed above use NIKKOR AF-S, AF-I or *AF-P type lenses which have the autofocus motor built-in to the lens itself. This negates the need for the motor in the camera body allowing the camera to be smaller by design. These lenses can be easily identified from the lens nameplate as shown in the image.
*Note: not all AF-P lenses are fully compatible with the cameras listed (see link below).
Other types of NIKKOR lenses can be used on these cameras but autofocus is not possible as there is no motor to turn the lens focus ring. To check the full range of lenses compatible with your camera and the limitations of use click here.