
Infinity focus is the focus setting at which very distant things, such as stars, the horizon or far mountains, are recorded sharp. It matters most when autofocus cannot help, at night or in thick darkness, because the mark on the lens that promises infinity is often not where infinity really is.
Light from a point very far away reaches the lens as almost parallel rays, and the lens brings those rays together about one focal length behind it. Set the focus so they meet exactly on the sensor and every distant point records as a point. In daylight, autofocus finds this position instantly on any far subject. In the dark there is too little light and contrast for it to lock, so you set it by hand.
New to focusing by hand? Manual focus explains the focus ring, magnification, focus peaking and why the lens markings can mislead.
How far away is “infinity”?
Much closer than it sounds, and the distance depends on the focal length. With the lens set at true infinity, everything from the hyperfocal distance outward is acceptably sharp. On a full-frame camera, using the usual 0.03 mm circle of confusion:
- A 24mm lens at f/2.8 holds everything from about 7 m to the stars.
- A 50mm lens at f/2.8 starts at about 30 m.
- A 400mm lens at f/5.6 starts at about 950 m, so a light 1 km away is only just far enough to focus on.
That is why a wide lens can be focused on a distant streetlight or a hill a few hundred meters away and still give sharp stars, while a long lens needs something truly far.
The infinity mark is not infinity
Most autofocus lenses can turn past infinity. The extra travel lets the lens reach true infinity in heat and cold and across small differences between copies, but it means the hard stop, and often the infinity symbol itself, is slightly beyond the right setting. Turn the ring to the stop and the stars come out as soft blobs. Many lenses use focus by wire, where the ring is an electronic control rather than a mechanical link, and some of those forget their focus position when the camera sleeps or is switched off. A lens with a long focus throw makes the last small adjustment easier; a short throw turns it into a twitch of the fingers.
How to set infinity focus at night
- Switch the lens or camera to manual focus, so the shutter button cannot refocus.
- Point at the brightest star or planet, or the most distant light you can see.
- Open live view and magnify the display as far as it goes on that point.
- Turn the ring slowly. The point shrinks, then grows again as you pass focus. Stop where it is smallest.
- Take a test frame, zoom in on it in playback, and check that the stars are tight, round points.
- Tape the ring in place with a strip of gaffer tape, and check again if the temperature drops a lot or the camera has been off.
If you arrive in daylight, you can autofocus on something far away, switch to manual focus and tape the ring before dark. Some photographers mark the true infinity position on each lens with a thin piece of tape so they can find it again quickly.
Ready to put this to work under a dark sky? How to photograph stars and the Milky Way covers focusing, exposure and the other settings for sharp stars.
Infinity focus or hyperfocal distance?
Focusing at infinity wastes some depth of field beyond the horizon. Focus at the hyperfocal distance instead and the sharp zone runs from half that distance to infinity. A 24mm lens at f/8 on full frame, focused at infinity, is sharp from about 2.4 m outward. Focused at 2.4 m, it is sharp from about 1.2 m to the horizon, which is why landscape photographers with a near foreground usually focus short of infinity.
For the night sky the choice usually goes the other way. Stars are tiny points that show any focus error, so set true infinity for the sky, and if the foreground is close, take a second frame focused on it and blend the two.
Want a sharp foreground and a sharp sky in one frame? What is hyperfocal distance shows how to find the focus distance that does both, and the hyperfocal distance calculator works it out for your lens.