Key takeaways
- AF-C is essential: for anything that moves you need continuous tracking – single-shot AF is the most common mistake with trains.
- Focus area as small as necessary, as large as possible: a small zone hits the front of the train more reliably than a single point when there's wobble.
- Lower the tracking sensitivity when masts, overhead lines or bushes cross into frame – that keeps the AF locked onto the train.
- A head-on approach is the hard case: here, prediction, enough light and a lens with fast AF drive are what matter.
- Focus priority instead of release priority gives you fewer but usable images – especially in bursts.
- All the values are starting points: every camera-and-lens combination needs its own fine-tuning in the field.
Contents
- 1.Which autofocus settings do you need for train photos?
- 2.AF-S or AF-C: the difference that decides everything
- 3.The settings table: situation versus AF setup
- 4.AF sensitivity: why your focus jumps to the mast
- 5.How to set up your camera in five minutes
- 6.The special case of a head-on approach
- 7.Is your autofocus setup dialled in?
- 8.Common autofocus mistakes
- 9.Conclusion
Updated: August 2026 – When train photos come out blurry, it’s rarely the shutter speed’s fault. In most cases it’s the autofocus: the wrong mode, too large a focus area, tracking that’s too jumpy. This guide goes through every setting that really matters for moving rail vehicles – across brands, with starting values you can adjust in the field.
Find the spot before the train arrives
The Traintrack map shows you where other people are photographing – so you have time to test your autofocus on a practice subject beforehand.
Which autofocus settings do you need for train photos?
The baseline is: continuous tracking (AF-C / AI Servo), a small focus zone on the front of the vehicle, low to medium tracking sensitivity. That covers an estimated four out of five situations in railway photography, from a side-on shot at the platform to a three-quarter shot as the train departs.
Everything else is fine-tuning across three dials: how large the focus area is, how tightly the AF sticks to the subject, and whether the camera prefers to fire the shutter or wait until it’s sharp. If you still need the basics of shooting technique, you’ll find them in the guide on how to photograph a moving train – this article is about focus alone.
AF-S or AF-C: the difference that decides everything
Every camera has two basic modes, they’re just named differently everywhere. Single AF measures once, focuses and locks. Continuous AF measures constantly and keeps correcting.
- Single AF (AF-S, One Shot, Single AF): right for stationary vehicles, detail shots, static vehicle portraits and anything on a tripod.
- Continuous AF (AF-C, AI Servo, Continuous AF): right for anything that’s moving – including when a train is “only” rolling slowly into the station.
- Automatic mode (AF-A, AI Focus): decides for itself and regularly gets it wrong with railway subjects. Unusable for serious train photography.
The classic mistake: you focus on the locomotive in single AF while it’s still far away, hold the shutter button down and fire when it has arrived. The result: the sharp point is where the locomotive used to be. With a long focal length and a wide-open aperture, that quickly turns into a focus error of several metres. Which focal lengths are especially sensitive to this is covered in the guide on choosing the right focal length for train photography.
Focus area size: the trade-off between precision and hit rate
A single AF point measures most accurately – but only if it stays on the subject. That’s hard when panning at 300 mm. In practice, a small group or zone has become the standard: big enough to absorb small wobbles, small enough not to catch the background.
Rule of thumb as a starting point: make the zone roughly the size that lets the front of the vehicle fill it completely in the frame. As the train gets bigger in the frame, you can shrink the zone.
The settings table: situation versus AF setup
This table is meant to work across brands. The terminology differs by manufacturer, but the logic doesn’t. All values are starting points, not laws of nature – test them on your own setup.
| Situation | AF mode | Focus area | Tracking sensitivity | Extra |
|---|---|---|---|---|
| Side-on view, panning | AF-C | small zone on the front | low | medium burst rate, image stabiliser in pan mode |
| Three-quarter view at the platform | AF-C | small zone or group | low to medium | aim at the cab window, not the buffers |
| Head-on approach, long focal length | AF-C with prediction | centred zone, subject detection if available | medium | stop down 1–2 stops, high burst rate |
| Passing a fixed point | manually pre-focused | not applicable | not applicable | set focus on a marker, start the burst |
| Stationary vehicle, vehicle portrait | AF-S | single point | not applicable | f/5.6–8, work steadily or use a tripod |
| Backlight or twilight | AF-C | single point on a high-contrast edge | low | AF assist light off, focus on an edge, not a flat surface |
| Rain, snow, fog | AF-C | small zone | low | use the focus limiter, otherwise the lens hunts |
| Night shot at the station | AF-S or manual | single point on a lit edge | not applicable | use magnified live view |
For the last row it’s worth checking the dedicated guide on camera settings for trainspotting at night – in low light, the priorities change completely.
Test first, then wait
Note in Traintrack which setup worked at which spot – next time you visit, you'll know exactly where to start.
AF sensitivity: why your focus jumps to the mast
Tracking sensitivity – called “Lock-on”, “AF subject tracking” or “Tracking Sensitivity” depending on the manufacturer – answers a single question: how quickly is the autofocus allowed to switch subjects when something else enters the focus area?
Railway photography is the textbook case for low values. Between you and the train there are overhead line masts, signals, bushes, platform edges and lamp posts. A sensitive AF grabs onto every one of these and then has to lock back onto the train – in the worst case, right during the three seconds the train is in frame.
A low value has a price: if the AF genuinely loses the subject, it takes longer to find it again. So low to medium is a good starting point – and with a very clear sightline free of obstructions, it can safely sit in the middle.
Pro tip: aim at edges, not flat surfaces
Autofocus systems measure contrast and phase shift. A uniformly painted vehicle front offers barely any of either. So aim at high-contrast transitions: the edge of the windscreen, the frame of the destination display, the boundary between the light strip and the paintwork. That's the one trick that works equally well on every camera system.
How to set up your camera in five minutes
1. Turn on continuous AF
Set it via the menu or the AF switch to AF-C, AI Servo or Continuous. Turn off automatic modes like AF-A – they cost you shots you'll never get back.
2. Set the focus area mode to a small zone
Not a single point, not the full frame. A small group of neighbouring points is the best compromise between hit rate and precision.
3. Lower the tracking sensitivity
One or two steps below the factory setting. That keeps the AF locked onto the train even if a mast sweeps through the frame.
4. Choose focus priority
Set the camera so it only fires once focus is confirmed. Fewer shots, but a much higher yield of usable images.
5. Set up back-button focus
Move AF from the shutter button to a thumb button. After that you can pre-focus, let go and fire without the camera hunting again.
6. Set the focus limiter on the lens
If your telephoto lens has one: set it to the far range. This noticeably shortens the search time once the AF has missed once.
7. Test on a practice subject
Before the real thing, pan on any other train, bus or car. Then check the images at 100 percent – not on the display at thumbnail size.
The special case of a head-on approach
Nothing challenges an autofocus system like a train heading straight at you. The distance changes quickly, and the camera has to predict where the subject will be at the moment of exposure. Three levers really help:
- Stop down the aperture. Two stops down increases depth of field and forgives small focus errors. f/5.6 to f/8 are a good starting point if the light allows it.
- Start earlier. Engage the AF while the train is still far away and let it track continuously. An AF that has to jump from standstill onto a close, fast subject almost always loses.
- Use burst mode wisely. A high frame rate helps, but only if the buffer keeps up and the AF can re-measure between frames. On some cameras, the AF rate drops in the fastest burst mode.
And the most honest option: pre-focus. You focus manually on a fixed point – a sleeper or a mast, say – wait until the locomotive reaches it, and fire. This method is as old as railway photography itself and still the most reliable. It also works brilliantly for steam trains, as the guide on photographing steam trains describes.
Is your autofocus setup dialled in?
Quick check before your next session
- My camera is set to continuous tracking.
- I use a small focus zone instead of full-frame tracking.
- Tracking sensitivity is below the factory setting.
- I have focus priority enabled instead of release priority.
- Autofocus is assigned to its own button on the back of the camera.
- My telephoto lens's focus limiter is set to the far range.
- I check my test shots at 100 percent, not on the camera display.
Common autofocus mistakes
- Shooting in single AF and then wondering about focus errors. By far the most common mistake, and the quickest to fix.
- Turning on full-frame tracking. It reliably grabs overhead lines, platform edges or background trees with railway subjects.
- Aiming at painted surfaces. Without contrast, no AF system stands a chance – find an edge instead.
- Release priority plus rapid fire. You come home with 40 shots, none of which is sharp. Focus priority gives you fewer, but usable images.
- Only checking on the camera display. In the thumbnail preview, almost every shot looks sharp. The mistake only shows up on the computer, by which point the train is long gone. For how to raise your overall hit rate, see the guide on how to take good photos of trains.
- Optimising technique instead of your position. Even the best AF can’t rescue a bad spot. Good locations are collected in the railway photography guide with tips and locations, and the basics of composition are covered in the train pictures guide to railway photography.
Conclusion
Autofocus in railway photography isn’t rocket science, it’s a chain of four decisions: turn on tracking, keep the focus area small, lower the sensitivity, choose focus priority. Set these four points up properly once and then check them on a test subject, and you’ll get noticeably more sharp images out of the same gear. The rest is practice – and, for predictable passes, a deliberately placed pre-focus point. The same system, incidentally, also works for trams, as the guide on photographing a moving tram shows.
In short
AF-C, a small zone on the front of the vehicle, low tracking sensitivity, focus priority – that's the baseline setup you should start with. Everything else is fine-tuning on your own gear, not on the menu of some review.
Summary
- Blurry train photos have three main causes: the wrong AF mode, the wrong focus area and tracking sensitivity set too high.
- Side-on shots, three-quarter shots and head-on approaches place completely different demands on the autofocus.
- Back-button focus separates focusing from firing the shutter and solves many problems in one go.
- Pre-focusing with manual sharpness remains the most reliable method at all for known passing points.
- A focus limiter on the telephoto lens noticeably shortens the search time and saves the first shots of a burst.
Frequently asked questions
Which autofocus mode is right for train photos?
Continuous tracking – called AF-C, AI Servo or Continuous AF depending on the manufacturer. It keeps focusing for as long as you hold the shutter half-pressed or the AF button engaged, and factors in the train's movement. Single AF locks the distance once and is practically always the wrong mode for a moving train.
Which AF focus area should I use for trains?
As a starting point, a small zone or group of focus points set on the front of the vehicle. A single point is the most precise, but it easily slips off the locomotive while panning. Full-frame tracking, on the other hand, often grabs the overhead line or the platform instead.
What does AF sensitivity or lock-on mean?
This setting controls how quickly the autofocus jumps to a new subject when something comes between the camera and the subject. A low value means: the AF sticks to the original subject. For railway photography with masts, signals and trees in the foreground, a low to medium value is usually the better starting point.
Why is a head-on shot so difficult?
Because the distance between camera and subject changes quickly. The autofocus doesn't just have to measure, it has to predict where the train will be at the moment of exposure. The longer the focal length, the wider the aperture and the weaker the light, the shallower the depth of field – and the more likely a shot is to miss.
What is back-button focus?
This means moving the autofocus trigger to a button on the back of the camera instead of leaving it on the shutter button. The advantage: you decide separately when to focus and when to fire. You can pre-focus, let go of the button and take several shots without the AF searching again.
Does a focus limiter help with telephoto lenses?
Yes, noticeably. The limiter stops the lens from racking through its entire focus range while hunting. Set it to the far range, for example, and the AF finds the subject again faster once it has lost it. That mainly saves the first shots of a burst.
Should I use release priority or focus priority?
For train photos, focus priority is usually the better choice: the camera only fires when the focus is confirmed. You get fewer images, but the usable ones are genuinely usable. Release priority gives you unbroken bursts, but clearly blurred shots end up in there too.
Does subject recognition work for trains?
Modern cameras increasingly recognise vehicles and sometimes even trains as their own subject class. Where available, that's a real help for head-on approaches. But don't rely on it blindly: in backlight, rain or with unusual vehicle shapes, recognition sometimes switches off, and your base settings take over again.
Read more in Camera & technique
- The Best Telephoto Lens for Railway Photography: A Buying Guide
- Photos of Buses: The Ultimate Guide to Stunning Bus Photography (Tips, Spots, Law & Gear)
- Bus Spotter Photos: The Ultimate Guide to Perfect Bus Photos (Tips, Technique, Law & Locations)
- Bus Spotter Photos: The Ultimate Guide to Perfect Bus Photography (Tips, Technique, Spots & Law)
- Bus Spotter Photography: The Ultimate Guide to Bus Photography (2026)
- Railway Photography: The Ultimate Guide to Spectacular Train Shots (Tips, Technique, Locations)
Related spotting locations
Specific viewpoints with light times, coordinates and an honest assessment of whether the trip is worth it.
You might also like
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.
Camera & techniqueWhich Focal Length Is Best for Train Photography? The Ultimate Guide
Wide-angle, standard or super-telephoto: this guide shows you the right focal length for platform, open line and curve – with set-ups for full frame, APS-C and MFT.
Camera & techniqueHow Do You Take Good Photos of Trains? The Ultimate Guide to Stunning Railway Photography
Everything about the right equipment, camera settings, composition and special techniques such as panning and night shots, so that your train photos finally turn out really well.




