How to Correct Chromatic Aberration in Photos

Chromatic aberration, the color fringing that appears along high-contrast edges in your photos, can be corrected through a combination of shooting technique, camera settings, and post-processing. The good news: most cases are easy to fix, and modern tools handle it almost automatically. The approach you choose depends on whether you’re dealing with the type that responds to aperture changes or the type that only software can fix.

Two Types That Require Different Fixes

Not all color fringing behaves the same way, and knowing which type you’re seeing determines which correction method works.

Longitudinal (axial) chromatic aberration happens because different wavelengths of light focus at slightly different distances behind the lens. Blue light bends more than red, so the colors don’t converge at the same point on your sensor. This produces color fringing even in the center of your image, typically showing as purple fringing in front of the focus point and green behind it. The blur from this type is proportional to the lens diameter, which means stopping down your aperture directly reduces it.

Lateral chromatic aberration occurs because the edges of a lens act like a prism, bending colors at slightly different angles. Each color ends up with a different magnification, producing a radial color smear that gets worse toward the edges of the frame. The center of your image stays clean. Critically, stopping down your aperture does nothing for lateral CA. It can only be corrected optically through lens design or digitally in post-processing.

Reduce It While Shooting

The simplest fix for longitudinal CA is narrowing your aperture. Shooting at f/5.6 or f/8 instead of wide open at f/1.8 or f/2.8 significantly reduces the color blur by limiting how much of the lens surface light passes through. This won’t eliminate it entirely, but it often brings fringing down to unnoticeable levels.

Chromatic aberration flares up most in high-contrast scenes: dark subjects against bright skies, backlit portraits, or anything with hard edges between light and shadow. You can minimize the problem by recomposing to avoid extreme contrast transitions, swapping to a backdrop that more closely matches your subject’s tones, or waiting for softer lighting. Since fringing is generally worse toward the edges of the frame, placing your main subject closer to the center also helps.

Use Your Camera’s Built-In Correction

Most modern cameras, especially mirrorless models, apply chromatic aberration correction automatically. Canon introduced in-camera CA correction in 2012 with the EOS-1D X and 5D Mark III, and other manufacturers followed. The system works by reading optical correction data stored in the lens itself, then applying a profile-based fix as the image is processed.

If you shoot JPEGs, the correction is baked into your files in real time. If you shoot RAW, the lens correction data is embedded in the file metadata, which means most editing platforms can read it and apply corrections automatically when you import. On Canon’s EOS R system, for example, every shot carries the lens data with it regardless of format. Nikon, Sony, and Fujifilm systems work similarly with their native lenses.

Check your camera’s menu for a “Lens Corrections” or “Chromatic Aberration Correction” toggle and make sure it’s enabled. With native lenses, this alone handles the majority of lateral CA you’d otherwise see.

Fix It in Lightroom or Camera Raw

Post-processing gives you the most precise control. In Adobe Lightroom or Camera Raw, start with the automatic approach: open the Lens Corrections panel (called “Optics” in newer Lightroom versions) and check the box to remove chromatic aberration. This applies a profile-based correction that handles lateral CA effectively for most lenses.

For stubborn purple or green fringing that the automatic fix misses, switch to the Manual tab under Lens Corrections. The Defringe controls let you target specific colors:

  • Purple Amount / Green Amount controls how aggressively the correction removes that color of fringing. Higher values remove more color.
  • Purple Hue / Green Hue sliders define the range of colors being targeted. Drag the endpoints to widen or narrow the affected hue range, with a minimum gap of ten units between endpoints.

The fastest method is to zoom into an area with visible fringing, hold Command (Mac) or Control (Windows) to activate the Eyedropper tool, and click directly on the fringe color. The Purple and Green sliders adjust automatically based on the color you sampled. If you click an area that’s too neutral, you’ll get an error message prompting you to pick a more saturated fringe.

Fine-tune by adjusting the hue range endpoints. This is important when your scene contains real purple or green elements you don’t want desaturated. Narrowing the hue range protects those colors while still removing the fringing.

Better Glass Reduces the Problem at the Source

Lens design is the most fundamental correction. Standard lenses made from a single type of glass bend every wavelength differently, which is the root cause of chromatic aberration. Achromatic lenses (achromats) solve this by combining two lens elements made from different types of glass, calculated so that two wavelengths of light converge at the same focus point. This design has been used since the eighteenth century and remains the most common approach in modern optics.

Apochromatic lenses take it further, correcting for three wavelengths instead of two. Some specialized “super-apochromat” designs handle four wavelengths. In practical terms, apochromatic lenses produce noticeably less color fringing at wide apertures and in high-contrast scenes. You’ll find apochromatic elements in many professional zoom lenses and prime lenses marketed for portraiture or wildlife photography, often indicated by “APO” in the lens name.

If you’re shopping for lenses and chromatic aberration bothers you, look for lenses that use extra-low dispersion (ED) glass elements or fluorite elements. These materials have lower dispersion, meaning they spread wavelengths apart less aggressively than standard glass. The difference is most visible when shooting wide open.

Specialized Tools for Astrophotography

Astrophotography presents a unique challenge because stars are essentially point sources of light, making even slight chromatic aberration obvious as colored halos. AI-powered tools like BlurXTerminator are designed specifically for this. The software analyzes stars in the image to determine the point spread function, the optical fingerprint of how the lens and atmosphere spread light, then corrects both longitudinal and lateral chromatic aberration in a single step. It accounts for the fact that aberrations vary across the field of view, applying different corrections to different parts of the image rather than a uniform fix.

For general photography, standard editing tools handle CA well enough that specialized AI correction is rarely necessary. But if you’re stacking deep-sky images and seeing persistent color halos around stars, dedicated astro tools offer a level of precision that Lightroom’s defringe sliders can’t match.