Autofocus (AF-S, AF-C, Eye-AF)
Autofocus (AF) is the system that focuses automatically on a subject, in single, continuous or eye-detection modes.
Also known as: AF, continuous autofocus, eye detection AF
Autofocus (AF) is the system that focuses automatically on a subject. The main modes are: AF-S (single, focuses once and locks, ideal for static subjects like portraits or landscapes), AF-C (continuous, keeps focusing while the subject moves, ideal for sports and wildlife), and Eye-AF, or eye and face detection, which automatically identifies human or animal eyes and prioritizes focus there.
A person walking advances about 42 cm in three tenths of a second, and at 85 mm and f/2 there's only 41 cm of margin.
Why does AF-S fail with moving subjects?
Because of arithmetic, not the quality of the system. Someone walking at a normal pace moves about 1.4 meters per second, so in the three tenths that pass between locking focus and the end of the exposure they've advanced about 42 centimeters. At 85 mm, f/2 and 5 meters away, the total depth of field is about 41 centimeters on full frame: the subject ends up just in front of the sharp plane.
Running, the margin disappears: at 5 meters per second the movement over the same interval is a meter and a half. No reflexes can help there, only AF-C. The depth of field calculator tells you how much margin you have with your focal length and aperture before you pick the mode.
Which mode and which area do I use in each situation?
Situation: Posed portrait; Mode: AF-S; AF area: Single point or Eye-AF; Drive: Single; Deciding detail: Focus on the eye closest to the camera
Situation: Child playing; Mode: AF-C; AF area: Wide zone with eye detection; Drive: Medium burst; Deciding detail: Let the camera choose within the zone
Situation: Team sports; Mode: AF-C; AF area: Small dynamic zone; Drive: High burst; Deciding detail: Lower the tracking sensitivity: it won't jump to another player
Situation: Bird in flight; Mode: AF-C; AF area: Wide zone or animal detection; Drive: High burst; Deciding detail: 1/2000 s minimum for the wing
Situation: Landscape on a tripod; Mode: AF-S or manual; AF area: Single point with magnification; Drive: Single; Deciding detail: Focus at the hyperfocal distance, not at infinity
Situation: Low-light interior; Mode: AF-S; AF area: Single point on a contrasty edge; Drive: Single; Deciding detail: The assist light reaches only a few meters
Autofocus needs contrast to work. A smooth wall, a uniform sky or a black shirt with no seams give nothing to measure, and the lens hunts from one end to the other. The solution is to aim at an edge at the same distance —a door frame, the shirt collar— and shoot from there.
Should I separate focus from the shutter button?
Yes, as soon as you shoot anything that moves. With AF assigned to a rear button, the shutter button only exposes: hold the button down and the camera keeps focusing like AF-C, release it and the focus stays fixed like AF-S. A single setting covers both modes without going into the menu.
That also solves the focus-and-recompose problem. When you swing the camera after locking, the focus plane swings with you and the subject ends up slightly in front of it; the error grows the wider the aperture and the closer the subject. At f/1.4 and two meters it's enough to lose the eye. Move the AF point instead of moving the camera.
Common mistakes
Leaving AF-S as the default all day. It's the factory setting and the one that produces the most almost-focused photos at weddings, events and in the street. If people are moving, AF-C.
Trusting the automatic area for portraits. The camera focuses on whatever has the most contrast and is closest, and that's usually a hand or the tip of the nose. With Eye-AF available, turn it on; without it, single point on the eye.
Blaming autofocus for blurred photos. If the subject comes out completely out of focus but the background is sharp, it's focus. If the whole image has drag in the same direction, it's shutter speed and no AF mode will fix it.
For per-scenario configurations, see the guide to focus systems, the article sharp eyes: face and eye detection AF and the guide to sports and action photography.