Alley in Pisa, Italy

by Lars Kotthoff

submit your photo


Hall of Fame
View past winners from this year

Please participate in Meta
and help us grow.

Take the 2-minute tour ×
Photography Stack Exchange is a question and answer site for professional, enthusiast and amateur photographers. It's 100% free, no registration required.

I have a Nikon 35mm f/1.8G AF-S DX I bought for my Nikon D5100, it's only a couple months old, never been dropped or anything, and it all of a sudden won't auto focus. Anyone know if this is a simple fix or if I should take it in to be repaired?

share|improve this question
3  
This may be a stupid question, but do you have the autofocus switch turned off on the lens? –  ElendilTheTall Feb 26 '12 at 18:49
1  
LOL....No, It's turned on. I even tried turning off auto then turning it back on. Nothing:/ –  Jayme Feb 26 '12 at 19:07

4 Answers 4

First, check the AF/M switch on the D5100 camera body. This is at the left-hand side of the camera (from the photographer's point of view) near the bottom, below the lens release button. Make sure it's set to "AF". Similarly check the "M/A - M" focus mode switch on the lens. Make sure it's set to set to "M/A".

Beyond that, see if you can narrow the problem down to just the lens, just the body, or just this particular combination, by trying a different AF lens with the same body, and a different AF body with the same lens.

If you've taken care of those checks and eliminated those problems, and you're sure the lens is correctly seated on the camera body, then the most frequent remaining cause is poor electrical connections between the camera body and the lens.

If you suspect this problem, you can try wiping those connections gently with a lens cloth or a tissue without any coatings. But when doing this it's vitally important not to get foreign matter into the camera body. So using an eraser or something like that to clean the connections is quite dangerous (if you have bits of rubber somewhere inside the mirror cavity, that's not going to be good for image quality).

This last bit won't apply to your D5100 camera, but if you were using a different body that will autofocus with AF and AF-D lenses also, you could do an additional diagnostic step: see if one of those lenses (i.e. autofocus, but not AF-S) will autofocus on your camera body. When that happens it can be a hint that there is a problem with either the electrical connections in the lens mount. Or, for those camera bodies that have them, a problem with the aperture coupling ring.

share|improve this answer
    
I have the D5100, not the D90:) All my other lenses work fine, it's just this lens. I went ahead and took it in to the store today and exchanged it for a new one. Hopefully It was just a defective lens and I won't have this problem again. Thanks! –  Jayme Feb 27 '12 at 2:06
    
Sorry I didn't read your question carefully enough. I have updated the answer to be more consistent with the question in order to better help anybody coming across the question later. Meanwhile, I'm glad that you have managed to resolve your problem. Happy shooting! –  James Youngman Feb 27 '12 at 14:49
    
That's ok. Thank you for the advice. I'll keep it in mind in case this happens again in the future! –  Jayme Feb 28 '12 at 21:12
    
I can't believe I didn't look at the switch... feel like an idiot, but a thankful one. –  user25329 Jan 12 at 5:29

Try taking off the lens and cleaning the metal contacts. Take a piece of cloth dip it into rubbing alcohol and gently wipe the contacts.

share|improve this answer
    
Thank you! I went ahead and exchanged it for a new one today:) It will be in, in a week, hopefully I don't have this problem again! –  Jayme Feb 27 '12 at 2:07

I found out something by chance about AF issues I have been having with my Nikon: When you put the lens cover on - if you push it on too hard and the lens turns in a little, it will go into a lock position.

To fix: hold on to the very end of your lens and the camera base. Give the lens a little twist - you will feel it unlock. DO NOT twist it hard. It will release.

After I release my lenses, auto focus seems to work as it should.

I hope this works for others. It could be just an isolated incident with my own lenses, but that little twist has unlocked all my lenses.

share|improve this answer

Check your camera settings if autofocus is set for the AE-L/AF-L Button. You can check this in the "Setup Menu" -> "Buttons" -> "Assign AE-l/AF-L button"

Set the settings back to AE/AF lock so that autofocus is set to the shutter button only.

share|improve this answer

protected by Community Jul 1 at 15:50

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.