How do you photograph a moving train? The ultimate guide to pin-sharp railway photos

Learn step by step how to photograph moving trains pin-sharp or with dynamic blur, using the right shutter speed, autofocus technique and gear.

Traintrack editorial teamPublished: 11 January 2026Updated: 16 August 20268 min read

Key takeaways

  • Shutter speed is crucial: for sharp shots you need at least 1/1000–1/2000 s, whereas for dynamic panning shots you deliberately choose long speeds of 1/15–1/60 s.
  • Set the autofocus correctly: AF-C/AI Servo with zone or tracking mode keeps the train sharp even at high speed.
  • Safety comes first: only photograph from publicly accessible areas with sufficient distance from tracks and overhead lines.
  • Planning beats chance: check timetables, the position of the sun and the weather in advance so you don't miss the perfect moment.
  • Panning takes practice: with burst mode and a smooth panning movement, you significantly increase your hit rate for the perfectly sharp frame.
Contents
  1. 1.Safety and the law: first things first
  2. 2.The best gear for trains in motion
  3. 3.Camera settings: the quick cheat sheet
  4. 4.Mastering autofocus: sharp where it counts
  5. 5.Exposure, ISO and picture styles
  6. 6.Composition: where and how to stage your train
  7. 7.Light & weather: choosing the mood deliberately
  8. 8.Planning: timing beats chance
  9. 9.Step by step: how to take a perfect photo of a moving train
  10. 10.Panning masterclass: step by step
  11. 11.Smartphone photography: how to get the most out of it
  12. 12.Post-processing: from a good picture to a great one
  13. 13.Common mistakes – and how to avoid them
  14. 14.Subject ideas for varied railway photos
  15. 15.Checklist to take with you
  16. 16.Verdict

Want to photograph a moving train and perfectly capture its dynamism, speed and atmosphere? In this comprehensive guide you’ll learn step by step which camera settings, techniques and tips help you get crisp, sharp or artistically dynamic railway photos. Whether DSLR, mirrorless camera or smartphone – with the following strategies you’ll take spectacular shots that stand out from the crowd.

Your best train photos deserve a permanent home

With the Traintrack app you record every sighting including your photos, location and time, building up a personal railway photo archive along the way.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Safety and the law: first things first

Before we talk about technique, safety comes first. Railway infrastructure is a high-risk environment. Respect the rules and laws so as not to endanger yourself or others.

  • Never step onto the tracks. Always keep a sufficient distance from tracks and overhead lines.
  • Only photograph from publicly accessible areas. Platforms, bridges and paths are fine – closed-off areas are off limits.
  • Respect the house rules. Stations and operational railway land of DB InfraGO have their own rules; staff with authority to give instructions have the final say.
  • Strictly observe the distance and marking lines on the platform.
  • Drones: flight bans in station and operational areas are common. Check the local rules and obtain permits where necessary.
  • Right to your own image: avoid identifiable close-ups of people without their consent.

The best gear for trains in motion

  • Camera: a camera with a fast burst rate (8–20 fps), AF-C/Servo AF and good tracking is ideal. But: strong results are possible with a smartphone too.
  • Lenses: 24–70 mm and 70–200 mm are flexible. Wide angle (16–35 mm) for dramatic perspectives, fast primes (e.g. 85 mm f/1.8) for dusk.
  • Stabilisation: IBIS/OIS helps in low light. For panning shots, often set to mode 2 (vertical stabilisation only) or off entirely.
  • Accessories: monopod, ND filter (for long exposures during the day), polarising filter (reduces reflections), spare batteries, weatherproof bag, microfibre cloth.

Camera settings: the quick cheat sheet

Depending on the look you’re after, you choose between freezing the movement or deliberately blurring it (panning). This table gives you a quick overview of the most important situations:

Situation Shutter speed Aperture ISO Other
Freezing the train (daylight) 1/1000–1/2000 s f/4–f/5.6 100–400 AF-C, zone/tracking AF, high burst rate
Panning (sense of motion) 1/15–1/60 s f/8–f/16 (or ND filter) 50–200 AF-C, stabilisation mode 2 or off
Dusk/bad weather 1/500 s (if possible) f/2.8–f/4 1600–6400 RAW, moderate noise reduction
Night & light trails 2–10 s f/8–f/11 100 Tripod, remote release, manual focus
Backlight as basic setting spot/centre-weighted metering as basic setting +0.3 to +1 EV, lens hood

Mastering autofocus: sharp where it counts

  • AF mode: AF-C/AI Servo.
  • AF area: zone or tracking mode. Alternatively centre point + back-button focus.
  • Pre-focus: focus on a point the train will pass and release the shutter as it approaches.
  • Release priority: for bursts, set to release priority so you don’t lose any moments.

Exposure, ISO and picture styles

  • Mode: S/Tv (shutter priority) for freezing or panning; M (manual) for consistent results; auto ISO with an upper limit.
  • Metering: multi-segment for all-round use, spot for critical backlight.
  • RAW: always when possible, for maximum flexibility in post-processing.
  • Picture styles: neutral/standard for realistic colours; fine-tune contrast in editing.

Composition: where and how to stage your train

  • Leading lines: tracks, overhead lines and platform edges guide the eye.
  • Curves & bridges: S-curves emphasise dynamism; bridges provide elevated, safe perspectives.
  • Foreground & framing: use signals, vegetation or architecture as a frame for depth.
  • Tidy up the background: avoid distracting elements; vary your position slightly.
  • Height: a very low perspective (with distance!) makes trains look monumental; elevated positions give an overview.
  • Picture format: landscape for the train’s movement, portrait for front views and bridges.

Light & weather: choosing the mood deliberately

  • Golden hour: soft light, long shadows, warm colours.
  • Blue hour: a cool mood, trains’ light trails and city lights.
  • Clouds & fog: diffuse light reduces harsh contrasts; fog creates mystery.
  • Rain & snow: drops/snowflakes emphasise movement; protect your gear (rain cover, cloths).

Planning: timing beats chance

  • Timetables & lines: know the times and train types. Allow a buffer – trains are fast.
  • Position of the sun & shadows: sun-path tools help you choose the best angle of light.
  • Location scouting: check possible viewpoints during the day, paying attention to escape routes and safe areas.
  • Weather check: wind, precipitation and visibility affect the look and safety.

Step by step: how to take a perfect photo of a moving train

  1. Decide on subject and look: freeze or pan?
  2. Choose a safe viewpoint: public, with distance and a clear view.
  3. Set up the camera: S/M mode, AF-C, burst mode, RAW, suitable white balance.
  4. Pre-focus: on the point where the train enters the frame.
  5. Test the exposure: test shot, check the histogram, correct if necessary.
  6. Anticipate: hear/see the train early, prepare your framing.
  7. Track: pan or hold steady – breathe calmly, move evenly.
  8. Fire a burst: shoot during the key moments (front, side profile, departure).
  9. Vary: change focal length, perspective, portrait/landscape format.
  10. Check: check focus and exposure, readjust.

Panning masterclass: step by step

  1. Choose the speed: 1/30 s as a starting point.
  2. Stabilisation: mode 2 (vertical only) or off.
  3. Stance & posture: feet shoulder-width apart, upper body rotating evenly with the train.
  4. Focus: AF-C on the driver’s cab; alternatively manual focus on the line the train will pass along.
  5. Release: fire while panning and keep following through until the train has passed.
  6. Bursts: increase the chance of a perfectly sharp frame.

Smartphone photography: how to get the most out of it

  • Burst mode: hold the shutter button to get several frames.
  • Pro/manual mode: if available, set the shutter speed to 1/1000 s (freeze) or 1/15–1/30 s (panning) and adjust the ISO.
  • AF tracking: tap the subject and activate tracking.
  • Stabilise: lean against something, use a railing or a small tripod.
  • RAW/HEIF: activate if available, for more leeway in editing.

Post-processing: from a good picture to a great one

  1. RAW processing: white balance (daylight/auto), lower the highlights, lift the shadows, fine-tune contrast.
  2. Sharpening & noise reduction: selectively, using masking; emphasise details but avoid artefacts.
  3. Colours: HSL for locomotive colours, grass and sky; moderate saturation.
  4. Geometry: straighten the horizon, correct distortion, adjust perspective.
  5. Cropping: rule of thirds, space in the direction of travel, remove distracting edges.
  6. Export: web: 2048–3000 px on the long edge, sRGB, moderate compression.

Common mistakes – and how to avoid them

⚠️ Blur from too slow a shutter speed: choose at least 1/1000 s for freezing; better to raise the ISO than expose for too long.

⚠️ Wrong focus point: aim at the cab or the train logo and use tracking autofocus.

⚠️ Camera shake: stabilise, improve your posture, use a monopod.

⚠️ Overexposure with a bright sky: use an ND filter or a smaller aperture, set exposure compensation to -0.3 to -1 EV.

⚠️ Cluttered background: change location, adjust the focal length or open the aperture to separate the subject from the background.

Subject ideas for varied railway photos

  • Head-on arrival into the station with headlight beams.
  • Side-profile panning shot for motion blur in the background.
  • Bridge perspective with the graphic lines of the overhead wires.
  • Train on a curve with the train’s length visible for dynamism.
  • Night shots with light trails and city lights.
  • Dramatic weather: rain, fog and snow to carry the mood.

Checklist to take with you

  • Camera charged, memory card empty, RAW activated, burst mode set high
  • AF-C set, suitable shutter speed (freeze or panning), auto ISO with an upper limit
  • Location legal and safe, sufficient distance, house rules respected
  • Train times, lighting conditions and weather checked in advance
  • Spare battery, memory card, microfibre cloth and rain protection packed

Verdict

A photo of a moving train succeeds with preparation, safe locations, a clear idea of the picture and the right settings. Use fast shutter speeds for crisp sharpness or panning for impressive movement. With practice, planning and calm timing, you’ll get results that inspire.

Never miss the perfect train again

Plan your next photo session with the Traintrack app and find out which classes and special trains pass your spotting location and when.

Download Traintrack on the App Store4.8(23 ratings) Get Traintrack on Google Play4.4(35 ratings)

Summary

  • Technique and safety go together: the best train photos are taken where correct camera settings meet a safe, legal location.
  • Practice makes the difference: the more often you test shutter speeds and autofocus modes on moving trains, the more intuitively you'll get the perfect shot.
  • Post-processing rounds it off: well-thought-out RAW processing gets the most out of every successful raw image.
  • Well prepared with the Traintrack app: if you know the timetables, classes and hotspots, you'll miss the decisive moment less often.

Frequently asked questions

What shutter speed is ideal for moving trains?

For sharp, frozen shots, 1/1000 to 1/2000 of a second is suitable. For a dynamic panning effect, on the other hand, you deliberately choose long speeds of 1/15 to 1/60 of a second and pan the camera with the train.

Do I need a tripod to photograph a moving train?

A tripod isn't essential for panning shots; a monopod is often enough. For night shots and light trails, however, a tripod is indispensable, because you're working with exposure times of several seconds.

Which lens is best for train photos?

A 24–70 mm zoom is a good all-rounder, a 70–200 mm telephoto keeps a safe distance while getting you close in the picture, and a 16–35 mm wide angle provides dramatic perspectives from a safe distance.

RAW or JPEG for railway photography?

Whenever possible, always shoot in RAW - that gives you maximum leeway when editing exposure, white balance and contrast. JPEG is only suitable when speed or storage space is critical.

How do I photograph a moving train with a smartphone?

Activate pro/manual mode if available, set the shutter speed manually (1/1000 s to freeze or 1/15–1/30 s for panning effects), use burst mode and tap on the train to activate autofocus tracking.

How do I avoid blurred photos of moving trains?

Use a stable stance or a monopod, leave image stabilisation on as normal for freeze shots, and switch it to vertical mode (or off entirely) for panning shots. A short shutter speed and a smooth, even panning movement also help.

TT

Traintrack editorial team

We build the Traintrack app and go spotting ourselves – between main stations, depots and farm tracks. Every guide is based on our own experience and is updated regularly.

More articles in Camera & technique →

Read more in Camera & technique

Who is behind it

Groups, brands, manufacturers and operators – who owns whom and how to recognise them out in the field.

All railway companies →

← Back to the blog