Focusing in the Dark for Astrophotography
A perfectly calculated NPF-rule shutter speed and a well-chosen aperture still produce a soft, disappointing frame if focus is off — and focus is genuinely the single most common failure point in astro photography, more so than any exposure setting on this site's calculators, because the usual tools for getting it right simply don't work in the dark.
Why Autofocus Usually Fails on a Night Sky
Autofocus systems need enough contrast and brightness to detect an edge to lock onto, and most of the night sky offers neither — a star is a tiny, dim point of light against a vast dark field, well below the threshold most autofocus systems are designed to work with. Some modern cameras with genuinely sensitive low-light autofocus can lock onto the brightest stars or the moon directly, but this isn't reliable across most bodies and lenses, and testing it on your specific camera before depending on it in the field is worth doing rather than assuming it'll work.
Why the Infinity Mark on Your Lens Often Isn't True Infinity
It's tempting to simply twist the focus ring to the infinity symbol and trust it, but many lenses — especially zooms, and lenses that use focus-by-wire rather than a true mechanical focus ring — have some amount of focus travel past the marked infinity point, meaning the mark itself is not a reliable stopping position. Temperature also shifts a lens's true infinity point slightly as materials expand and contract, which is part of why a setting that worked perfectly on a warm evening can be measurably off on a cold winter night with the identical lens and camera.
The Reliable Manual-Focus Routine
Switch to manual focus, then use live view (rather than the optical viewfinder, which is generally too dim to judge focus by eye in the dark) and digitally zoom in on the brightest star available, or a distant streetlight if no bright star is conveniently placed in frame. Adjust the focus ring slowly while watching that zoomed view until the point of light shrinks to its smallest, sharpest size — a star that's out of focus renders as a soft, larger blob rather than a tight point, and the difference is usually obvious once genuinely zoomed in on the camera's screen rather than judged at normal magnification.
Confirming Focus Before Committing to a Full Sequence
Take a single test exposure at your intended settings, then review it zoomed to full resolution on the camera's screen rather than trusting the small preview thumbnail, which is nowhere near sharp enough to reveal a subtly missed focus. This step matters most before starting a long stacked sequence or a multi-hour single exposure, where a missed focus point isn't discovered until the entire session is already over — a wasted night is a far more expensive mistake than the extra minute a proper focus check costs.
Marking Focus So You Don't Have to Redo It
Once focus is confirmed sharp, a small piece of tape across the focus ring and onto the lens barrel physically prevents it from drifting during handling, and also gives a visual reference to return to later in the same session without repeating the full live-view routine from scratch. Some photographers mark a specific focal-distance position with a permanent paint pen once they've confirmed it works reliably on a specific lens, since true infinity focus for stars is a fixed physical position that doesn't change from session to session, only lens to lens and, to a lesser degree, with temperature.
Field Note
A bright planet like Jupiter or Venus, when visible, makes an even easier live-view focus target than a star — both are essentially point sources for focus purposes, but planets are noticeably brighter and easier to see clearly in a dim live-view feed, especially on cameras with a less sensitive electronic viewfinder in low light.
What Changes When the Subject Is the Moon Instead of Stars
The moon is a genuine exception to most of this — it's bright enough that autofocus generally works directly on it, unlike on stars, which is a meaningfully easier situation covered in more detail on this site's dedicated moon-photography settings page. Every technique described above for stars and deep-sky targets still applies as a reliable fallback if autofocus struggles on a particular camera or lens even with the moon as the target.
Focus Drift Across a Long Session
A focus point confirmed correct at the start of a session can drift measurably by the end of a multi-hour shoot, mostly from temperature change rather than anything mechanical failing — a lens that started the night at a warm evening temperature and ends it well below freezing genuinely shifts its focus point in the process. Rechecking focus periodically through a long session, especially one spanning a significant temperature drop overnight, catches this before it quietly ruins the back half of a sequence.
Frequently Asked Questions
Can I just pre-focus at home before heading out to shoot?
Not reliably — true infinity focus is a fixed physical position on a given lens, but temperature changes between home and your shooting location shift it slightly, and handling the camera during transport can bump the focus ring. Confirming focus on-site, even briefly, is worth doing every time rather than trusting a setting from earlier.
Does focus peaking help with astro focusing?
Yes, on cameras that offer it — focus peaking highlights in-focus edges in a bright overlay color, and while a star's edge is faint, peaking combined with digital zoom on a bright star or planet can make achieving precise focus noticeably faster than judging sharpness by eye alone.
Why does my astro focus look fine on the camera screen but soft when I get home?
A camera's rear screen, even zoomed in, has real resolution and brightness limits that can hide a subtle focus miss visible once the image is opened at full size on a larger, calibrated monitor. Zooming to the maximum available magnification in-camera before shooting a full sequence reduces this risk but doesn't eliminate it entirely.