Press the shutter button halfway and something extraordinary happens in a fraction of a second. Inside the lens, a motor smaller than your thumbnail spins, a group of glass elements slides forward by a hair’s width, and the blurry world in the viewfinder snaps into perfect sharpness. You never hear it, you never feel it, and by the time your finger finishes pressing, the picture is taken. The whole job, from blur to focus, takes less time than a blink.

The motor that does this is the autofocus motor, and it is one of the most precise machines ever put into a consumer product. It must move a stack of glass with an accuracy of a few microns, stop exactly on target, do it hundreds of times a day, and keep working for years, all while staying silent enough not to ruin a video. Here is how a camera autofocus motor works, from the button press to the sharp image.

A camera lens taken apart on a workbench with visible autofocus motor parts, small gears and copper coils
A lens taken apart on the bench, its autofocus motor and gears exposed.

How a Camera Autofocus Motor Works

Step 1: The camera measures the blur

Everything starts with a measurement. When you half-press the shutter, the camera looks at the scene and works out how far out of focus it is. Modern cameras do this with phase detection, using pairs of tiny sensors that compare two views of the same subject, like your two eyes judging distance. If the two views line up, the subject is in focus; if they are offset, the camera knows not just that it is out of focus, but by how much and in which direction.

Step 2: The processor turns distance into a command

The camera’s processor takes the focus measurement and turns it into a command for the motor: move this far, in this direction, at this speed. It also decides how the lens should behave. For a still portrait, it wants a single fast move and a dead stop. For a video, it wants a slow, smooth glide so the focus change does not distract the viewer. For a running athlete, it wants to predict where the subject will be a moment from now and aim there.

Step 3: The motor spins

Now the motor itself takes over, and there are two main kinds. The first is the ultrasonic motor, a ring of piezoelectric ceramic that vibrates tens of thousands of times a second. The vibration travels around the ring like a wave, and it drags a rotor with it by friction, turning vibration into rotation. It is silent, it is fast, and it can hold its position without power, like a brake that is always on. The second is the stepping motor, a small electromagnetic motor that turns in tiny, precise steps, each one a fraction of a degree. It is cheaper and smoother than the ultrasonic motor, which is why it dominates in lenses made for video.

The materials and construction of these motors are covered in camera autofocus motor materials engineering, which explains the ceramics, magnets, and alloys inside them.

A photographer's hands holding a mirrorless camera focusing on a subject outdoors, lens barrel extended
Half-press, and the motor inside the lens does its work in a fraction of a second.

Step 4: Gears turn spin into slide

A motor spins, but a lens focuses by sliding, so something must turn rotation into straight-line movement. In most lenses, the motor drives a gear train, a set of tiny toothed wheels that reduce the speed and multiply the torque, and the last gear turns a helicoid, a threaded barrel that converts rotation into a smooth slide. As the helicoid turns, the focusing group of glass elements moves forward or backward along the lens axis.

Phone lenses skip the gears entirely, and the tiny motors inside a phone camera are described in how a smartphone camera lens works, which shows how a whole camera fits in a few millimetres of thickness.

Step 5: The elements move a fraction of a millimetre

The actual focusing movement is astonishingly small. To focus from infinity to a portrait at two metres, the lens elements may move less than a millimetre. To focus on something a few centimetres away, they move a few millimetres more. The motor must position them to within a few microns, about a twentieth of the width of a human hair, because at a wide aperture the depth of field is thinner than a sheet of paper.

Step 6: The camera checks and locks

As the elements move, the camera measures the focus again, many times a second, and adjusts. This closed loop, measure, move, measure again, is what makes autofocus accurate. When the measurement says the subject is sharp, the motor stops, and on an ultrasonic motor the friction of the ring holds the elements exactly where they are, with no power needed. A green light or a beep confirms focus, and the camera is ready to take the picture.

A close-up of a camera lens front element with the autofocus ring, shallow depth of field
The front of the lens, where the focus ring turns the motor’s work into a photographer’s control.

Step 7: Silence matters for video

For stills, speed is everything; for video, silence is. A microphone on top of the camera hears every whirr and click of the focus motor, so video lenses are built around stepping motors and voice coils that move smoothly and quietly. The motor is also damped and isolated from the lens barrel, so its vibration does not reach the microphone or shake the image.

The sensors these lenses serve are feats of engineering in their own right, as shown in cinema camera sensor materials engineering, which covers the silicon that turns the focused light into an image.

Camera Autofocus Motor Specifications

Feature Typical figure
Motor types Ultrasonic, stepping, voice coil
Focus time About 0.05–0.3 seconds
Positioning accuracy A few microns
Element travel Under 1 mm for distant subjects
Noise Near silent in stepping motor lenses
Power Milliwatts to a few watts
Drive Gear train and helicoid, or direct drive
Design life Hundreds of thousands of focus cycles

What an Autofocus Motor Costs

The motor itself is a small part of a lens’s price, but it is a precision component. As an estimate, the autofocus motor and its gear train add roughly $20 to $150 to the manufacturing cost of a consumer lens, while a professional ultrasonic motor assembly can cost several hundred dollars as a spare part.

A Rare Fact

The ultrasonic motor in a camera lens works on the same principle as a travelling wave: a ring of ceramic vibrates so fast that the surface ripples like a stadium wave, and the rotor rides the ripples around. The vibration is above the range of human hearing, which is why the motor is silent, and the ring can spin the lens with enough torque to move heavy glass, yet stop instantly when the power is cut.

The autofocus motor is easy to overlook, a tiny machine buried inside a lens, doing a job so well that photographers forget it exists. But without it, the modern camera would be unrecognisable: no instant focus, no tracking, no silent video, no phone camera at all.