Lens Distortion: Barrel, Pincushion, and Correcting Them
Short answer: Barrel distortion makes straight lines at the edges of the frame curve outward, like the sides of a barrel; pincushion distortion makes them curve inward, like the seams of a cushion. Barrel distortion is common at the wide-angle end of a zoom, pincushion at the telephoto end, because a zoom lens must compromise its optical design across its whole focal-length range. Most modern cameras correct distortion automatically, and editing software offers manual correction tools for the rest.
What is barrel distortion
Barrel distortion is a geometric error in which straight lines near the edges of the frame bulge outward from the center. The effect is strongest in the corners, and it makes a rectangular subject such as a doorway or a building facade look as if it has been wrapped around a barrel.
The distortion occurs because the lens magnifies the image more at the center of the frame than at the edges. This pattern is typical of wide-angle lens designs, especially when the lens must cover a large angle of view in a compact package. The focal length and angle of view relationship explains why wide-angle lenses are more prone to this. Zoom lenses often show barrel distortion at their shortest focal length, where the optical design is pushed hardest to fit a wide view into a small lens group.
Barrel distortion is usually more visible in architectural photography, real estate shots, and any image with a strong horizontal or vertical line near the frame edge. In portraits or nature scenes with no straight edges, it can go unnoticed entirely.
What is pincushion distortion
Pincushion distortion is the opposite pattern: straight lines near the edges curve inward, toward the center of the frame. A rectangular grid photographed with a pincushion-distorted lens looks pinched in the middle of each side, resembling the shape of a cushion with gathered seams.
This effect is typical of telephoto lens designs, where the magnification is higher at the edges than at the center. Zoom lenses often show pincushion distortion at their longest focal length, and the effect becomes more noticeable when the subject includes parallel lines such as windows, shelves, or architectural details.
Pincushion distortion is less objectionable than barrel distortion to many viewers because it is less obvious in organic subjects. But it is equally measurable in technical photography, and it matters just as much when you are photographing a grid of lines, a bookshelf, or a city skyline.
Why zoom lenses show distortion
A zoom lens must maintain acceptable sharpness, contrast, and geometric accuracy over a range of focal lengths, which is a much harder task than designing a prime lens for a single focal length. Every glass element in a zoom lens is a compromise: it is positioned to work well across the whole zoom range, not perfectly at any one point.
The result is that distortion, like other optical aberrations, is rarely zero across the entire zoom range. Barrel distortion tends to appear at the wide end, pincushion distortion at the long end, and a transition zone in between where the distortion is near zero. Some zoom designs show a more complex pattern, but the wide-to-telephoto barrel-to-pincushion shift is the most common behavior.
Prime lenses are not immune, but because they are designed for one focal length, engineers can correct distortion more thoroughly in the optical design. A well-corrected prime lens can show almost no visible geometric error, which is one reason many photographers prefer primes for architecture and product work. The lens mount guide explains how the mount design influences the lens elements and their correction capabilities.
Distortion in modern lens design
Lens manufacturers have developed sophisticated optical design methods over many decades. The optical platform behind a modern camera system draws on accumulated glass technology, coating science, and computer-aided design to push geometric accuracy as far as practical within the constraints of size, weight, and the number of elements.
Modern mirrorless systems in particular have given optical designers more freedom. Because the distance between the lens mount and the sensor is shorter than on a traditional SLR, the rear lens elements can sit closer to the sensor, which opens up new possibilities for correcting distortion at the design stage.
Even so, no lens is perfect. Distortion correction is one of many competing goals in a lens design, alongside sharpness, bokeh quality, flare resistance, autofocus speed, and physical size. A lens that is optically corrected for distortion can still show other aberrations, and a lens that is free of distortion at one focal length may show more at another.
In-camera distortion correction
Most modern digital cameras apply automatic distortion correction when they process the image from the sensor. The camera knows the lens design, including the distortion pattern at each focal length, and it remaps the image to straighten the lines before saving the file. This happens invisibly, and it is especially common in mirrorless cameras and premium compact cameras.
The correction is applied to JPEG files as they are written, and it is also embedded in the metadata of many raw files so that editing software can apply the same remapping. In some cameras the correction is always on, in others it can be adjusted or turned off. For shooting with a wide-angle zoom, in-camera correction can make a lens that shows visible barrel distortion produce straight edges in the final image.
The trade-off is that distortion correction always crops a little of the image area, because the remapping has to squeeze the bulging edges back toward the center. The effect is small, but it slightly reduces the effective angle of view. For most shooters this is a worthwhile exchange for straight lines. Understanding raw format helps you decide whether to rely on in-camera correction or apply correction later.
Correcting distortion in the editing stage
If you shoot raw, you can correct distortion yourself in editing software. Most raw processors include a lens profile that contains the distortion data for a specific lens, applied at the click of a button. You can also adjust distortion manually with a slider, which gives you control over the amount of correction and lets you overcorrect deliberately if you want a stylized effect.
When no lens profile is available, you can still correct distortion by eye: use a grid overlay in your editor, align a straight line near the edge of the frame, and adjust the distortion slider until the line is straight. This works well for architectural shots, where one strong vertical or horizontal line near the edge is usually enough to guide the correction.
The same correction is available in video editing software, and many cameras apply it to video footage automatically during recording. For live streaming or run-and-gun video, in-camera correction is the more practical route, because you cannot remap every frame in post without increasing your workflow time.
What to consider when choosing a camera
For photographers who shoot architecture, interiors, or any subject with strong straight lines, distortion behavior is worth checking alongside other lens specs, and a camera with reliable in-camera correction and good lens profiles in editing software will save time. For general photography, portraits, travel, and nature, distortion is a minor concern because the subjects rarely contain the straight edges that make it obvious.
If you are buying a compact camera, check whether it applies distortion correction automatically and whether it gives you any control over the correction. If you are choosing between interchangeable lens systems, the lens mount and the range of lenses available will matter more than distortion numbers, because you can always pick a lens that behaves the way you need. The lens mount is the long-term commitment, and the lens choice is the flexible part. Distortion is one of many factors in that choice, alongside focal-length coverage, maximum aperture, and size. See our best mirrorless cameras for options with strong in-camera correction.
Video shooters should prefer cameras with in-camera distortion correction, because it is difficult to correct distortion in moving footage without quality loss. This is one more argument for choosing a mirrorless camera with strong lens correction over a body that relies on post-processing alone. If you are comparing cameras, check whether the correction is automatic, whether it applies to raw files, and whether the lens profiles in your editor cover the lenses you plan to buy. Our best full-frame mirrorless cameras guide highlights models that handle this well.
What to pick for your use
| If you | Pick | Buying guide |
|---|---|---|
| You photograph architecture, interiors, or real estate | A camera with automatic in-camera distortion correction | Best Full-Frame Mirrorless Cameras 2026: 15 Spec-Based Picks |
| You shoot general travel, nature, or portraits | Any camera; distortion is rarely visible in these subjects | Best Mirrorless Cameras in 2026: 15 Picks Compared on Specs |
| You record video and need straight lines in moving footage | A mirrorless camera with real-time in-camera correction | Best 4K Cameras in 2026: 15 Picks Compared on Specs |
| You plan to shoot raw and correct manually in post | A camera with strong lens-profile support in editing software | Best 30 to 49 MP Cameras in 2026: 15 Picks Compared |
Questions
What is the difference between barrel and pincushion distortion?
Barrel distortion makes straight lines near the frame edges curve outward, like the sides of a barrel, and it is common at the wide-angle end of a zoom lens. Pincushion distortion makes the same lines curve inward, like the seams of a cushion, and it is common at the telephoto end. Both are geometric errors in the lens, not artifacts of the camera sensor.
Why do zoom lenses show more distortion than prime lenses?
A zoom lens must maintain optical quality across a range of focal lengths, which forces engineers to compromise in every glass element. A prime lens is designed for one focal length, so distortion can be corrected more thoroughly in the optical design. For this reason, zoom lenses typically show barrel distortion at the wide end and pincushion distortion at the long end.
Can distortion be fully eliminated?
No lens is perfectly free of distortion, but modern cameras and editing software can reduce it to a level that is invisible in most images. In-camera correction is applied automatically when the camera processes the image, and raw processors apply the lens profile when you open the file. These methods are effective enough for all practical photography.
Does in-camera distortion correction reduce image quality?
The correction remaps the image, which slightly crops the edges and interpolates the pixels. In practice the effect on sharpness is negligible for most users, and the benefit of straight lines is worth the small trade. For a lens with strong barrel distortion at the wide end, the corrected image is usually better than the uncorrected one in every way that matters.
Change log
- : First published.