Ever tried to snap a photo of your friend jumping in the air, only to end up with a blurry mess because your camera took forever to lock onto them? Or maybe you’ve been in a dim restaurant and your phone’s camera just kept hunting back and forth, never getting that sharp shot of your meal. That’s all down to autofocus—one of the most useful (and sometimes frustrating) features in modern cameras. Let’s break down how it works, what the different types are, and how to make it work for you.
What is Autofocus, Anyway?
At its core, autofocus is the camera’s way of adjusting the lens so that the subject you’re pointing at is sharp. Back in the day, photographers had to twist the lens manually to get focus, but now most cameras (and phones) do this automatically. The camera uses sensors to measure how far away the subject is, then moves the lens elements to bring it into focus. But not all autofocus systems are the same—some are faster for moving subjects, others are more accurate in low light.
The Two Main Types of Autofocus
There are two primary autofocus systems used in cameras and smartphones: Phase Detection Autofocus (PDAF) and Contrast Detection Autofocus (CDAF). Let’s compare them side by side to see which one fits your needs.
| Feature | Phase Detection Autofocus (PDAF) | Contrast Detection Autofocus (CDAF) |
|---|---|---|
| Speed | Very fast—locks onto moving subjects quickly (great for sports or action shots). | Slower—scans the scene to find the highest contrast (better for still subjects). |
| Accuracy in Low Light | Good, but can struggle if there’s very little light (needs some contrast to detect phase). | Better in extremely low light—relies on contrast, which can still be found even in dim conditions. |
| Moving Subjects | Excellent—tracks moving objects well (used in most DSLRs and mirrorless cameras for action). | Poor—can’t keep up with fast-moving subjects (often used in point-and-shoot cameras for stills). |
| Video Performance | Smooth tracking for moving subjects in video (common in modern mirrorless cameras). | Can be jerky when refocusing during video (older phones used this). |
| Cost (in Cameras) | More expensive—found in higher-end DSLRs, mirrorless, and flagship phones. | Cheaper—used in budget point-and-shoots and older smartphones. |
Common Autofocus Issues (and How to Fix Them)
Even the best autofocus systems have their quirks. Let’s look at the most common problems and how to solve them.
Hunting
Ever notice your camera’s lens moving back and forth, trying to find focus but never quite locking on? That’s called hunting. It usually happens when the subject has low contrast (like a plain white wall) or is in very dim light. To fix this, try pointing your camera at a nearby object with more contrast (like an edge or a pattern) to lock focus, then reframe your shot. Or, if all else fails, switch to manual focus.
Low Light Struggles
Autofocus needs light to work—without it, the camera can’t see the subject clearly. If you’re in a dark room, try turning on a lamp or using your camera’s flash (even just a small burst to help the focus). Another trick: use a lens with a wider aperture (like f/1.8) which lets more light into the camera, making it easier for the autofocus to do its job. For phones, tapping on the subject to tell the camera where to focus can also help.
Blurry Action Shots
If you’re trying to take a photo of a running dog or a kid on a bike and the shot is blurry, it might be because your autofocus can’t keep up. Try using your camera’s continuous autofocus mode (often called AF-C on DSLRs). This mode keeps adjusting focus as the subject moves, so you’re more likely to get a sharp shot when you press the shutter. Also, using a faster shutter speed (like 1/500th of a second) will freeze the motion, even if the focus is slightly off.
Pro Tips to Get Sharp Focus Every Time
Now that you know how autofocus works, here are a few pro tips to make sure your photos are always sharp.
Use Autofocus Points
Most cameras let you choose which autofocus point to use—don’t just let the camera pick! If you’re taking a portrait, select the AF point that’s over the subject’s eyes (since sharp eyes make a portrait pop). For landscape photos, pick a point in the middle ground (like a tree or a rock) to ensure the whole scene is in focus.
Try Back-Button Focus
Many cameras have a back-button focus option, which separates the focus function from the shutter button. Instead of pressing the shutter halfway to focus, you press a button on the back of the camera. This is great because you can lock focus once and then take multiple shots without refocusing—perfect for portraits or still life. To set this up, check your camera’s menu for “back-button focus” or “AF-ON” settings.
Pre-Focus for Moving Subjects
If you know a subject is going to move through a certain spot (like a bird flying into a feeder), pre-focus on that spot first. Then, when the subject enters the frame, just press the shutter—you’ll get a sharp shot every time. This works especially well with continuous autofocus mode.
Autofocus might seem complicated, but once you understand the basics and how to work around its quirks, it becomes a powerful tool. Next time you’re taking photos, experiment with different autofocus modes and settings—you might be surprised at how much better your shots turn out. Happy shooting!