Focusing at Night: A Tutorial

Focusing at Night

Focusing at night can be difficult. In this tutorial I review some of my favorite tips and techniques for focusing a camera lens in the pitch dark and I introduce a tool to make the process even easier.

Introduction

If you’ve tried astrophotography or any kind of night photography before, you’ll understand the typical frustrations surrounding focusing. Autofocus doesn’t work, at least not reliably, the readout on the LCD is often very dark, and the infinity mark on your camera or lens is often not super accurate.

Lenses for Milky Way Photography

Don’t expect your camera to be able to autofocus in dark sky conditions.

Some modern cameras like the Sony a7S (full review) or a7SII can autofocus in very dark conditions as low as -4 EV but on a moonless night in the backcountry, the sky can be dark as -9 EV or lower. That’s really really dark. At that level of darkness, most autofocus systems, even on the Sony a7S, will typically fail to catch sharp focus. There are some cases where the brightest stars or distant light sources may allow an autofocus system to catch focus, but it’s usually difficult and rarely accurate. When shooting astrophotography and night landscapes, we usually need to rely on manual focusing techniques for the best possible focus.

great-sand-dunes-milky-way-landscape-rx100iii-2

I use manual focusing for all of my astrophotography.

The Technique

Let’s review the basic steps and then we’ll jump in to my favorite techniques and tips to attain perfect focus on the stars.

Enable Manual Focus

sony-a7s-review-8

Switch your camera or lens to Manual Focus (MF).

Even the best autofocus systems are unreliable in dark sky conditions. Set your camera lens or camera to manual focus mode. Manual focus will allow us to more carefully and precisely scrutinize our focus.

Pre-Set the Lens to the Infinity Mark if Possible

fast-wide-angle-lens

If your lens has an infinity mark, set it there to start.

If your lens has an infinity mark, set the focus there. This will give us a decent start on our focus and help us frame a bright star or light source. Don’t rely solely on the infinity mark though. While “true infinity focus” is what we want, lens markings are rarely perfectly accurate. For the absolute best focus, we’ll need to refine it further. Let’s talk about how to do that next.

Enable Live View if on a DSLR

Canon EOS 6D Rear Buttons

If you’re using a DSLR, start Live View mode.

If you’re using a DSLR, you’ll want to enable live view mode so that you can use the back LCD monitor to frame your shots. The eye-level viewfinder will usually be too dark to see through. Live View can help us by amplifying the scene electronically and allow us to magnify the image on the LCD. Using your camera’s magnified Live View mode is the most accurate method of focusing on the stars. If you’re on a mirrorless camera, you’ll already be composing with the LCD monitor so just make sure that your back screen is on.

Pre-Set the Exposure

Before you start framing, set your camera to Manual mode and enter in the exposure that you wish to use. If you’re not sure about what settings to use yet, check out my Milky Way Exposure Calculator. The settings from the calculator should be good for focusing on the stars with most cameras but it might be helpful in some cases to use an especially high ISO like 6400 or 12800. Try it out to see if it makes the stars more visible to help with focusing. Most cameras, just by setting the shutter time to a long exposure, will boost the Live View feed sufficiently to be able to frame and focus on a bright star, no need to increase the ISO too high. If this is your first time shooting photos of the stars, check out my tutorial on how to photograph the Milky Way.

Center the Brightest Star… or Something Distant and Bright

Point your camera toward the brightest star you can find in the sky and put it in the very center of your frame. Using your camera’s magnification feature to zoom into the live view feed can help you spot dimmer stars.

venus-and-jupiter-monument-valley-101

Find the brightest star in the sky for focusing. Planets like Venus and Jupiter work pretty well too!

If you are having trouble finding a bright enough star, you can also use an artificial light source. A distant building, far off town, roadway, bright tent or your own headlamp can work. I’ve even heard of some photographers using the spot from a laser pointer.

voigtlander-15mm-heliar-iii-review--32

Sometimes a bright, distant light source (like my tent in this case) is a great object to check focus on. Make sure it’s at least 100 feet or 30 meters away.

The important thing when using an artificial light source for focusing is that it must be far away. Make sure it’s at least 100 feet or 30 meters away. That should be sufficiently far away for focusing most standard or wide angle lenses. As long as the thing on which we’re focusing is far enough, it should allow us to achieve “true infinity” focus.

Focusing Aids

Use Live View and the digital magnification function to zoom the view on the star or distant light source and adjust the manual focus ring until the star or light appears in focus. How do we know when it’s really in focus? There are a number of different indicators of good focus and here are a few that I usually look for:

Size

When focusing on a bright star or artificial light source, look at its size. Perfect focus is when the star looks as small and pinpoint-like as possible. Out of focus stars will obviously appear softer but they will also tend to show a little more more color, sometimes due to spherochromatism as I explain below. When in focus, most stars, even the dimmer ones, should look small, sharp, bright and nearly white.

out-of-focus-in-focus

Dim Stars

Look adjacent to your bright focusing star. It’s usually possible to start seeing some of the dimmer stars on the LCD as you near perfect focus. Dim stars will become very diffuse and will nearly disappear from view if you’re not focused properly so try to find the point of focus where the dimmer stars are most visible.

Spherochromatism

Many fast, large-aperture lenses like the ones we like to use for photographing the Milky Way, exhibit a form of spherical aberration call spherochromatism. Spherochromatism causes high contrast  out-of-focus highlights to shift in color to create green or magenta halos. When focusing on a bright star, it’s often possible to notice a star shift in color from green when focused too close to magenta when focused too far. Perfect focus is usually very close to the point in-between when the star appears neutrally colored, neither predominantly green nor magenta.

spherochromatism-focus-indication

If you’re having trouble getting the star to be completely neutral, I recommend erring on the side of the magenta shift just because magenta halos tend to appear more natural around a star than green ones. Ideally, the star should look neutral in color. It’s usually OK if your stars are a little bit stretched due to star trailing. If this bothers you, just reduce your shutter time a little bit. You can calculate a good starting exposure with our Milky Way Exposure Calculator.

Shoot and Check

When you think you’ve achieved decent focus via the indicators above, shoot a test shot and check the results. Use your camera’s magnification function when reviewing the image to make sure you have perfect focus. Making a test shot should always be the last check. And remember to double check after a few more shots in order to make sure the focus is still in tune.

focus-check-with-magnify

Lock it Down and Shoot Away

Once you’re confident in your focus, it’s often an excellent idea to lock it down by carefully taping your focus ring with a piece of gaffers tape. It’s easy to stick but doesn’t leave any residue.

gaffer-tape-to-lock-focusing-ring-101

When focused is achieved, you can tape the focus ring to prevent it from moving.

I always keep a little bit of gaffers tape wound around an old unused plastic card like an expired credit card so that it fits easily in my camera bag. There are some small gaffer tape rolls available like the MicroGaffer, but you’ll get more for your money if you make one yourself, plus the flat profile of a credit card is even more compact. No one wants to lug around an entire roll.

gaffer-tape-to-lock-focusing-ring-102

Wrapping an old credit card with gaffers tape is a compact way to always keep some with you.

When your focus is locked down, it’s likely that you won’t need to adjust it all night. Just be careful to not bump it, even gaffers tape can come undone with a good knock.

Even Better Focus: Use a Focusing Mask

While the above methods should help you get decently accurate focus, there’s a certain lack of precision in the method of “focus until it looks best.” There’s always that last little bit of uncertainty surrounding traditional focusing methods. That last little bit of throw in the focusing ring is usually the most difficult to truly master. So how do we know if our focus is really as good as it gets?

As it turns out, there’s actually a tool that astronomers have been using for years that gives a precise indication of focus success: the focusing mask. There are a number of different types of focusing masks but the most popular one that I know about at the moment is called the Bahtinov Mask.

SharpStar2 precision focusing tool for astrophotography by Lonely Speck

The SharpStar2 by Lonely Speck is a focusing mask that helps achieve perfect focus on the stars, every time. Here it’s mounted via a 67mm Filter Holder.

The Bahtinov Mask (wikipedia) was developed by an amateur astronomer named Pavel Bahtinov. It’s a simple mask that covers your camera lens. It has a special slit pattern cut in the mask that produces three distinct diffraction spikes around the brightest stars. Because of the arrangements of the slits, the shape of the diffraction pattern changes as you focus. When all three diffraction spikes are lined up symmetrically, the image is in perfect focus on the star.

Bahtinov Mask Demo

The diffraction pattern from a focusing mask shifts as you focus. When the vertical spike is centered, focus is perfect.

While I was writing this article, I made a new design for a Bahtinov mask that would fit into a standard 67mm, 85mm or 100mm filter holder like the Formatt Hitech Filter Holder that I use. It’s special design is an improvement upon the traditional Bahtinov mask so that it works on nearly any camera lens. I’m calling my focusing mask the SharpStar2 by Lonely Speck. I make the SharpStar2 in the USA and ship them out myself. I’ve now sold hundreds of SharpStars to astrophotographers around the world. Read more about the SharpStar by clicking the button below.

SharpStar2 Precision Focusing Tool for Astrophotography by Lonely Speck

Order the SharpStar Now

The SharpStar2 is an improved design of our original SharpStar that works on most lenses, even relatively slow wide angle lenses like a typical 18-55mm f/3.5-5.6 kit lens. I now use the SharpStar2 for most of my astrophotos. Even the tiniest changes in focus are immediately apparent when using the SharpStar2. It adds a lot more confidence in the quality of focus and makes the whole process a lot easier. If you want to support Lonely Speck and the SharpStar project, you can place and order for the SharpStar2 above.

Q: What if my camera doesn’t have Live View?
A: Trial and Error: Manually Set and Check Focus

Many older generation DLSRs do not have a Live View function. If this is the case, you’ll have to use trial-and-error. Set the focus as well as you can manually or start it at the infinity mark, take a photograph and review it under magnification. If it’s out of focus, take note of the focus ring position, adjust the focus a little bit in one direction and take another photograph and review it again. Repeat until you are convinced that you have achieved sharp focus.

Your eyes’ night vision abilities will drastically affect how successful you’ll be able to see a bright star in an optical viewfinder. Give yourself at least 30 minutes of pure dark, with no artificial light sources (even red lamps) so that your eyes can more fully adjust to seeing in the dark.

Photograph the Night Sky

This is a rather time consuming method and requires much patience but it’s still possible to get good focus with this method. If you’re using a camera without Live View, I might also recommend picking up a focusing mask like the Lonely Speck SharpStar. It  at the very least will give you a good indication of focus success upon reviewing a test image.

Regardless of the method of focus you decide to use, always use the magnify function on your screen preview when reviewing the photograph to check the focus. Don’t take the initial thumbnail at face value. Once your shots are in focus, remember that you can use a piece of tape to hold the focus ring and prevent you from accidentally bumping the focus.

Conclusion

The techniques I outline here are the ones I always use for focusing at night. There’s nothing more frustrating than returning home to find out that half of your photos are slightly out of focus. Don’t be too disappointed if you’re having some trouble at first. Focusing in the dark certainly requires some careful patience. Practice. Check. Re-check.

I hope this writeup was helpful. If you have any questions or alternate methods that you use to help with focusing, please feel free to comment below.

Equipment

I’d like to give one last shout out to the Sony a7S and a7SII. If there’s one piece of equipment that will make the most difference for focusing and framing success while shooting astrophotography, it’s probably either one of these cameras. I’ve used a ton of different cameras for shooting astrophotography, and the a7S is arguably the easiest to focus because of its particularly high sensitivity CMOS sensor. If you want the best, get one of these cameras.

I personally buy almost all of my equipment through Amazon and B&H. Each are some of the most reputable online retailers, they both have an excellent return policy and are guaranteed to have the lowest prices anywhere online. If you are considering buying a Sony a7S or a7SII series camera or any equipment for that matter, consider buying through the affiliate links on this page. You won’t pay anything extra, but Lonely Speck will receive a small commission (usually 2-4%) to help run the website. Here are links that help out Lonely Speck:

Learn Astrophotography

Astrophotography 101 is completely free for everyone. All of the lessons will be available on the Lonely Speck Astrophotography 101 page for you to access at any time. Enter your email and whenever we post a new lesson you’ll receive it in your inbox. We won’t spam you and your email will stay secure. Furthermore, updates will be sent out only periodically, no more than once per week.

Join 6 785 other subscribers.

Help us help you!

Believe it or not, Lonely Speck is a full-time job. It’s been an amazing experience for us to see a community develop around learning astrophotography and we’re so happy to be a small part of it. I have learned that amazing things happen when you ask for help so remember that we are always here for you. If you have any questions about photography or just want to share a story, contact us! If you find the articles here helpful, consider helping us out with a donation.

Donate

The biggest contribution comes from the use of our affiliate links. When you buy through the Amazon or B&H Photo links on Lonely Speck, it costs you nothing extra, but we will receive a small commission (usually 2-4%) to help run the site.

Thanks so much for being a part of our astrophotography adventure.

-Ian

Back to Astrophotography 101

lonely-speck-logo-icon-16px



Ian Norman

Creator at Lonely Speck
Ian Norman, co-founder and creator of The Photon Collective and Lonely Speck. Ian is a full time traveler, photographer and entrepreneur. In February 2013, he called it quits on his 9-to-5 to pursue a lifestyle of photography. Follow Ian's photography adventures on Instagram.

14 Responses

  1. Steve Raphael September 22, 2016 / 5:17 pm

    Ive been getting into night photography with decent success. I am using a 4/3 camera with a 17mm lens at F1.8. When I take landscape shots I am getting a greenish tint in the upper right hand corner of my shots. Any suggestions?

    Thx! Steve

  2. Annu Marwaha July 19, 2016 / 8:45 pm

    Hi Ian,

    What filter holder do you use on your Rokinon Lens for the Sharpstar 2?

    -Annu

  3. Bill Gercken June 24, 2016 / 4:25 am

    Hi Ian,

    Do you turn focus peaking on when focusing an A7s?

    Thanks!

    • Bill Gercken June 25, 2016 / 9:44 pm

      OK the answer to this question is you can but probably not what you want to do. I left it on and it actually picked up individual stars, which was pretty cool. Then I turned it off and slapped on my lonely speck sharp star 2 and was able to focus hand held using the view finder only. Holy cow that was awesome. (Sony A7s ii, Zeis Batis 2.8/18)

    • Ian Norman June 25, 2016 / 10:36 pm

      Yeah, I personally keep peaking off for focusing on the stars.

  4. matt February 24, 2016 / 8:08 am

    Ian,
    Hey I would love to know how you created the effect for the main picture for this article . The picture is in focus through out most of the image but then the stars start to go out of focus towards the top of picture.. Some type of blur filter in photoshop? I think this affect is pretty cool and would love to compose some shots using this technique.

    Matt
    http://www.matthewpstudios.com

    • Ian Norman February 26, 2016 / 2:57 pm

      Hey Matt, the title image you’re talking about is made using the “Lens Blur” filter in Photoshop. That said, it would be possible to potentially use a tilt-shift lens or adapter or to “free-lens” to achieve a similar result. I made it mostly as an embellishment for the title of the article.

  5. Tom Feldman November 22, 2015 / 8:17 pm

    Ian, your website is awesome and as a person just starting to get into photography (and astrophotography), I find myself here all the time. Thanks!

    I am curious if there a way that I can get sharp stars AND keep objects in the foreground in focus? For example, you have several pictures of the milky way sitting above your tent. How do you capture the details of the tent and rocks etc… while still getting a nice sharp milky way? Thanks! (also, looking forward to your review of the a6000!)

    • Ian Norman November 22, 2015 / 9:53 pm

      Thanks Tom!

      Getting the foreground in sharp focus is very dependent on lens and distance to the foreground objects. Stuff that’s really close is going to usually be out of focus so the first and easiest thing to do is back up!
      Using a shorter lens will also generally help increase depth of field. Many of the shots I’ve made with a tent in the foreground were made with a very short lens, usually a 14mm or 15mm.
      The final technique to use is called focus stacking. It involves taking several photographs while adjusting focus between shots. I haven’t made a focus stacking tutorial yet, but maybe it’s time…

  6. Philip November 20, 2015 / 8:30 am

    The bane of my existence, ha. Thanks for the tips. I’m new to astrophotography, and don’t really have high quality gear. Getting the focus just right has been such a challenge. Nothing like taking a stack of 20+ photos, after you focused, double checked the focus, only to still find out your focus was off ever so slightly. The strip of tape is great idea. My lenses often fall out of focus, periodically, making it an additional pain to have to keep refocusing.

    • Ian Norman November 21, 2015 / 1:01 am

      Glad you found some of the tips to your liking!

Leave a Reply

Your email address will not be published. Required fields are marked *