Machine Vision Lens Maintenance

How to Clean a Camera Lens or Coated Optics: The Blower, Brush, and Solvent Procedure

Cleaning coated glass is a risk-managed procedure, not routine maintenance. The wrong sequence turns dust into an abrasive and leaves permanent marks on a multi-layer coating that cannot be polished out, so a scratched element generally means replacing the lens.

By the Commonlands engineering team · Updated July 2026 · 14 min read

A lens cleaning kit with blower, brush, swabs, and solvent around two lenses

Clean camera optics only when contamination is confirmed, not on a fixed schedule. Use a blower first to remove loose particles without contact, a clean anti-static brush if particles remain, and a solvent-dampened lint-free wipe only for oily films or smears. Apply solvent to the wipe, never directly to the glass, and wipe from center outward with light pressure. Cleaning an optic that does not need it can do more harm than the dust it is meant to remove.

When should you clean a camera lens?

Clean a lens only when contamination is measurably affecting image quality, not because dust is visible. Fine particulate scattered across the front element covers a very small fraction of the total aperture and typically has little measurable effect on captured images. A few specks under angled inspection light are not, by themselves, a reason to reach for a wipe.

Inspect under a bright, directional light source before deciding anything. If particles are loose and the image passes every quality metric, use the blower and stop. Escalate to contact cleaning only when one of these is true:

  • Oily films or smears are visible and are producing flare or measurable contrast loss in captured images
  • Particles persist after blowing and are producing measurable scatter or veiling flare (front element) or visible shadow artifacts (sensor window or near-sensor filter)
  • The image is failing a reference comparison against a clean baseline

Different contamination types need different tools. Loose dust responds to a blower alone. Adhered particles that survive blowing need a brush. Oily films, fingerprint residue, and outgassing deposits need solvent. Wiping loose dust with a dry tissue before blowing turns those particles into abrasives that drag across the coating and leave permanent micro-scratches.

Common failure mode

If a lens is contaminating quickly and repeatedly, the source is usually environmental rather than the cleaning step itself. Check the enclosure seal, mounting hardware, and nearby sources of oil mist or outgassing before assuming the optic itself needs a better cleaning routine.

Sealed lenses shift this calculus without eliminating it. See whether sealed or IP-rated lenses still need cleaning below. For understanding what the front element and coating stack are actually protecting against, the ruggedized machine vision lenses guide covers sealing and coating options in more depth.

A gloved hand uses an air blower to lift dust off an M12 lens
Start with air so grit never drags across the coated glass.

What belongs in a camera lens cleaning kit?

A practical cleaning kit for machine vision and embedded camera work needs seven items: a manual bulb blower, an anti-static brush, lint-free wipes, single-use sensor swabs, an optics-approved solvent, nitrile gloves, and a clean work surface. Each addresses a different contamination type or handling risk.

  • A bulb blower. Choose a manual rubber bulb that is oil-free, with no canned propellant. Canned air contains propellants that can deposit residue or discharge liquid propellant onto the optic if the can tilts during use. A manual blower uses room air with no propellant risk.
  • An anti-static lens brush dedicated to optics only. Do not share a brush between components or use one that has contacted an oily surface.
  • Optical-grade lint-free wipes, single-use only. Reusing a wipe reintroduces the contamination it just removed.
  • Single-use sensor swabs sized to the sensor format for cover glass. They are not interchangeable with lens wipes.
  • An optics-approved solvent, meaning high-purity isopropyl alcohol (99%+) or a lens-formulated cleaning fluid.
  • Nitrile gloves to prevent skin oil transfer from fingertips during handling.
  • A clean work mat for a stable, uncontaminated surface during the procedure.

Store consumables sealed when not in use, cap the blower nozzle between uses, and keep wipes and swabs out of dusty environments until the moment of use. The lens cleaning tools comparison below ranks the Commonlands kit and blower against honest generic substitutes for each item on this list.

What is the step-by-step lens cleaning procedure?

Follow blower, then brush, then solvent, in that fixed order, and never skip a step. The blower removes loose dust without contact, the brush lifts particles that survived blowing, and solvent removes oily films that dry tools cannot lift. Reversing the order turns dry particles into abrasives against the coating.

  1. Power down the camera before removing the lens or beginning inspection. Use ESD-safe handling for any exposed camera module.
  2. Inspect under angled light before touching anything. Map where particles are concentrated versus where smear zones are. This map determines which steps are actually needed.
  3. Use the blower to remove loose particles. Hold the nozzle 30–50mm from the optic and use several short bursts rather than one long blast. Tilt the optic slightly so displaced particles fall away rather than settling back.
  4. Use the brush to remove adhered particles that survived blowing. Use single one-directional strokes, not circular scrubbing. Blow again afterward to clear any brush-deposited fibers.
  5. Use a solvent wipe to remove oily films and residues. Apply a small amount of solvent to the wipe, not the optic. Wipe from the center outward in a spiral with light pressure. Use one side of the wipe per pass; start a fresh wipe for a second pass.
  6. Let solvent flash off completely before reassembly. Solvent trapped under a threaded barrel can wick into element edges over time.
  7. Reinspect under angled light to confirm contamination is removed without new streaks or residue.
  8. Recheck the image against a baseline target to confirm contrast and flare are within acceptable limits.
System-level check

If flare or contrast issues persist after cleaning the front element, inspect the enclosure window, any protective filter stack, and the sensor cover glass before concluding the lens itself is at fault. System-level optical issues are commonly misattributed to lens cleanliness.

Dos and don'ts for coated optics and housings

The table below summarizes the highest-consequence rules for cleaning coated camera optics. Every item in the Don't column is a well-recognized way to risk coating damage or reintroduce contamination.

Do Don't
Start with a blower before any contact step. Start with a dry wipe while dust is still on the optic.
Apply solvent to the wipe or swab, not to the optic directly. Flood the optic surface with solvent, risking wicking into the barrel.
Use a center-out spiral wipe motion with light pressure. Scrub in circles or use heavy pressure.
Use high-purity IPA (99%+) or an optics-approved cleaning fluid on coated glass. Use household glass cleaner, water, or an unverified solvent.
Use acetone only when glass, housing, and adhesive are all confirmed compatible. Use acetone on plastic housings, painted barrels, or any assembly with adhesive joints.
Use single-use wipes and swabs; discard after each pass. Reuse wipes or sensor swabs, which reintroduces contamination.
Clean only when image quality data or visible contamination justifies it. Clean on a fixed calendar schedule regardless of observed contamination.
Wear nitrile gloves during handling to prevent skin oil transfer. Touch optical surfaces or element rims with bare fingers.

How often should machine vision lenses be cleaned?

There is no universal cleaning interval. The right cadence depends on the deployment environment, not a fixed calendar. A lens in a sealed, thermally stable housing with filtered air may go years without contact cleaning. A lens near cutting fluid mist or conveyor particulate may need weekly visual inspection.

The trigger for an actual cleaning event should be evidence, not a schedule:

  • A failed image quality metric measured against the baseline standard
  • Visible contamination identified during a scheduled visual inspection
  • A confirmed rise in false-reject rate traced to optic contamination rather than an upstream process change

If a team finds itself cleaning lenses often, that is a signal to investigate the root cause rather than refine the cleaning technique. Review enclosure design, lens cap discipline during downtime, lens holder selection, and handling protocols. A well-mounted, properly enclosed lens in a stable environment should rarely need cleaning at all.

Build objective baselines for contamination-driven quality changes with reliability testing resources and camera image quality testing tools.

What is the safest way to clean an image sensor window?

Blow the sensor window first from 30–50mm with several short bursts, then use a single-use sensor swab with approved solvent only if residue remains. Sensor cover glass sits directly in front of the pixel array with no further optical path to diffuse small artifacts, so a particle or smear there can cast a visible shadow in captured frames, especially at smaller apertures, and scratching the window permanently damages the camera.

  1. Blow first. Bulb blower at 30–50mm standoff, several short bursts. In many cases blowing alone removes the contamination.
  2. Inspect in raking light to confirm whether contamination remains after blowing.
  3. If residue remains, use a single-use sensor swab sized for the sensor format. Apply approved solvent to the swab tip, not directly to the glass.
  4. Draw the swab across the window in one direction with light pressure. Flip to the clean side for a second pass if needed, then discard the swab.
  5. Hold the swab flat with even, light pressure rather than tilting it onto one edge, which is what causes streaking.
  6. Never touch the sensor window with any tool other than an approved swab. A regular lens wipe is not the same product and is not sized or rated for cover glass.
Internal contamination

If contamination appears to be behind the cover glass, on the pixel array itself, the camera needs professional service or replacement. Internal sensor contamination cannot be addressed with cleaning procedures at the module level.

For context on sensor window geometry and format dimensions, see the CMOS sensor size guide. For how sensor optical properties interact with lens selection more broadly, see the chief ray angle and sensor mismatch guide.

Do sealed or IP-rated lenses still need cleaning?

Yes, but less often. An IP67 or IP69K-rated lens keeps particulate and moisture out of the internal optical path, so contamination is confined to the exposed front element rather than migrating between internal groups. That front surface still collects dust, condensation, and process residue in the field and needs the same inspection-driven cleaning described above. The seal reduces field cleaning frequency, but it does not remove the need for it.

A hydrophobic coating on the front element compounds this benefit for wash-down and outdoor environments. Water beads and rolls off the surface rather than sheeting into a film, which reduces water-spot and smear formation between cleanings, and oleophobic (fluorinated) variants shed light oils the same way. The coating does not stop dry dust accumulation, so the blower and brush steps in the step-by-step procedure above still apply on the same evidence-based schedule.

Select C-mount lenses, not the full catalog, carry IP-rated sealing and hydrophobic coatings. Verify the option on the specific product page rather than assuming it applies across a lens family. The IP rating guide covers the rating scale and sealing methods in detail, and the hydrophobic lens coating section of the ruggedized lenses guide explains how the coating is applied and what it protects against.

How do you troubleshoot haze, flare, and repeat contamination?

Uniform haze comes from thin-film contamination, localized flare comes from contamination near the optical axis, and repeat contamination comes from an enclosure or mounting problem rather than the cleaning procedure itself. Each symptom points to a different fix.

Haze and contrast loss

Uniform image haze, a reduction in contrast across the full frame, is most often caused by thin-film contamination rather than discrete particles. Thin films scatter light broadly instead of blocking it at a point. Sources include skin oils from handling, outgassing from nearby adhesives or cable jacketing, oil mist from machining or pneumatic tooling, and solvent residue from an incomplete previous cleaning.

If blowing does not clear the haze, inspect the front element under angled light for a film sheen, then clean with solvent as described above. If haze persists after cleaning the front element, check each optical surface in the system in order: the enclosure window, any filter or protective glass, and the sensor cover glass, before pulling the lens for a second cleaning pass.

Flare from localized contamination

Point-source flare (bright streaks or halation around bright targets) is caused by contamination anywhere in the illuminated aperture of the front element or filter window scattering light from the bright source; the central region tends to matter most because ray bundle footprints from different field positions overlap most heavily there, with full overlap occurring only at the aperture stop. Clean the front element using the procedure above, then retest with the same flare-producing target.

If flare appears only at specific illumination angles, a contaminated enclosure window is a likely cause: the geometry of scattered light changes with the incidence angle of the dominant light source. Cleaning only the lens while a dirty window stays in the optical path will not resolve the issue.

Repeat contamination

If an optic contaminates rapidly after each cleaning, the source is usually environmental rather than the cleaning step itself. Investigate these areas:

  • Enclosure design. Is the lens exposed to airborne particulate or mist? Improve sealing or add a protective window.
  • Lens holder and mount. A loose or poorly fitting holder can force repeated re-seating and handling of the lens, and each handling event is an opportunity to introduce contamination.
  • Focus lock. A lens that shifts focus over time from vibration may indicate an inadequate lock, forcing more frequent handling to re-adjust.
  • Handling protocols. Cap lenses during downtime and assembly, and use protective covers consistently.
  • Outgassing sources. Identify any adhesive, foam, or cable material near the optical path that could be depositing a film, and prefer low-outgassing materials in optical assemblies.

Lens cleaning tools compared

The two tools that carry a lens cleaning kit are a manual bulb blower for the no-contact step and an optics-safe solvent with lint-free wipes for the contact step. Commonlands stocks both as the CLA901-CLK cleaning kit and the CLA902-AIR air blaster, and an honest generic substitute exists for every row below. The table ranks each tool, states what it does, and says when a generic part is a fair swap.

How we picked

We ranked by how much of the blower-brush-solvent procedure each purchase covers, then by how often it is needed. The all-in-one kit ranks first because one SKU supplies the solvent step; the blower ranks second because it handles every no-contact pass. Generic parts rank lower only because you assemble them yourself, not because they clean worse when they meet the same spec: an oil-free bulb, 99%+ IPA, or a format-matched single-use swab.

Rank Tool What it does When a generic substitute is fine Link
1 Camera Lens Cleaning Kit (CLA901-CLK) Lint-free cloth and optics-safe cleaning fluid for the solvent step on coated front elements, plus a miniature screwdriver and screws. If you already stock 99%+ IPA and fresh lint-free wipes, those cover the same solvent step. Camera lens cleaning kit
2 Camera Sensor Air Blaster (CLA902-AIR) Manual rubber bulb blower; lifts loose dust off lenses, sensor windows, and filters with room air and no propellant. Any oil-free rubber bulb blower does the same job. Skip canned air, which can spray propellant onto the optic. Sensor air blaster
3 Rocket-style hand blower (for example Giottos) Larger hand blower for the first, no-contact pass on the front element. Fine for casual or bench use when a smaller bulb is not on hand. Confirm the valve is oil-free before using it on optics. Any brand
4 Lab-grade solvent and lint-free wipes High-purity IPA (99%+) and optical-grade lint-free wipes for the solvent step when you buy consumables separately. Any laboratory supplier's 99%+ IPA and sealed lint-free wipes work. Avoid consumer 70% IPA and household glass cleaner. Any lab supplier
5 Sensor swab kit (for example VSGO or Photographic Solutions) Single-use swabs sized to the sensor format for cleaning cover glass, not the lens. Any single-use swab rated for your sensor format is fine. Do not substitute a lens wipe. Any brand

Two mounting accessories cut how often a lens gets handled in the first place, which is the cheapest way to avoid contamination: the M12 lens holder with 20mm spacing (CLA020-PC) holds board cameras in stable alignment, and the M12 focus lock nut ring secures focus after adjustment so vibration does not force a re-handle. Both ship same-day on orders placed before 12 PM PST.

For cover-glass work, follow the image sensor window procedure above rather than treating a sensor swab like a lens wipe. To keep contamination off the front element in the first place, Commonlands optical filters add a protective window you can clean or replace instead of the lens.

A lint-free swab dampened with solvent sweeps across a C-mount lens front element
Save solvent and a single wipe for the last resort when cleaning a lens.

Frequently asked questions

How do you clean a camera lens without scratching it?

Use a blower first to remove loose particles without contact. If particles remain, use a clean anti-static brush with single one-directional strokes. Only then, if oils or smears remain, apply optics-grade solvent to a lint-free wipe and clean from the center outward in a spiral with minimal pressure. Never drag a dry wipe across dust-covered glass.

In what order should you use the blower, brush, and solvent?

Always in that order. The blower removes loose dust without contact, the brush lifts stubborn adhered particles, and a solvent-dampened wipe removes oily films dry tools cannot lift. Skipping to solvent while dry particles remain turns those particles into abrasives that can scratch the coating.

Is isopropyl alcohol safe for coated optics?

High-purity isopropyl alcohol (99%+) or an optics-approved IPA blend is generally safe for modern multi-layer coated glass. Consumer-grade 70% IPA contains water and impurities that can leave residues or streaks. For hydrophobic or specialty AR coatings, verify solvent compatibility with the manufacturer's guidance before use.

Can you use acetone on plastic lens housings?

No. Acetone dissolves many common plastics including polycarbonate and ABS, attacks painted surfaces, and can weaken adhesive bonds in lens barrel assembly. Acetone is appropriate on glass optics, including most hard AR coatings, but only with metal mounts and only after confirming no plastic, paint, or adhesive is exposed.

How often should machine vision lenses be cleaned?

Clean on condition, not on a fixed calendar. In a sealed enclosure, the interval can be months or longer. In an open-air line with particulate or oil mist, inspect weekly and clean only when contamination is confirmed. The trigger should be a visible image quality change, a failed inspection metric, or observed contamination, not a schedule.

What is the safest way to clean an image sensor window?

Start with a bulb blower held 30 to 50mm from the sensor window using several short bursts. If residue remains, use a single-use sensor swab with approved solvent applied to the swab tip, not the glass. Draw the swab flat across in one direction with even, light pressure, then discard it. Never reuse a sensor swab or substitute a lens wipe.

Should you clean optics if they are not visibly dirty?

No. If image quality is passing and no contamination is visible under angled inspection light, leave the optic alone. Cleaning something that does not need it adds handling risk without a performance benefit. Unnecessary contact can do more harm than the dust it was meant to remove.

What causes haze or flare after a lens gets dirty?

Haze and veiling flare come from thin-film contamination, typically oils, outgassing residue, or solvent streaks, on the front element, a filter window, or the sensor cover glass. Thin films scatter light broadly across the frame, producing uniform contrast loss, while discrete particles near the image plane (sensor cover glass) cast localized shadows, and particles on the front element cause diffuse scatter with little localized effect.

Do sealed or IP-rated lenses still need cleaning?

Less often, but not never. An IP67 or IP69K-rated lens keeps particulate and moisture off the internal optical path, so contamination is limited to the exposed front element. That front surface still collects dust, condensation, and process residue in the field and needs the same inspection-driven cleaning as any other lens.

Does a hydrophobic coating reduce how often a lens needs cleaning?

Often, yes. A hydrophobic coating causes water to bead and roll off the front element rather than sheeting into a film, which reduces water-spot and smear formation in outdoor or wash-down environments. Oleophobic (fluorinated) variants shed light oils the same way. The coating does not eliminate dry dust accumulation, so blower and brush steps are still needed on the same inspection-driven schedule.

Can canned air be used to clean a camera lens?

It is not recommended. Canned air uses a compressed propellant that can deposit residue on the optic or discharge liquid propellant if the can is tilted during use. A manual bulb blower uses room air with no propellant risk and is the safer default for lenses, sensor windows, and filters.

Get help with a contamination or image quality issue

Commonlands manufactures M12, C-mount, and M8 lenses for machine vision and embedded camera systems with published distortion specifications and MTF measurement reports available on request. Send our San Diego engineering team a description of the contamination or image quality symptom, and cleaning kits, blowers, holders, and lock rings ship same-day on orders placed before 12 PM PST.