Astrophotography

How to Focus a Camera on Stars

Focus a camera on stars by switching to manual focus, zooming in on a bright star in live view, and adjusting until the star is a tiny, sharp point.

On this page
  1. Why autofocus fails at night
  2. Set manual focus and start near infinity
  3. Pick a bright star or a distant light
  4. Magnify in Live View and adjust
  5. Lock the focus ring
  6. Check focus on a test frame
  7. The Bahtinov mask (optional)
  8. Phones and fixed-focus devices
  9. Troubleshooting
  10. Where to go next

Why autofocus fails at night

Autofocus needs contrast to lock on. A dark sky with a few faint points offers very little to work with, so most cameras hunt back and forth or give up. Focusing by hand on a bright star is more reliable.

Set manual focus and start near infinity

Switch the lens or camera to manual focus. Turn the focus ring to the infinity mark as a starting point. Stars are so far away that they count as being at infinity, so this setting gets you close. If your lens has no infinity mark, focus on a distant object in daylight and mark that position with tape.

Pick a bright star or a distant light

Choose the brightest star you can see. Vega, Arcturus, and Sirius are among the brightest stars visible from the Northern Hemisphere, depending on the season. The Moon also works, since it’s bright and far away.

If clouds or haze hide the stars, a distant light will do, such as a streetlight on a far hill. The light should be far enough away that focusing on it is close to focusing at infinity.

Magnify in Live View and adjust

  1. Turn on Live View on the camera’s rear screen.
  2. Center the star on the screen.
  3. Magnify the view. Many cameras magnify to 5x, then 10x with a second press of the zoom button.
  4. Turn the focus ring slowly in one direction, then the other.
  5. Stop when the star is at its smallest and sharpest.

At high magnification, a focused star looks like a tiny point. If it looks like a soft disc, keep adjusting in small steps.

Lock the focus ring

Once you have focus, stop the ring from moving. Some lenses have a focus lock switch. Otherwise, a strip of gaffer tape across the focus ring and the lens barrel works well. Avoid touching the ring while you shoot.

Check focus on a test frame

Take a test frame and zoom to 100 percent on a star near the corner of the image. Stars should be small and round. Check again at intervals through the night, because changes in temperature can shift focus. If a frame looks soft, check the focus ring first.

The Bahtinov mask (optional)

A Bahtinov mask is a cover with a pattern of slits that splits a bright star into a set of diffraction spikes. When the focus is correct, the central spike sits evenly between the other spikes. The mask helps if you find it hard to judge sharpness on a screen. It’s used most often with telescopes, but it can also work over a camera lens.

Phones and fixed-focus devices

Some phones and cameras don’t allow manual focus. Tap a bright star on the screen where you can, then check the result at full zoom. If the stars still look soft, try a different focus point or the phone’s night mode settings. The phone method for stars is also covered in how to photograph the milky way with a phone.

Troubleshooting

  • The star disappears on Live View. It’s too far out of focus. Turn the ring back toward infinity and search again.
  • The star looks like a blob with colored edges. It isn’t in focus yet. Keep adjusting slowly. Some color fringing can ease as focus improves.
  • Focus changes between frames. The ring has moved, or the lens focus has shifted as temperature changed. Check it at intervals and tape the ring.
  • Stars look soft only near the corners. Some lenses are softer at the edges. Focus on a star near the middle, then check the corners on your test frame.

Where to go next

Once focus is set, move on to exposure. Our guide to what camera settings for photographing stars covers the starting values. Shimmer on the screen is often air turbulence, not focus. Our explainer, why do stars twinkle, covers the reason.

The complete guide to astrophotography

How to Start Astrophotography as a Beginner
Read the guide

Keep exploring

Guides from other topics

All topics →