Guide Technical Advanced

How to Photograph Stars: Astrophotography Settings and Techniques

Master night sky photography with exact camera settings for sharp stars, Milky Way shots, and long exposures using the 500 rule and manual focus.

Luna 13 min read

Set your camera to ISO 3200, f/2.8, and a 20-second shutter speed. Point it at the darkest patch of sky you can find, trip the shutter, and wait. When the preview appears on your LCD, you will see stars — hundreds of them, many invisible to your naked eye. That first frame is a revelation, and it is the beginning of one of the most technically demanding and deeply rewarding branches of photography.

Astrophotography is a discipline built on precision. The Earth rotates at roughly 15 degrees per hour, which means stars drift across your sensor during every exposure. Too long an exposure, and those pinpoint stars become short streaks. Too short, and you do not collect enough light to reveal the fainter stars or the structure of the Milky Way. The settings above represent a carefully tuned balance: enough time to gather light, not so much that motion blur ruins the sharpness.

The other variable you control is where you shoot. Light pollution from cities scatters in the atmosphere, washing out the sky. Under a Bortle Class 8 sky (typical suburb), you might capture a few dozen bright stars. Under a Bortle Class 2 sky (remote wilderness), the same camera and settings will reveal thousands of stars and the luminous band of the Milky Way stretching horizon to horizon. Location is not a convenience in astrophotography — it is a technical requirement on the same level as your camera settings.

What You Need

Camera with manual controls and good high-ISO performance. Full-frame sensors have a significant advantage due to their larger photosites, which collect more light and produce less noise at ISO 3200-6400. APS-C and Micro Four Thirds sensors work too, but you will need to be more aggressive with noise reduction.

Fast wide-angle lens. The wider your maximum aperture, the more light you collect per second. f/2.8 is the practical minimum for astrophotography. f/1.8 or f/1.4 is better — each stop of aperture improvement halves the ISO you need for the same exposure, cutting noise dramatically. Focal lengths of 14-24mm are standard for wide Milky Way compositions. A 14mm f/2.8 or a 20mm f/1.8 are workhorses.

Sturdy tripod. Night exposures of 15-25 seconds demand a tripod that does not wobble, sink into soft ground, or vibrate in light wind. Extend the thickest leg sections first and avoid extending the center column, which reduces stability.

Remote shutter release or intervalometer. For single shots, a simple wireless remote eliminates camera shake. For stacking (taking multiple frames for noise reduction), an intervalometer automates the sequence. Many modern cameras have built-in interval timers.

Headlamp with red mode. White light destroys your dark adaptation, which takes 20-30 minutes to fully develop. Red light preserves your ability to see faint stars and navigate your gear in the dark.

Optional: star tracker. A motorized equatorial mount that rotates your camera at the same rate as Earth’s rotation, canceling star trailing entirely. This lets you shoot 2-5 minute exposures at lower ISO, dramatically improving image quality. Compact trackers weigh under 1.5kg and cost $250-400.

Camera Settings Breakdown

SettingWide-Field Milky WayConstellation DetailStar TrailsWith Star Tracker
ISO3200-64001600-3200400-800800-1600
Aperturef/1.8-f/2.8f/2.8-f/4f/4-f/5.6f/2.8-f/4
Shutter Speed15-25s (500 rule)15-25s20-60 min (Bulb)60-180s
FocusManual, on bright starManual, on bright starManual, infinityManual, on bright star
White Balance4000-4500K4000-4500K4000-4500K4000-4500K
Noise ReductionOff (stack in post)Off (stack in post)On (long exp NR)Off (stack in post)

The 500 Rule

The 500 rule gives you the maximum shutter speed before stars begin to trail visibly:

Maximum shutter speed = 500 / (focal length x crop factor)

For a 20mm lens on a full-frame camera: 500 / 20 = 25 seconds. For a 20mm lens on an APS-C crop sensor (1.5x): 500 / 30 = 16.7 seconds. For a 14mm lens on full-frame: 500 / 14 = 35.7 seconds.

The more conservative “NPF rule” accounts for pixel density and produces shorter times — typically 10-15 seconds for modern high-resolution sensors. If you are shooting with a 40+ megapixel body, use the NPF rule or test your specific setup by zooming in to 100% on test shots.

White Balance

Set a custom Kelvin temperature of 4000-4500K. This produces a natural-looking night sky with blue tones. Auto white balance tends to overcorrect, adding too much warmth from artificial light sources on the horizon. Since you are shooting RAW, you can refine this in post, but starting at 4200K gives you an accurate preview on the LCD.

Long Exposure Noise Reduction

Turn it off. The camera’s built-in long exposure NR works by taking a second “dark frame” of equal duration after each shot. At 25 seconds per exposure, this means 50 seconds per usable image — halving your shooting efficiency. Instead, take your own dark frames at the end of the session (cap the lens, same settings, same temperature) and subtract them in stacking software for a superior result.

Step-by-Step Process

1. Find a Dark Sky Location

Light pollution is the single biggest obstacle to astrophotography. Use a light pollution map (available as free apps and websites) to find locations rated Bortle Class 3 or darker. In practice, this usually means driving 50-100km from a major metropolitan area and finding a spot away from any town or highway.

National parks, state forests, wilderness areas, and high-altitude plateaus are prime territory. Even within a “dark” area, orientation matters: face away from the nearest city. The glow from a city 80km away can wash out the horizon in that direction while the opposite horizon remains dark.

Elevation helps. Higher altitudes mean less atmosphere between you and the stars, less moisture, and typically less light pollution. A mountain pass at 2,500 meters will consistently outperform a low-lying field at the same distance from a city.

Scout during daylight. Know exactly where you will set up, what foreground elements are available, and what the terrain is like. Navigating unfamiliar dark terrain at night with expensive equipment is risky and stressful.

2. Plan Around the Moon and Weather

The moon is a powerful light source. A full moon illuminates the landscape beautifully but washes out all but the brightest stars. For Milky Way photography, you need a moon that is below the horizon or in a thin crescent phase. Schedule your shoot within five days of a new moon.

Check the moonrise and moonset times for your location. Even a crescent moon that sets at 10 PM gives you the entire night after that for dark-sky shooting.

Weather is binary: clear skies or nothing. Even a thin haze or high cirrus clouds will scatter light pollution and dim the stars dramatically. Check hourly forecasts for cloud cover, humidity, and atmospheric transparency. Humidity above 70% often produces haze even under “clear” forecasts. The best nights are after a cold front passes through, bringing dry, stable air.

3. Set Your Base Exposure

Switch to Manual mode. Set ISO 3200, your lens’s widest aperture (f/2.8 or faster), and calculate the shutter speed using the 500 rule for your focal length. Turn off autofocus, image stabilization, and long exposure noise reduction.

Set your drive mode to single shot if you are shooting manually, or to continuous if you are using an intervalometer for stacking.

Take a test frame and review it on the LCD. Zoom in to 100% and examine a star near the center and near the edge of the frame. Stars should appear as round dots, not short lines or elongated blobs. If they are trailing, reduce your shutter speed by 2-3 seconds. If the edges show elongated stars while the center is sharp, this is coma — an optical aberration common at wide apertures. Stopping down to f/3.2 or f/3.5 often reduces it significantly.

Check the histogram. For astrophotography, the histogram peak should sit roughly 1/3 from the left edge. If it is further left, the image is underexposed and you are losing faint star detail in the noise floor. Increase ISO by one stop and reshoot.

4. Focus on a Bright Star

Achieving critical focus in the dark is one of the hardest parts of astrophotography, and getting it wrong will ruin every frame you take. Autofocus cannot lock onto stars.

Switch to Live View. Point the camera at the brightest star or planet visible (Sirius, Vega, Jupiter, or Venus are excellent targets). Digitally zoom the Live View display to maximum magnification — typically 10x. The star will appear as a soft blob.

Turn the focus ring slowly. The blob will shrink. Keep turning until the star is the smallest, tightest point you can achieve. If it starts getting larger again, you have passed the point of best focus — back up slightly.

On some cameras, boosting Live View exposure or sensitivity helps you see the star more easily. Check your camera’s manual for a “Live View boost” or “starlight view” setting.

Once focused, do not touch the focus ring for the rest of the session. If your lens has a focus lock switch, engage it. If you bump the lens or change filters, re-focus before continuing.

5. Compose with a Foreground Anchor

A sky full of stars is compelling, but a sky full of stars above a recognizable landscape is a photograph with a story. Include a foreground element in the lower 20-40% of the frame: a mountain ridgeline, a lone tree, a desert rock formation, a barn, a lake reflecting the stars.

The foreground will likely be very dark. You have two options for rendering it:

Option A: Silhouette. Let the foreground go completely dark. This works best when the shape is distinctive and instantly readable — a jagged mountain ridge, a solitary tree against the sky.

Option B: Light painting. During your exposure, briefly sweep a flashlight or headlamp across the foreground for 2-3 seconds. This adds enough light to reveal texture and color in the landscape without overpowering the stars. Practice the timing: too much light creates an obviously artificial look, while a subtle wash looks like moonlight.

The Milky Way core (visible from roughly March through October in the Northern Hemisphere) rises in the southeast, arcs overhead, and sets in the southwest. Use a planetarium app to determine its position at your shooting time and compose accordingly.

6. Shoot, Review, and Stack

Take 15 to 25 identical exposures with the same settings, same framing, same focus. This is your “light frame” stack. The stacking process averages these frames together, reinforcing the real star signal while canceling out random noise. The improvement is significant: stacking 16 frames reduces noise by 4x (the square root of 16).

After your light frames, put the lens cap on and take 5-10 “dark frames” at the same ISO, shutter speed, and ambient temperature. Dark frames capture the sensor’s thermal noise pattern, which the stacking software subtracts from your light frames for cleaner results.

Back at the computer, use dedicated stacking software (free options are available for all platforms). The software aligns the stars across all frames, compensating for the slight drift between exposures, then combines them. The output is a single high-signal, low-noise image ready for processing.

In post-processing, stretch the histogram to reveal faint nebulosity and the structure of the Milky Way. Adjust white balance to taste — cooler temperatures (3800K) emphasize the blue of the sky, while warmer temperatures (4500K) bring out the golden tones in the Milky Way core. Increase contrast selectively in the sky while protecting the foreground.

Common Mistakes and Fixes

Mistake 1: Stars look like short dashes, not dots. Your shutter speed is too long. Recalculate using the 500 rule (or NPF rule for high-resolution sensors). At 24mm on full-frame, keep exposures at or below 20 seconds. At 35mm, stay at or below 14 seconds.

Mistake 2: The image is very noisy and grainy. High ISO noise is inherent in astrophotography, but stacking solves most of it. If you are processing single frames, reduce ISO to 1600-2000 and accept a slightly darker image with less noise, then lift the exposure in post. Modern sensors handle 1-2 stops of shadow recovery remarkably well.

Mistake 3: Stars are soft and bloated, not crisp points. Your focus is off. This is the most common technical failure in astrophotography and the hardest to diagnose in the field on a small LCD. Zoom to 100% on the camera screen after every focusing attempt. If stars look soft, refocus using the Live View method. Dew on the front element also causes bloating — wipe the lens and check.

Mistake 4: The sky has an orange or brown glow on the horizon. Light pollution from a nearby city. Recompose to aim higher in the sky, or turn to face away from the light source. In post, you can reduce the glow somewhat by adjusting the gradient and color balance along the horizon.

Mistake 5: The foreground is completely black with no detail. If you want foreground detail, either light-paint during the exposure or take a separate longer exposure (30-60 seconds at higher ISO) specifically for the foreground and blend it with the sky frames in post. This is a standard technique and not considered “cheating” — it solves a dynamic range problem that no single exposure can handle.

Taking It Further

Star trails. Instead of fighting Earth’s rotation, embrace it. Set your camera to f/4, ISO 400, and use an intervalometer to shoot continuous 30-second exposures over 1-2 hours. Stack the resulting 120-240 frames in star trail software to produce concentric arcs of light centered on the celestial pole. The North Star (Polaris) marks the center in the Northern Hemisphere.

Tracked deep-sky imaging. With a star tracker, you can expose for 90-180 seconds at ISO 800, collecting 4-8x more light per frame than untracked shooting. This reveals the faint arms of the Milky Way, the pink glow of emission nebulae, and the structure of the Andromeda Galaxy (visible to the naked eye at Bortle Class 3 as a faint smudge, but resolved in tracked images into a distinct spiral).

Panoramic Milky Way arches. Shoot 8-12 overlapping frames across the Milky Way’s arc and stitch them into a panorama. Each frame uses your standard settings (ISO 3200, f/2.8, 20s). The result is an ultra-wide view spanning 120-180 degrees, showing the full sweep from horizon to horizon. Process the individual frames for noise and color, then stitch them — processing after stitching can produce visible seams.

Timelapse. Use an intervalometer to shoot one frame every 25-30 seconds for 2-4 hours. The resulting 240-480 frames compile into 10-20 seconds of timelapse at 24fps, showing the stars wheeling across the sky. Keep all settings in Manual (including white balance) so the exposure does not flicker between frames.

ShutterCoach Connection

After a night shoot, upload your best astrophotography frames to ShutterCoach. The app can analyze your star sharpness, composition balance, and foreground integration, giving you specific feedback on what worked and what to adjust next time. Over several sessions, you will track your progress from those first tentative test shots to deliberate, polished night sky images.

Frequently Asked

What ISO and shutter speed should I use for astrophotography?

Start at ISO 3200, f/2.8, and a shutter speed calculated by the 500 rule: divide 500 by your focal length times crop factor. A 20mm lens on full frame gives you 25 seconds before stars start trailing. If you have a 40+ megapixel sensor, switch to the NPF rule, which usually lands around 10 to 15 seconds. Check the histogram and aim for the peak about a third in from the left.

What is the 500 rule in star photography?

The 500 rule tells you the longest shutter speed you can use before stars turn into short streaks instead of pinpoints. Take 500 and divide by your focal length, then divide again by your crop factor. A 14mm lens on full frame gives you about 35 seconds. A 20mm on an APS-C body gives you about 16 seconds. It is a starting point, not a guarantee, so zoom to 100% on a test frame and confirm.

Why do my stars look like blobs instead of sharp points?

Almost always a focus problem. Autofocus cannot lock onto stars, so switch to manual focus, point at the brightest star or planet, and use Live View at maximum zoom. Turn the focus ring slowly until the blob shrinks to its tightest point. If you go past it, back off slightly. Once you nail it, lock the focus ring and do not touch it again. Dew on the front element causes the same bloating, so wipe and check.

How dark does the sky need to be for Milky Way photos?

Aim for Bortle Class 3 or darker, which usually means driving 50 to 100 kilometers from a major city. Under a Bortle 8 suburb sky, you might catch a few dozen bright stars. Under Bortle 2, the same camera and settings reveal thousands of stars and the full luminous band of the Milky Way. Elevation helps too: a 2,500 meter pass beats a low field at the same distance from the city.

Should I turn on long exposure noise reduction for stars?

Turn it off. Built-in long exposure NR takes a second dark frame after every shot at the same duration, which means a 25 second exposure becomes 50 seconds of dead time per usable image. You will halve your shooting efficiency. Instead, cap the lens at the end of the night and shoot 5 to 10 dark frames at the same ISO, shutter speed, and temperature, then subtract them in stacking software for cleaner results.

Upload a star photography photo, get instant coaching from Luna

Practice what you learned with real-time AI feedback on your photos.

Download ShutterCoach

Get photography tips in your inbox

Weekly guides, techniques, and inspiration.