Skip to content
DirtAI
← All guides
  • sensor dust
  • ai cleanup
  • camera

How to Remove Dust Spots From Camera Sensor Photos (and Prevent Them)

Find sensor dust spots in your photos, remove them across a whole shoot in a few minutes, and clean your camera sensor safely so they don't come back.

· 6 min read

You get home from a day of landscapes, open the files, and there it is: the same soft, dark blob in the sky of every single frame. That’s sensor dust. It’s one of the most common annoyances in digital photography, especially with interchangeable-lens cameras, and the good news is that it’s easy both to fix in your photos and to prevent.

What sensor dust looks like, and why it appears

When you change lenses, dust, pollen and tiny particles from the camera’s own moving parts can land on the sensor. Strictly speaking, the dust sits on the filter stack in front of the sensor, not on the silicon itself. Because it’s a small distance in front of the light-sensitive surface, it casts a shadow, and that shadow is what shows up in your photo.

Key traits:

  • Dark, soft-edged spots, sometimes with a faint ring. Hairs and fibers show up as curved lines.
  • Same position in every frame shot during the session, regardless of where you pointed the camera.
  • More visible at small apertures. At f/2.8 the shadow is so diffuse you’ll rarely see it; at f/11 to f/22 it becomes sharp and dark.
  • Most visible on plain, bright areas: skies, white walls, snow, studio backdrops.

That last point explains why landscape and product photographers notice dust more than portrait photographers shooting wide open.

How to check your sensor for dust

A quick test shows exactly where the dust is:

  1. Set the camera to aperture priority at f/16 or f/22, ISO at base.
  2. Set focus to manual and turn it to the closest distance, so the scene is completely blurred.
  3. Photograph a plain, evenly lit surface: a clear sky, a white wall or a sheet of white paper. Moving the camera slightly during the exposure helps blur any texture.
  4. Open the image and increase contrast heavily (or use your editor’s spot visualization mode). The dust spots will stand out clearly.

The image is projected upside down onto the sensor, so a spot near the top of your photo is actually near the bottom of the sensor. Keep that in mind if you plan to clean it.

Removing dust spots from your photos

In Lightroom, Lightroom Classic or Camera Raw

The Spot Removal (healing) tool has a Visualize Spots option that shows the image as a high-contrast outline map. Dust spots pop out as small rings.

  1. Turn on Visualize Spots and adjust its slider until the spots are clear.
  2. Click each spot with a brush slightly larger than the spot.
  3. Sync the spot removal to the other photos from the same session. Because the dust sits in the same place on every frame, one fix applies to all of them.
  4. Check each synced image. In frames where a spot falls on a detailed area (a tree line, a building edge), the automatic source may pull in the wrong texture and need a manual fix.

In other editors

  • Capture One: the Remove Spot mode of the healing brush is designed for dust.
  • darktable: the retouch module with its heal tool; copy the module’s history to other images.
  • Photoshop, GIMP, Affinity: spot healing or heal tools, one spot at a time.

With AI cleanup

AI cleanup tools approach dust as just another kind of dirt. You brush over the spots (or the whole affected area of sky), and the model fills them in from the surrounding tones and noise pattern. This is particularly useful for spots that sit over fine texture, where a simple healing tool smears detail. It’s the core use case DirtAI is being built for: brush over the dirt, and the fill blends with the grain of the photo.

With camera dust-reference data

Some cameras can record a dust reference image and use it to remove spots automatically in the maker’s own software, for example Canon’s Dust Delete Data with Digital Photo Professional and Nikon’s Image Dust Off reference photo with its NX software. It works only in that software and only for the dust pattern at the time you recorded the reference, so update it whenever the dust changes.

Cleaning the sensor safely

Fixing photos is fine for a one-off, but if spots appear every shoot, clean the sensor. Work from least to most invasive, and stop as soon as the test shot is clean.

Level 1: The built-in cleaning function

Most interchangeable-lens cameras have a sensor cleaning function that vibrates the filter at high frequency to shake loose dust. Many run it automatically at power on or off. Trigger it manually from the menu, then repeat the test shot.

Level 2: A rubber hand blower

A dedicated rubber blower (such as the common “rocket” style blowers) removes most loose dust.

  1. Use a fully charged battery, and follow your manual’s procedure to expose the sensor if needed (DSLRs require a manual clean mode that locks the mirror up).
  2. Hold the camera with the mount facing down, so dislodged dust falls out instead of settling back inside.
  3. Squeeze a few puffs of air toward the sensor without touching it with the tip.
  4. Replace the lens or cap, and test again.

Never use canned compressed air. It can spray liquid propellant onto the sensor and leave residue that’s much harder to remove. Never blow with your mouth, either; saliva droplets are worse than dust.

Level 3: Wet cleaning with sensor swabs

Stuck-on spots, pollen and oily marks need a wet clean using sensor swabs sized for your sensor and a fluid made for this job. Use a fresh swab each pass, drag it across the sensor once in a single smooth stroke, flip it and pass back.

It’s not difficult, but there’s real risk of scratching the filter or leaving streaks. If you’re not comfortable, a camera shop or the manufacturer’s service center can do it. Some manufacturers’ warranties say how sensor cleaning should be done, so check yours first.

Preventing sensor dust

  • Change lenses quickly, with the camera body pointed down.
  • Shield the camera from wind when changing lenses outdoors; do it inside a car or bag on dusty days.
  • Keep rear lens caps and body caps clean, since dust on them goes straight into the camera.
  • Don’t leave the body without a lens or cap, even briefly.
  • Turn the camera off when changing lenses; on many cameras that also triggers the cleaning cycle.
  • Store the camera in a closed bag, not on an open shelf.

On mirrorless cameras the sensor is more exposed when the lens is off, because there’s no mirror in front of it. Some models can close the shutter when powered off to protect it; check whether yours has this setting.

Dust on scans looks different

If you’re dealing with spots on scanned photos rather than camera files, the cause is dust on the print, film or scanner glass. On scans of prints and negatives, spots usually appear white; on slides, dark. The cleanup approach is similar, but prevention means cleaning the glass and the original, as described in our guide to scanning old photos.

Summary

ProblemQuick fixLasting fix
A few spots in one photoHealing tool or AI brushTest and clean the sensor
Same spots across a whole shootFix one, sync to allBuilt-in cleaning, then a blower
Spots that survive the blowerFix in postWet clean or professional service
Spots on scansBrush them outClean the glass and the originals

Dust happens to every camera. With a quick test shot before important trips and a good brush-and-fill tool for the occasional spot, it never has to ruin a photo. DirtAI is launching soon to make that last part as fast as possible.

← Back to all guides