How to Pass Microbial Testing for Cannabis

Passing microbial testing comes down to preventing contamination before harvest, controlling moisture during drying and curing, and understanding what the lab is actually screening for. Most test failures trace back to mold and yeast counts that exceeded limits, or the detection of specific pathogens like Aspergillus and Salmonella that trigger automatic fails regardless of quantity. The good news: with the right environmental controls and handling practices, consistent passing results are achievable without relying on post-harvest remediation.

What Labs Are Testing For

Microbial testing in regulated cannabis markets screens for two categories: total counts and specific pathogens. Total yeast and mold (TYM) is measured in colony-forming units per gram, with typical pass thresholds set below 100,000 CFU/g for dried flower. Enterobacteriaceae, a family of bacteria that includes several gut pathogens, must stay below 1,000 CFU/g in flower.

The second category is binary: detected or not detected. Salmonella, Shiga toxin-producing E. coli, and four species of Aspergillus mold must be completely absent from the tested sample. For dried flower, the lab typically screens a 10-gram portion, meaning even a small pocket of contamination can sink an entire batch. These pathogens pose serious risks to immunocompromised consumers, which is why there’s zero tolerance.

One complication worth knowing: standard culture-based yeast and mold tests don’t always catch Aspergillus efficiently. A metagenomic study of medicinal cannabis found Aspergillus present in the majority of samples at the genetic level, yet culture plates sometimes failed to grow the colonies. This means a batch could pass a TYM screen while still harboring dangerous Aspergillus spores, which is why many states now require separate, targeted pathogen testing.

Control Water Activity During Drying

Water activity is the single most important variable for microbial safety in dried flower. Fresh cannabis starts at a water activity of roughly 0.95, which is ideal for microbial growth. Most fungi stop growing below 0.65, and Botrytis (the most common post-harvest mold) has a threshold of 0.85. Your goal is to get all plant material below 0.65 within the first two days of drying.

Hot air drying can reduce moisture from around 77% down to a safe storage level of 6% within eight hours and has been shown to achieve up to a 100-fold reduction in total yeast and mold counts. Slower hang-drying works too, but the longer flower sits above that 0.65 water activity threshold, the more opportunity microbes have to multiply. If you’re in a humid climate or lack precise environmental control, faster initial drying is the safer bet.

Invest in a water activity meter rather than relying solely on moisture content. Moisture percentage tells you how much water is in the material, but water activity tells you how available that water is to microbes. Two samples at the same moisture percentage can have different water activity levels depending on how the water is bound within the plant tissue.

Curing Without Undoing Your Progress

Curing reintroduces moisture risk. When dried flower is sealed in containers, moisture migrates from the stems into the buds, and the relative humidity inside the container climbs. Research on hemp flower found that samples dried to 5.8% moisture rose to 12.1% in Mylar bags and 15.8% in glass jars over a three-week cure. That’s a significant swing, and if conditions aren’t monitored, mold can establish itself during this period.

Burping containers daily for the first week helps, but the more reliable approach is using humidity control packs rated at 58% to 62% relative humidity. Keep the curing environment itself between 15% and 45% RH at around 25°C. At those conditions, equilibrium moisture content for cannabis flower ranges from about 7% to 12%, which keeps water activity in a safe zone. Glass jars in a controlled environment offered the best combination of cannabinoid preservation and microbial safety in comparative studies.

Pre-Harvest Prevention in the Grow Room

Most microbial contamination originates during cultivation, not after harvest. Dense canopies with poor airflow, high humidity late in flower, and contaminated water sources are the primary culprits. Keeping relative humidity below 50% during the final two weeks of flowering significantly reduces mold pressure on mature buds.

Hydrogen peroxide foliar applications can reduce microbial loads on living plants. Concentrations between 0.5% and 3% applied with a hand pump sprayer every two to three days are effective against visible fungal infections. The key detail: apply at least 24 hours before harvest, direct the spray from the center of the plant outward toward the sugar leaves, and avoid soaking the calyxes directly. Some growers apply preventively throughout the entire grow cycle rather than waiting for visible infection.

HEPA filtration on intake air, sanitized tools, and clean clothing protocols for anyone entering the flower room all reduce the baseline microbial load. Aspergillus spores are everywhere in outdoor air, and they’re small enough to pass through standard HVAC filters. A single contaminated fan or dirty duct can seed an entire room.

Post-Harvest Remediation Options

If your flower fails testing, remediation technologies can reduce microbial counts enough to pass a retest. But each method involves trade-offs.

Electron beam irradiation is the most effective option for microbial reduction. It can take flower from over 4 million CFU/g down to under 100 CFU/g. Cannabinoid levels remain completely unaffected. The downside is terpene loss: expect about an 8.4% reduction overall, with lighter monoterpenes (the ones responsible for citrus and pine aromas) dropping 10% to 11%, while heavier sesquiterpenes lose only 2% to 3%. That’s a noticeable but not dramatic change in aroma profile.

X-ray irradiation at a dose of 2.5 kGy effectively renders all four pathogenic Aspergillus species non-viable, even at high contamination levels of 10,000 spores per gram. Importantly, X-ray treatment showed minimal effects on both cannabinoid and terpene concentrations, making it potentially the best option for preserving flower quality.

Ozone treatment is more accessible for smaller operations since commercial ozone generators are widely available. At concentrations of 200 to 400 ppm, ozone reduced total yeast and mold by 92% in 60 minutes in one study, dropping counts from 82,000 to 7,000 CFU/g. Longer treatments of 12 to 18 hours at 250 ppm achieved roughly 99% reduction. The limitation is that ozone is an oxidizer, and extended exposure can degrade terpenes and affect the visual quality of flower.

Older sterilization methods like autoclaving, hydrogen peroxide plasma, and ethylene oxide gas are effective at killing all mold and bacteria but destroy cannabinoid content. One study found THC reductions of 12.6% to 26.6% depending on the method. These are generally not viable for commercial flower.

Handling and Storage Between Harvest and Testing

The window between final trim and lab submission is a common failure point. Flower stored in unsealed containers, exposed to fluctuating temperatures, or stacked in ways that trap moisture can develop new contamination even if it was clean at harvest.

Store trimmed flower in sealed, food-grade containers at stable temperatures between 60°F and 70°F. Avoid refrigeration unless the flower is already at safe water activity levels, since pulling cold containers into warm rooms creates condensation. Label and segregate batches so that if one fails, you can trace it back to a specific room, harvest date, or drying rack.

Keep in mind that lab results reflect the specific sample pulled, not the entire batch uniformly. A 10-gram sample from the top of a bin may test differently than one from the center where moisture accumulated. Homogenize your batches by mixing thoroughly before packaging, and don’t pack flower so tightly that airflow between buds is eliminated.

Common Reasons Batches Fail

  • Late-flower humidity spikes: A single night above 70% RH in the final weeks can establish Botrytis or Aspergillus colonies deep inside dense buds where they’re invisible from outside.
  • Slow or uneven drying: Thick colas dry on the outside while the interior stays wet, creating a microclimate where mold thrives. Breaking large colas into smaller pieces speeds interior drying.
  • Contaminated drying rooms: Drying in spaces that haven’t been sanitized, or that share air with active grow rooms, introduces fresh spores onto vulnerable flower at exactly the wrong time.
  • Rehydration during curing: Over-curing or curing in uncontrolled environments pushes water activity back above safe thresholds. Monitor humidity inside containers, not just in the room.
  • Human handling: Bare hands transfer bacteria. Skin naturally carries Staphylococcus and Enterobacteriaceae. Gloves, changed frequently, are a simple fix that prevents a common source of bacterial contamination.