There is a moment every photographer knows: the sky in the frame is a clean blue gradient and across it sits a soft grey blob, then another, then a whole constellation. Sensor dust is inevitable on any interchangeable-lens camera, and lens smudges are inevitable on any lens that leaves the house. Cleaning both is not difficult, but it is one of the few maintenance jobs where a careless minute can cause a repair bill of several hundred dollars. Here is the method we use, in order of risk, and the tools that make it safe.
Know what you are looking at
Before cleaning anything, find out whether the problem is on the sensor or on the lens. Stop the lens down to f/16 or f/22, point at a plain bright surface, defocus completely and take a frame. Dark specks that stay in the same place at any focal length and with any lens are on the sensor, or more precisely on the glass filter stack that sits a few millimetres in front of it. Spots that move or vanish when you change lenses are on the lens. Spots visible in the viewfinder of a mirrorless camera but not in the image are on the viewfinder glass and are harmless. Most of what we call dust is dust; occasionally it is a dried water droplet or a fleck of lubricant, and those need a different approach.
Sensor cleaning: the built-in shaker, then a blower
Nearly every current body has a sensor-cleaning function that vibrates the filter stack at ultrasonic frequency to shake loose particles. It runs automatically at power on or off, and it can be triggered from the menu. It removes dry dust perhaps half the time and costs nothing, so we run it first, then repeat the test frame. If the spots are gone, stop.
The next tool is a hand-squeezed rubber blower, the kind with a large bulb and a narrow nozzle, weighing about 50 to 80 g and costing USD 10 to 20. Set the camera to its cleaning mode so the shutter and any sensor-shield are open, remove the lens, hold the body with the mount facing down so loosened dust falls out, and puff air across the sensor from about 2 to 3 cm away, without touching it. Ten or fifteen squeezes are usually enough. Never use canned compressed air; the propellant can spray liquid onto the sensor and the pressure can drive dust into the mechanism. Never blow with your mouth, which delivers moisture and spit. Test again. This step handles most of what the shaker missed.
Step three: wet cleaning with swabs
When a spot survives the blower, it is stuck rather than resting, and it needs a wet swab. Buy swabs sized for your sensor: full-frame swabs are 24 mm wide, APS-C swabs 16 to 17 mm, Micro Four Thirds swabs 12 to 13 mm. A pack of 10 to 12 swabs with a small bottle of sensor fluid costs USD 20 to 40. Work in a clean room with no draught, camera in cleaning mode, battery fully charged so the shutter cannot close on the swab.
Put two or three drops of fluid on the edge of the swab, not a puddle. Place it at one edge of the sensor, tilt it so the whole edge contacts the glass, and draw it across in one smooth stroke with light pressure, about the weight of the swab itself. Flip the swab and draw it back the other way with the clean side. One swab, two strokes, then discard it; a reused swab drags the dust it collected back across the glass. Take another test frame. It is common to need a second swab, and it is normal to see a faint streak the first time that disappears with a dry pass. Stubborn oil from a new shutter mechanism may take three swabs. If after three attempts a mark remains in the same place, it may be under the filter stack or a scratch, and that is a job for a service centre, typically USD 50 to 100.
What to avoid on the sensor
- Cotton buds, lens tissue and microfibre cloths: they shed fibres and can scratch.
- Household glass cleaner or alcohol from the pharmacy: the wrong solvent can damage the coating.
- Brushes that have touched anything else, including your fingers.
- Any pressure, ever. The filter stack is glass and it can crack; the sensor behind it costs a third of the camera.
Cleaning lenses without adding scratches
Front elements are tougher than sensors but they are also touched far more often, and most of the fine scratches we see on used lenses came from cleaning, not from use. The order matters: remove grit first, then oil. Blow with the bulb blower, then use a soft retractable lens brush to lift anything that remains. Only then bring in a clean microfibre cloth, breathing lightly on the glass to add a film of moisture, and wipe from the centre outward in a spiral. For fingerprints and sea spray, put a drop of lens cleaning fluid on the cloth, never directly on the lens, where it can wick into the barrel. A cloth that has been in a pocket with keys or coins is no longer clean; we keep ours in a small sealed bag and wash them without fabric softener every few weeks.
Rear elements deserve the same care and more caution, because a mark there affects the image more than the same mark on the front. Clean the lens mount contacts with a dry cloth; if autofocus becomes erratic, a light wipe with a pencil eraser on the metal contacts sometimes fixes it. Do not open a lens to clean internal dust; a few specks inside have no visible effect on images and the disassembly certainly will.
Prevention is most of the job
Change lenses with the body pointing down and the power off, and do it quickly, out of the wind, with the rear cap ready. Keep caps on lenses in the bag. Store gear in a dry place; in humid climates, a sealed box with silica gel, or a dry cabinet at 40 to 50 percent relative humidity, prevents the fungus that no cleaning can reverse. Use a hood rather than a protective filter on the front; it keeps fingers and rain off the glass and shades it as well. And test for dust at f/22 before every important job rather than after it, when the spots have already found their way into two hundred frames of sky.