On the kit 18-55 lens that came with my Nikon D5100 I have noticed that when trying to focus on infinity for shots in dark conditions (star-trails, etc) the lens tends to move past infinity out of focus and need to be brought back a little to get a clear infinity focus point.

Is there a good trick for getting a clear infinity focus when in pitch dark conditions?

  • 1
    \$\begingroup\$ Focus infinity.. AND BEYOND !! \$\endgroup\$
    – Berzemus
    Commented Jul 18, 2013 at 10:10
  • \$\begingroup\$ To focus on stars more easily, you can use a Bahtinov mask. \$\endgroup\$
    – xiota
    Commented Jun 10, 2022 at 0:34

1 Answer 1


It is not just cheaper lenses. Many modern lenses, especially Auto Focus zoom lenses have this characteristic. There are several reasons for it:

  • Unless a lens is parfocal the exact point of infinity focus shifts as the lens is zoomed in or out, and so obviously there will be a point where infinity for one focal length is past infinity for another.
  • As temperature and other environmental conditions change, the various materials that make up a complex lens expand and contract at slightly different rates. This affects focus position for infinity. Lenses with elements known variously as LD (low dispersion), ED (extra-low dispersion), SLD (special low dispersion), ELD (extraordinarily low dispersion), and ULD (ultra low dispersion) are particularly susceptible to shifts in focus position as they expand and contract due to temperature changes.
  • Auto Focus lenses use fairly strong motors to move focusing elements quickly. By leaving a little extra room past infinity, the lens designers allow the motors to power the focus assembly all the way to infinity without bumping against a hard stop that could reduce the life expectancy of the motor and other focus components.

Even with manual focus prime lenses, some designs are susceptible to focus shift at different aperture settings. Although focus shift will be more noticeable at the minimum focus distance and other shorter distances, the lens may still need a little wiggle room at infinity focus to allow for adjustment depending on the selected aperture.

The best way to get clear focus for astrophotography is to use Live View at high magnification to manually focus the lens, then leave the focus set at infinity and turn off Live View.

  • \$\begingroup\$ We actually have a very nice existing question and answer on astrophotography and getting the proper focus - photo.stackexchange.com/questions/23972/… \$\endgroup\$
    – dpollitt
    Commented Jul 18, 2013 at 0:42
  • \$\begingroup\$ Thanks. I understand why now. Although, a lot of the higher end lenses have an infinity marker on the lens. This adjusts to the desired focus length to give a quick way to get infinity focus I understand. Is this correct? \$\endgroup\$
    – Tim
    Commented Jul 18, 2013 at 0:43
  • 2
    \$\begingroup\$ @Tim The accuracy of the infinity mark on a lens varies pretty much on a lens by lens basis. For astro-photography, where the focus needs to be so precise, you are much better off using a magnified Live View to manually focus the lens. \$\endgroup\$
    – Michael C
    Commented Jul 18, 2013 at 22:12
  • \$\begingroup\$ Its also the only way to get a decent photo of Buzz Lightyear. \$\endgroup\$ Commented Feb 15, 2018 at 15:21
  • 1
    \$\begingroup\$ Viewfinders were also larger and brighter with most film cameras, although split prisms were pretty much useless with stars, setting focus on a very distant object, such as the moon, would usually get one within the limits of their system. Astro imaging as a hobby didn't really take off until the digital age. The only way to get the kind of results people can routinely get now required the budgets of government agencies back then. \$\endgroup\$
    – Michael C
    Commented Feb 28, 2018 at 17:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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