Better Star Trails Photographs with StarStaX


Long, swirling star trail photography is on the bucket list of many photographers. In the film days, this required leaving your shutter open for one continuous exposure on the order of hours and hoping that everything would turn out just right. In the digital era, many photographers rely on a process known as stacking to take a large number of individual frames and combine them into the final image. This article will lay out how to capture incredible star trail photographs and combine them using the free program StarStaX.

StarStax, star photography, stacking, star trails, how to, astrophotography

Shooting Your Individual Star Trails Photographs

Many detailed posts have been written about how to capture individual photographs for star trails stacking, so this article will only provide a quick overview. Check out the linked posts at the end of this article for additional details.

For equipment, you will need your camera, a fast wide angle lens, a sturdy tripod, a remote shutter release, and a full battery or two. A red headlamp or flashlight as well as a folding chair can also come in handy. I recommend a wide angle lens, like 18 mm (or wider), so that you can capture a larger expanse of the sky. A fast lens (one with a wide aperture, like f/1.8) is also preferred so that you can capture more light with each frame. (Most of the photographs in this article were shot at 18 mm and f/3.5 on my Tamron 18-270 mm lens.)

dark sky finder, star trails, astrophotography

Choose your location and timing carefully. Capturing star trails around the time of the new moon is preferable, so that bright moonlight does not wash out all the stars from the sky. You also want to get as far from artificial lights as possible. You can use the web site Dark Sky Finder to look for possible dark sky locations near you. Once you have chosen a location, you can use the web site Clear Dark Sky to check their 48 hour forecasts about the potential for clear sky in a given location.

Once you are on location, spend some time choosing your final composition. Think about a position that will provide an interesting foreground – an unique tree, a geologic formation, or a body of water – as well as an expansive view of the night sky. If you want an image of the stars swirling around a complete circle, then be sure to include the North Star in your viewfinder (in the Northern Hemisphere). If you want extremely long swirls in less time, then compose for a view farther away from the North Star.

star photography, star trails, astrophotography

Shoot one photograph with your widest aperture and a fairly high ISO value for 30 seconds. (The image above was shot at 30 seconds, f/3.5, and ISO 6400.) Your image will be quite noisy, but you should get a strong sense for your overall composition.

Once you have your composition nailed down, you want to dial in your final settings using manual mode. Choose your widest aperture (like f/1.8 or f/3.5), a 30 second shutter speed, and a mid-range ISO like 800-1600. (Newer cameras have less noise at higher ISO values, but you may want to use an ISO of 400 or 800 with an older or entry-level camera.) Turn off the autofocus and use manual focus to focus on infinity.

Before you start shooting, cover your lens with a lens cap or piece of black paper and shoot a few frames. These will be your dark frames when you process the images in StarStaX. Dark frames allow the program to subtract digital noise and hot pixels from your final image.

star photography, star trails, astrophotography

This image is a stack of 26 images shot with 18mm, 30 seconds, f/3.5, ISO 800. The green squiggles are fireflies.

Use your remote shutter release to lock down your shutter. As soon as your camera finishes taking the first 30 second picture, it will start taking the next, and so on. Then pull out your folding chair, sit back, and enjoy the wait. An hour’s worth of shots is a good goal to aim for. The more photographs that you take for your stack, the longer and more defined your final star trails will be.

Once you have finished capturing your shots, remember to take a few dark frames again at the end. Leave your settings the same but cover the lens with the lens cap and shoot a couple more frames.

Preparing Photographs for Stacking

Depending on your photographs and the end result you are envisioning, you may want to do some post-processing on your individual frames before loading them into StarStaX. Whether you use Lightroom, Photoshop, or another post-processing software, you will want to apply a similar treatment to all your images if you choose to do any corrections, such as adjusting the white balance or fixing the colors.

star photography, star trails, how to, astrophotography

You may also need to do some quick editing of individual shots, especially if you were shooting at a location with unwanted stray light. In the photographs below, you can see that this frame captured the light from passing cars on the far side of the lake. The quickest solution to problems like these is to open these individual frames in Photoshop, set the brush tool to black, and paint over any unwanted light.

star photography, star trails, how to, astrophotography

You can see a big difference in the foreground between these two stacks of the same individual star trails. Painting out the stray light trails in those few individual pictures allows for a more seamless and less distracting foreground, once you stack all the photographs together.

star photography, star trails, how to, astrophotography, StarStax, stacking

Alternatively, you can choose one frame in Lightroom or Photoshop and make any adjustments needed until the non-sky portions of your image are just right. Then, after creating your star trails in StarStaX, you can combine your ideal foreground with your stacked sky using layers and masks in Photoshop.

Stacking Your Star Trails Photographs Using StarStaX

StarStaX was developed by Markus Enzweiler and is available as a free download for Windows, Mac, and Linux computers. (Screen shots courtesy of the Windows 0.60 version.) After downloading and opening the program, the first thing you need to do is load your individual photographs by going to File -> Open Images or hitting the Open Images button. You may select JPEG, TIFF, bitmap, or PNG file types. After selecting your star trails shots, you need to load your dark frames by going to File -> Open Dark Frames or hitting the Open Dark Frames button.

StarStax, star photography, stacking, star trails, how to

Once you have both types of files loaded, it is time to run your first stack. The default options are a good starting point: try lighten mode and check the button for subtract dark frames, if you have uploaded some. Click Edit -> Start Processing or the Start Processing button. The amount of time it will take the program to complete the stacking will vary based on your computer and the number of individual photographs, but it should be on the order of a few minutes at most.

After the program has finished stacking your images, click File -> Save As or the Save button and save your stacked image. Stacks will not save automatically. You can use the zoom tools to look more closely at your stack and see if the results match your expectations.

StarStax, star photography, stacking, star trails, how to, astrophotography

You may notice that there are some gaps in your star trails, which result from the time between one photograph ending and another beginning. In that case, you may want to run the stack again. Your individual photographs and dark frames are still loaded, so just change the blending mode to Gap Filling and start processing your files again.

After your gap filling version has finished processing, there are a few options you can use to adjust the amount of gap filling applied. Click the Images tab and experiment with the different sliders to minimize the appearance of any gaps. Click the 1:1 button to zoom into the pixel level, as in the image below, to see the impact of the Gap Filing sliders.

StarStax, star photography, stacking, star trails, how to, astrophotography

Want a really unique shot? Run the stack again in either Lighten or Gap Filling and click the checkbox for Comet Mode. Your final star trails will each take on the appearance of a streaking comet.

star photography, star trails, how to, starstaX, astrophotography

Stack of 90 images including six dark frames, each shot at 18 mm, 30 seconds., f/3.5, and ISO 800.

Now You Try

Now that you have the basic idea, you need to find a great location and give it a try! Do not feel discouraged if you are far from any suitable dark sky locations. You might be surprised at what you can capture even under less than ideal settings.

StarStax, star photography, stacking, star trails, how to, astrophotography

Thus photo was taken just outside a city in North Carolina and was a stack of 78 images and seven dark frames, each taken at 30 seconds, f/3.5, and ISO 800.

Have you used StarStaX to capture star trails? Share your thoughts or favorite images in the comments below!

Need more help for shooting your star trails images, try these articles:

Read more from our Post Production category

Katie McEnaney is an educator and photographer from Madison, Wisconsin. Read more tips on her blog, Boost Your Photography. Her first eBook, Boost Your Photography: Learn Your DSLR, is now available for Kindle on Amazon.

  • Eric Deesey

    Check out for great free online portfolio of your artwork!

  • David

    Hi. I have used Starstax for a long time and Markus has done a superb job especially to add the comet trails and gap filling. Gaps can be minimised via intervalometers with >30 sec/shot and also seem to have less time between concurrent shots than locking down the camera’s shutter release. You can do the same in Photoshop but the size of the files is massive! You can also use Starstax for stacking/layering any type of photo set. See sample attached. A windows only program 🙂 that is more powerful is
    As always, the foreground makes the shot after you have mastered the star trails technique.

  • i’ll have to try some star trails again with the “comet setting”!! also, curious what the dark frames are for?

  • Katie McEnaney

    Love this point of view for your trails, wow! You can input images you’ve shot before and re-process them with the comet setting to see.

    The dark frames help eliminate noise and hot pixels in your image. (If you zoom in on a dark frame taken with the lens on, you will notice individual pixels that light up red or blue. StarStaX will remove those from the final image.)

  • Katie McEnaney

    Thanks for sharing, David! I have also used StarStaX for creating an other-worldly shot of many, many shots of fireflies all at once.

  • StarStax is an awesome program! I do mainly star trails with it, but in an open field catching lightning for awhile and stack the shots can be alot of fun too 🙂 it has alot of potential for many things!

  • Katie McEnaney

    Incredible shot! Definitely another excellent application of stacking. Wow!

    Do you mind sharing how many exposures were included in this stack?

  • Thank you Katie, this was 10 exp @ 2.9 sec each I was doing a timelapse and picked all the best lightning shots out (you can see in the middle background 10 dots that was a helicopter flying around, I kept it in the frame instead of removing) the crazy part to believe for myself is 7 of the frames are are in the upper right side (kind of amazing so much lightning in the same spot over a 20 minute period). The program is amazing and easy to use and it also opens up a world of creativity 🙂

  • ida980

    my bf’s aunt just got BMW 1 Series Convertible only from working parttime off a pc. see here…..>> -> READ FULL REPORT!!!! <-

  • brianbaughman

    It’s n­ot ea­sy to ge­t a jo­b th­at you love… Sometimes colleagues can annoy you, or maybe you have long working hours and offcourse there is always your boss who gives you hard time all the time… But what would you say if i tell you that there is a job where you can be your own boss and in the same time earn in the range of $100-400/daily while working for 10-13 hours a week -> -> Check it out!!! <-

  • etta9824

    This is how you can make a very decent income every month from the comfort of your home… You can Try it for yourself! After been without work for 6 months,I started freelancing over this site and now i couldn’t be happier. After 6 months on my new job my monthly income is around 12k a month…>> -> ONLINE MARKETING PROFESsiteON!!! <-

  • kelly87421

    until I saw the bank draft ov $5787 , I did not believe that…my… mother in law woz actually receiving money in their spare time from their laptop. . there uncles cousin haz done this for only about 10 months and recently repaid the loans on their cottage and purchased a new Chrysler . find out here now……>> -> earn by internet bussiness profession!!! <-

  • Paige Hart

    I recently attempted start trails with your tips, the results are fantastic. Thank you for the lens, location, and editing suggestions. Overall, it produced stunning images and I look forward to continuing my collection of night photographs.

  • MariaConstableali

    Makayla . if you, thought Micheal `s storry is something, on friday I bought BMW M3 from having earned $6333 this-last/4 weeks and-just over, 10k last-munth . it’s definitly the most-rewarding I’ve ever had . I began this nine months/ago and right away started bringin in at least $72, p/h . why not check here…….>> -> work from comfort of home!!! <-

  • Katie McEnaney

    Wonderful, Paige! Glad to hear that you were able to capture an amazing series of shots – if you have them up online, you should share a link. Great!

  • spicynujac

    Thanks for the advice on Deep Sky Stacker. StarStaX is a good program, but it doesn’t support RAW files, and when you are shooting extreme light levels (pitch black night sky with bright points of light) RAW shooting is highly recommended (and supported in DSS!) I will have to check it out.

  • Kristen

    I have used several methods including StarStaX. While it’s fantastic if you don’t have PS or CC, if you do, I like this script even better:

Join Our Email Newsletter

Thanks for subscribing!

DPS offers a free weekly newsletter with: 
1. new photography tutorials and tips
2. latest photography assignments
3. photo competitions and prizes

Enter your email below to subscribe.
Get DAILY free tips, news and reviews via our RSS feed