Skip to content
← Glossary

Moiré effect

Moiré is the pattern of bands or false colors that appears when a scene's weave has finer detail than the sensor's pixel grid can resolve.

Also known as: moiré, moire, moiré pattern, aliasing

Moiré is the pattern of bands or false colors that appears when the scene's weave (the thread of a shirt, the mesh of a screen, the grille of a building) has finer detail than the sensor's pixel grid can resolve. A 24-megapixel full-frame sensor has 6-micron pixels and resolves up to about 83 line pairs per millimeter; anything finer than that doesn't disappear, but folds over and reappears as a large pattern that was not in the scene.

On the left, a regular weave of fine lines; on the right, the same weave overlaid on the sensor grid, which produces wide moiré bands that don't exist in the scene

Moiré is not in the fabric: it is manufactured by the meeting of two weaves with almost the same pitch.

Why does it form?

Through insufficient sampling, what signal processing calls aliasing. A sensor takes one sample per pixel, so it can only describe details that span at least two pixels: that is the Nyquist limit. Finer detail is not lost cleanly, it gets mistaken for a larger one, and that impostor is moiré.

When the sensor's color array also comes into play, distributing red, green and blue filters among neighboring pixels, the impostor comes out tinted. Hence the green and magenta stripes on a striped tie or on a photographed screen.

  • Sensor: Full frame 24 MP; Pixel: 6.0 µm; Maximum resolvable detail: ≈83 line pairs/mm

  • Sensor: Full frame 45 MP; Pixel: 4.4 µm; Maximum resolvable detail: ≈114 line pairs/mm

  • Sensor: APS-C 24 MP; Pixel: 3.9 µm; Maximum resolvable detail: ≈128 line pairs/mm

  • Sensor: Micro 4/3 20 MP; Pixel: 3.3 µm; Maximum resolvable detail: ≈150 line pairs/mm

More resolution moves the problem up, it doesn't eliminate it: there is always a fabric fine enough. What does change is the probability of running into one in a normal scene. The dimensions of each format are in camera sensor sizes.

Where does it appear and what do you do in the moment?

  • Where you'll see it: Finely striped shirt, tweed, silk; Why: The fabric's weave falls right at the sensor's limit; What you change: Change the distance by 15% or the focal length

  • Where you'll see it: Computer or phone screen; Why: Its pixel matrix competes with the sensor's; What you change: Rotate the camera a few degrees or defocus slightly

  • Where you'll see it: Grilles, lattices, wire mesh; Why: Repetitive structure at mid distance; What you change: Move closer or back up until the coincidence breaks

  • Where you'll see it: Tile roofs and distant facades; Why: The repetition becomes fine as you move away; What you change: Reposition the camera or stop down to f/11

  • Where you'll see it: Video with the same clothing; Why: Same as in stills, and it also flickers when moving; What you change: Change the wardrobe: in video there is no fix afterward

Changing the distance is the fastest solution and the one almost nobody tries. Moving 15% forward or back is enough to shift the fabric's frequency out of resonance with the grid, and the pattern disappears without touching any setting.

Stopping down works for a curious reason: diffraction acts as a filter that smooths the finest detail. At f/11 on full frame the diffraction disk measures about 15 microns against the pixel's 6, so the problem detail reaches the sensor already blurred. It costs overall sharpness, so it is the last resort, not the first.

Before shooting and after

On the shoot, look at the viewfinder magnified to 100% over the patterned area before the first keeper. In the full frame of a small screen, moiré is almost invisible, and in the final file it covers half a shirt.

If the job is fashion or product, tell whoever chooses the wardrobe: the fine stripe of a suit and the silk of a tie are the two usual culprits, and changing garments costs less than any correction.

In editing, color moiré is easier to attack than luminance moiré, and only if you work in RAW: the file keeps the sensor data before color interpolation and the raw developer has room to reconstruct. A JPEG arrives with the pattern already baked into all three channels and with sharpening applied on top. The full comparison is in RAW vs. JPEG.

What isn't moiré

Don't confuse moiré with chromatic aberration, which is a lens flaw and appears as a colored fringe on high-contrast edges, always in the same places and always toward the edge of the frame. Moiré appears on patterned surfaces, changes if you move a step and doesn't depend on the lens.

Nor is the horizontal band that shows up with LED light and electronic shutter moiré: that is mains flicker, and it is fixed by setting the shutter speed to 1/100 s or 1/120 s depending on your country's frequency. The difference is explained in mechanical and electronic shutter.

Lenses and their own flaws are covered in the lens selection and creative use guide.

  • Blog
    Advanced Autofocus: Nail the Eye in Every Photo

    Advanced autofocus step by step: AF modes, back-button focus and what to use in each scenario for perfectly sharp portraits and action.

  • Glossary
    Vignetting

    Vignetting is the darkening of an image's corners relative to the center. It can be an optical flaw or a creative effect added in editing.

  • Guide
    Autofocus Systems

    Modern autofocus systems offer multiple zones, predictive tracking and subject detection: choose the right mode for each situation.

  • Blog
    Hyperfocal Distance in Practice: Sharp Landscapes

    Hyperfocal distance explained without formulas: how to focus landscapes so everything comes out sharp, with practical values by focal length and aperture.

  • Glossary
    Reproduction ratio (1:1 macro)

    Reproduction ratio, or magnification, is the size a subject is projected onto the sensor compared with its real size.

  • Guide
    Depth of Field in Practice

    Depth of field directs the viewer's attention and creates visual hierarchy: your most powerful storytelling tool.

  • Guide
    Autofocus Systems

    Modern autofocus systems offer multiple zones, predictive tracking and subject detection: choose the right mode for each situation.

  • Guide
    Depth of Field in Practice

    Depth of field directs the viewer's attention and creates visual hierarchy: your most powerful storytelling tool.