Skip to content

What Is the Difference between Phase Detection and Contrast Detection Autofocus? Key Trade-Offs

Split-light measurements estimate lens direction, while sensor contrast searches for the point of peak detail. You see the gap most clearly with a runner crossing your frame: PDAF moves toward focus directly, while CDAF may pass sharpness before returning.

This comparison covers lens movement, available light, camera design, AF-S, AF-C, still subjects, action, video, and close-up work for your camera choices.

Two Measurements Lead to a Sharp Image

A camera reaches sharp focus after it decides whether the lens must move nearer or farther from the subject. Autofocus detection supplies that distance information every time you press the shutter button or start Continuous autofocus.

Phase-detection autofocus, or PDAF, compares light through separate optical paths. Contrast-detection autofocus, or CDAF, evaluates detail in image sensor output. Your camera can rely on either measurement or blend both through Hybrid autofocus.

These terms describe measurement systems rather than shooting modes. Single-shot autofocus, or AF-S, locks focus after confirmation. Continuous autofocus, or AF-C, updates distance data while your subject moves through the frame.

Camera specifications can make phase detection vs contrast detection autofocus sound like a fixed winner. Lens drive speed, processor behavior, sensor readout, subject texture, available light, and autofocus-point coverage all shape the focus behavior you see through a viewfinder or rear screen.

Phase Detection Estimates Lens Direction and Distance

Split light gives PDAF a directional clue before the lens begins moving. That clue lets your camera move toward focus with purpose instead of sampling several positions across the focus range.

Two Light Paths Show the Focus Error

Inside a traditional DSLR, a main mirror sends part of the incoming light downward to a Dedicated AF sensor. That sensor receives two views of the same subject through opposite sides of the lens aperture. A mismatch shows whether the focused image falls in front of or behind the target.

Your camera also measures the size of that mismatch. A wide separation tells the lens to travel farther, while a narrow separation calls for a smaller adjustment. That is how phase detection autofocus works: it estimates both direction and an approximate correction distance.

Moving Subjects Expose the Speed Benefit

A cyclist entering your frame from 30 feet away gives PDAF a demanding job. The camera identifies the wrong focus distance, sends a strong lens-drive command toward the estimated position, then updates that estimate through AF-C as the cyclist approaches.

That calculation does not promise a sharp frame. Your selected AF point still needs useful detail, such as an eye, helmet edge, or jersey logo. A blank white shirt gives the system far less data than a dark seam against bright fabric.

Phase detection autofocus vs contrast detection becomes clearest during the jump from a blurred subject to a sharp one. CDAF reaches the same destination through a different measurement method.

Contrast Detection Searches for Peak Detail

A crisp edge creates strong light-to-dark separation in image sensor data. CDAF moves the lens until local contrast reaches its highest point, which marks the sharpest focus position.

The Sensor Evaluates Recorded Detail

Unlike a Dedicated AF sensor in a DSLR, contrast detection evaluates the image formed at the imaging sensor. Your camera looks at a face, leaf edge, product label, or similar detail and measures whether nearby pixels show stronger separation as the lens shifts.

That sensor-level measurement can be highly precise for still subjects. A tripod-mounted landscape at f/8, a watch on a tabletop, or a portrait subject holding still gives CDAF time to settle where fine detail peaks.

Peak Searching Produces Focus Hunting

Contrast data reveals sharpness but does not reveal lens direction at the starting point. The camera can move forward, see contrast fall, reverse direction, and sample the opposite side of focus. That back-and-forth lens movement is focus hunting.

You should not view hunting as proof of weak camera hardware. A dark wall, blue sky, foggy scene, or smooth ceramic mug has too little edge detail for a contrast-based system to judge sharply. Low-light focusing also adds sensor noise, which muddies the contrast signal.

Modern Mirrorless cameras hide much of this behavior through On-sensor phase detection and faster processors. Still, contrast detection remains a peak search, and that search explains its slower response during difficult scenes.

That need to hunt for a peak becomes most consequential when subjects move or light falls.

Speed, Accuracy, and Tracking Set the Practical Difference

A sprinting dog exposes hesitation more clearly than a vase on a shelf. PDAF tends to reach focus faster from a blurred starting point, while CDAF can place focus with high precision after the lens reaches the target area.

TraitPhase-detection autofocusContrast-detection autofocus
Initial acquisitionYour lens receives direction and estimated travel distance.Your lens samples positions to locate peak detail.
Still subjectsYour result can be accurate with sound calibration.Your result can be highly precise at the imaging sensor.
Moving subjectsYour camera can predict and update distance rapidly.Your camera can struggle during wide distance changes.
Low-detail targetsYour AF point needs edges or texture for a lock.Your sensor needs contrast to identify a peak.
Traditional DSLR riskYour Dedicated AF sensor can need calibration.Your live-view focus evaluates the imaging plane directly.
Modern camera useYour Mirrorless camera may use sensor-based PDAF.Your camera may use contrast data for final confirmation.

Speed and accuracy are not opposites. A fast f/1.4 lens has shallow depth of field, so a small error can leave eyelashes sharp while the nearer eye softens. Your system needs rapid distance estimation and fine placement for that situation.

Low light challenges both systems, though each failure looks different. PDAF loses its ability to match two light paths as illumination falls. CDAF loses a clean contrast peak as sensor noise rises. A lens with a wider maximum aperture gives your autofocus system more usable light.

Video adds another trade-off. A sudden phase-driven correction can look abrupt on screen, while gradual contrast refinement can appear smoother. Your footage depends on firmware, lens communication, and subject-recognition logic as much as the autofocus label.

Focus Hunting and Missed Focus Have Separate Causes

Back-and-forth lens movement points toward a contrast search without a stable peak. A sharp lock on the wrong plane points toward a separate problem, so your remedy should match the visible symptom.

Weak Detail Leads to Contrast Hunting

Focus hunting appears with flat, dim, or repeating patterns. Venetian blinds can confuse the system because identical lines offer several plausible distances. Move your AF area onto a strong edge, such as a window frame or your subject’s eye.

  • Choose clear edges Place your focus area over an eye, seam, letter, branch, or textured boundary.
  • Add usable light Brighter illumination gives your sensor cleaner contrast and gives PDAF stronger signal separation.
  • Use a smaller area A narrow AF point avoids background detail that can pull focus away from your subject.
  • Check lens response A slow or worn lens drive can make your autofocus system appear less responsive.
  • Clean contact pins Dirty lens contacts can interrupt communication between your lens and camera body.

DSLR Misfocus Can Point to Calibration

A DSLR phase-detect module sits apart from the imaging sensor. Its optical path must match the path that reaches the sensor during exposure. A slight alignment error can produce front-focus, where sharpness lands nearer than intended, or back-focus, where it lands farther away.

Your DSLR may offer AF Microadjustment or AF Fine Tune for a repeatable lens-and-body error. Use a stable target, tripod, adequate light, and wide aperture during that check. Random misses during erratic subject movement do not show a calibration pattern.

Focus confirmation does not prove that the camera selected your intended detail. Check the active AF area, subject contrast, shutter speed, and depth of field before blaming the detection system.

An obstructed AF point, a branch across a face, or a background with stronger contrast can also produce an unwanted lock. Those operational causes matter because phase detection vs contrast detection autofocus cannot correct a poor focus target inside your frame.

On-Sensor and DSLR Phase Detection Use Different Paths

The calibration weakness of a Dedicated AF sensor comes from its separate location inside the camera. Mirrorless bodies avoid that split path because their phase-detect pixels sit on the imaging sensor itself.

DSLR Modules Follow a Separate Optical Route

In a DSLR, the mirror and sub-mirror route light toward a Dedicated AF sensor before exposure. That layout gave optical-viewfinder cameras rapid action focus for decades, but the focus measurement and recorded image do not occur at the identical physical plane.

Your lens can be mechanically sound while a body-and-lens pairing still shows repeatable front-focus or back-focus. Focus calibration corrects that relationship for a pairing, though zoom lenses can behave differently at wide and telephoto ends.

On-Sensor Pixels Evaluate the Recording Plane

Tiny masked or split pixels compare two light samples at the same plane that records your image. Your Mirrorless camera can gather phase data without the Dedicated AF sensor found in a DSLR.

This layout removes numerous calibration errors, yet it does not make every Mirrorless system equal. Autofocus coverage, readout speed, processor timing, lens firmware, and subject-recognition algorithms still set the practical limit. A fast camera body with weak lens communication can still hesitate.

Smartphones also use On-sensor phase detection, contrast analysis, or both. Some phones add a time-of-flight or laser-assist distance sensor for close subjects, but laser autofocus does not replace sensor-based image-detail evaluation.

Because no single signal is ideal in every condition, many cameras combine distance estimates with image-detail checks.

Hybrid Autofocus Blends Speed With Fine Placement

Fast distance estimates become more useful after the camera evaluates them against the recorded image. Hybrid autofocus uses phase information to move near focus, then uses contrast analysis to refine or confirm the final position.

Two Measurements Share the Focus Task

Your Mirrorless camera can see a portrait subject 10 feet away while the lens sits near its close-focus limit. On-sensor PDAF sends the lens toward the estimated distance. Contrast analysis then evaluates the eye area near that destination for the strongest detail.

The camera can repeat that sequence rapidly during Continuous autofocus. Subject tracking identifies a face or eye, phase information handles wide distance changes, and contrast data guards against a small final error. Your focus movement can feel direct rather than exploratory.

Camera Programming Shapes Hybrid Behavior

Even a one-sentence explanation sounds simple, yet camera behavior varies widely. Some bodies reserve contrast checks for still scenes; others use them during tracking; others rely heavily on phase pixels until confidence falls. Your experience depends on that software behavior.

Face and eye detection also need enough visible detail. A profile in deep shade, a helmet visor, or a subject turning away can push the system toward a wider body area. Keep a sensible fallback AF area ready instead of trusting automatic recognition in every frame.

Even strong recognition benefits from settings matched to how erratically a subject moves.

Do not judge hybrid autofocus from an AF-point count alone. Wide coverage helps, but lens response and Subject tracking behavior decide whether the camera holds your intended target.

Subject Motion Guides Your Autofocus Choice

A static flower and a hawk changing direction need different camera behavior. Your subject’s motion, distance changes, and available detail should shape your focus mode and your expectations from the detection system.

Action Work Favors Predictive Focus

Sports, wildlife, and active children reward rapid acquisition, broad phase-detect coverage, responsive lenses, and strong AF-C behavior. Set a shutter speed that freezes motion, then select an AF area wide enough to stay on your subject without inviting the background into the calculation.

Your starting point for a soccer player can be AF-C with Subject tracking and a zone area around the torso. The face can turn away or become blocked, while the torso gives your camera a larger target. Keep the focus area clear of a nearby goalpost or spectator.

Still Work Favors Exact Focus Placement

Portraits, landscapes, product photographs, and macro work reward deliberate placement. AF-S suits a subject that stays still after focus locks. At close range, depth of field can shrink to millimeters, so your focus point should sit on the exact feature that must appear sharp.

For a macro image of a ring, place focus on the stone edge or engraved detail rather than the shiny band. Camera movement after focus can shift the sharp plane at high magnification, so use a tripod, manual focus, or focus bracketing where the scene permits it.

Focus Mode Labels Do Not Name the Detection System

AF-S and AF-C describe how your camera behaves after it measures focus. They do not identify whether the camera uses phase detection, contrast detection, or Hybrid autofocus. A Mirrorless camera can run AF-C while drawing data from both detection methods.

  • For running subjects Use AF-C, a responsive lens, broad PDAF coverage, and a shutter speed suited to the motion.
  • For posed portraits Use eye detection or a small AF area, then inspect focus at high magnification.
  • For landscapes Use AF-S or manual focus on a stable feature near your chosen depth-of-field point.
  • For close products Use a tripod, controlled light, and a precise point over the detail that defines the shape.
  • For video clips Check focus-transition speed and Subject tracking settings before recording a longer take.

Your real choice is not phase detection vs contrast detection autofocus as a slogan. It is the camera-and-lens behavior that fits the scene in front of you, especially where movement, dim light, and shallow depth of field arrive together.

Final Focus Takeaways

Phase detection tells the lens where to go, while contrast detection identifies where sharpness peaks. For fast action, prioritize capable On-sensor phase detection, dependable AF-C, and a responsive lens. For still scenes, sensor-based contrast confirmation can place focus with great care. Your sharpest images come from matching the AF area and drive mode to the detail your camera can see.

FAQ

What is the main difference between phase-detection and contrast-detection autofocus?

Phase-detection autofocus estimates the direction and distance the lens must travel before the lens moves. Contrast-detection autofocus searches for the point of strongest detail at the imaging sensor. Your camera gains faster acquisition from PDAF and sensor-level precision from CDAF.

How does phase-detection autofocus work?

A dedicated AF sensor compares light from two separate paths and measures how far those views are misaligned. Your camera uses that offset to estimate lens direction and travel distance, allowing rapid acquisition and stronger Subject tracking than a pure contrast-search system.

How does contrast-detection autofocus work?

At the image sensor, the system seeks the lens position with the strongest local contrast. Your camera can move past sharpness and reverse direction because contrast data alone does not reveal lens direction at the start.

Is phase-detection autofocus faster than contrast-detection autofocus?

During wide focus changes, direction estimates let the lens move faster before fine adjustment begins. Contrast-detection autofocus must sample image detail to locate its peak. Your camera may narrow that gap through Hybrid autofocus, rapid sensor readout, and a responsive lens.

Which autofocus method is more accurate for still subjects?

Contrast-detection autofocus can be highly accurate for still subjects because the measurement occurs at the imaging sensor. Your camera evaluates recorded detail directly rather than relying on a separate autofocus module. PDAF can also produce accurate results where a DSLR body and lens are properly calibrated.

Why does contrast-detection autofocus sometimes hunt back and forth?

Contrast-detection autofocus hunts because it sees sharpness change but lacks a starting clue about lens direction. Your camera moves the lens, measures contrast, then reverses after contrast falls. Flat surfaces, dim scenes, fog, and repeating patterns make that search harder.