Specialty · Mushrooms · Going deeper

Sterilize or pasteurize.

What this is
The reasons behind the heat treatment numbers
Answers
Which treatment, how hot, how long, and why
Updated
2026-11-24

Pasteurizing and sterilizing both use heat to clear other molds and bacteria out of a substrate before the spawn goes in; they differ in how far they go. Pasteurizing stays below boiling and removes most competitors while leaving some helpful microbes alive, which suits low-nutrient straw: UF/IFAS Extension holds straw for oyster mushrooms at 165°F (74°C) for 1 to 2 hours. Sterilizing aims to kill everything, and is needed for rich mixes such as sawdust with bran and grain, which other organisms colonize easily: Penn State sterilizes shiitake sawdust bags for 2 hours at 121°C (250°F) under pressure. As Agromisa explains, what counts is the time the centre of the substrate spends at temperature, not the time on the stove.

What each one does

Agromisa states the aim of any heat treatment in two parts: to kill competing microorganisms and to get rid of soluble nutrients. The two treatments reach that aim in different ways.

Pasteurizing is selective. ATTRA's 2026 guide defines it as a heat or high-pH treatment that reduces fungal competitors but leaves some helpful microbes. Agromisa says the same of steam pasteurizing straw at 60 to 70°C: it kills the unwanted organisms but keeps the favourable ones alive. A review of oyster mushroom growing by Bellettini and colleagues (2019) explains how: steam at 75 to 100°C for 4 to 10 hours removes only a fraction of the microorganisms, killing those in their active form and leaving the rest as spores, and cooling quickly keeps those spores from germinating. Penn State Extension describes pasteurizing button mushroom compost the same way, as a selective killing of pests that would compete with or attack the mushroom while losing as few of the good microbes as possible.

Sterilizing aims to kill everything. Agromisa notes that a single grain kernel may carry thousands of bacteria, fungi and actinomycetes, any of which can spoil a substrate that was not properly sterilized, and that 15 minutes at 121°C is usually enough to kill all of them. Nothing in a sterilized bag is left to compete, which is why ATTRA says sterilized substrates demand cleaner technique afterward: whatever gets in later has the food to itself.

Which substrate needs which

The deciding factor is how rich the substrate is. Cornell Small Farms puts it in terms of nitrogen: low-nitrogen, high-carbon materials such as logs, wood chips and straw can be inoculated in the open air with clean hands, while agar, grain and supplemented sawdust are easier for airborne microorganisms to grow on and need lab-like conditions. ATTRA draws the same line for heat: pasteurize low-nutrient materials like straw, and fully sterilize supplemented sawdust and grains.

  • Straw for oyster mushrooms: pasteurized. ATTRA notes that oyster mushrooms tolerate pasteurization rather than full sterilization, which keeps the equipment simple for a beginner. UF/IFAS (hot water), Agromisa (hot water or steam), Penn State (aerated steam, for its hulls-and-straw mix) and ICAR-DMR (lime and steam) all pasteurize.
  • Sawdust with bran, for shiitake, lion's mane, king oyster and others: sterilized. Penn State gives 2 hours at 121°C for shiitake bags; ICAR-DMR gives 22 psi for 90 minutes for shiitake and 1.5 hours at 22 psi for king oyster.
  • Grain, for spawn: sterilized. UF/IFAS suggests about 30 minutes at 15 psi in a pressure cooker for jars of soaked grain, and notes that boiling grain for at least 60 minutes, the alternative, may not reduce the microbes enough.
  • Logs, stumps and fresh wood chips: no treatment. Cornell lists them as used fresh, with no equipment, at the price of a long incubation.

The substrate page gives the recipes, and the substrate recipe tool carries each recipe's own heat treatment.

The methods, side by side

Heat and other treatments, as each source gives them
MethodTemperature and timeUsed forSource
Hot water bath165°F (74°C) for 1 to 2 hours; or 70°C (158°F) for at least 15 minutes, 30 to 60 minutes saferStrawUF/IFAS; Agromisa, p. 42
Steam pasteurizing in a drum60 to 70°C (140 to 158°F) held for at least 8 hoursMoistened strawAgromisa, p. 43
Aerated steam65°C (149°F) for 1 hour, then filtered air to cool for about 1½ hoursCottonseed hulls and strawPenn State
Lime, then heat1% lime, piled, turned on day 3, left 2 more days, then 60°C (140°F) for 4 hoursStraw for oyster speciesICAR-DMR, p. 19
Lime soakNo heat; Cornell gives no strength or timeStraw, wood pelletsCornell
Cold fermentNo heat; soaking time varies with the seasonStrawCornell
Hot air75°C (167°F) air was enough in one studyOyster substrates, such as maize strawGrimm and colleagues, 2024
Pressure sterilizing121°C (250°F) for 2 hours; 22 psi for 90 minutes; at least 2 hours at 121°C for 4-litre spawn bags of 2 kg; about 30 minutes at 15 psi for grain jarsSawdust with bran; grainPenn State; ICAR-DMR, p. 29; Agromisa, p. 21; UF/IFAS
Long steaming without pressureAn oil drum steamed 4 to 6 hours, about 75 bags at a time; or prolonged heating at 96 to 98°C (205 to 208°F)Bags of sawdustAgromisa, pp. 45 and 46
Steam, then pressure4 hours at 95°C, then 1 hour at 120°CBottles of sawdust and rice bran, for enokiPenn State

Agromisa gives two figures for a steaming oil drum: four to six hours on its oil drum page (p. 46), and at least 6 hours to heat the centre of spawn bags properly (p. 21). The longer figure is the safer one for dense bags.

The steam figures differ by method and scale: Penn State forces a mix of air and steam through substrate in perforated boxes at its research centre, while Agromisa steams moistened straw in a drum over a burner; neither source compares the two. For a home batch of straw, a bath held at UF/IFAS's 165°F for 1 to 2 hours also meets Agromisa's safer hot-water figure (our reading of the two).

Cornell sets out the trade of each method. Hot pasteurization is reliable on straw but needs fuel to heat the water and gives lower yields than sterilizing. A lime soak needs no heat, but leaves high-pH water to dispose of, and the right lime can be hard to find. A cold ferment needs no energy, but it smells, and its success varies. Atmospheric steam suits sawdust, pellets and grain at low cost, but needs a lab for inoculation and lets in more contamination than pressurized steam. Pressurized steam is the most thorough, and the most costly in equipment and infrastructure.

Agromisa's own comparison adds a point in favour of hot water: immersion carries little chance of contamination, because it washes out the easily dissolved carbohydrates that competitors feed on, while steam pasteurizing leaves more chance of contamination than either immersion or sterilizing.

Reaching the centre of the bag

A treatment is only as good as the heat that reaches the middle of the substrate. Agromisa is direct about it: 15 minutes at 121°C kills all organisms, but it takes quite some time for steam to heat the inner core, depending on how the unit is loaded and how strong the burner is. That is why its own figures for sterilizing bags run to hours: at least 2 hours at 121°C for 4-litre spawn bags of 2 kg, and at least 6 hours of steaming in an oil drum.

The sources name what stops heat getting in:

  • Water held in the material. The UN ESCAP training manual (Chang) notes that water held in a substrate by capillary forces, or in swollen material, does not produce steam pressure as readily as free standing water does. It also warns against substrate so wet that water stands at the bottom, which mycelium will not grow into.
  • A sealed container. The same manual: if a container is tightly sealed, air cannot escape and steam cannot enter properly, so the sterilizing is imperfect.
  • Bags packed too close. Agromisa leaves ample space between crates and bags for the steam to circulate.
  • A pressure cooker that will not hold pressure. Agromisa advises choosing one that holds its pressure at the final temperature; simple ones blow off steam, the pressure drops below one atmosphere above outside pressure, and the contents boil.
  • Altitude. Water boils below 100°C at altitude, so Agromisa heats for longer there.

Our advice, not a source's: put a probe thermometer into the centre of the densest bag or the middle of the batch, and count the time from when that reading reaches the target, not from when the pot boils. On a pressure cooker, the gauge reads the steam, not the middle of the bag.

What each costs and gives

Yield. Sterilizing generally gives more mushrooms, though the size of the gap depends on the study:

  • Cornell lists lower yields than sterilization as a drawback of both hot pasteurization and lime.
  • A study by Grimm, Sonntag and Rahmann (2024), comparing hot water, hot air, pressurized steam and hydrated lime on oyster mushroom substrates, found that autoclaving raised dry yields by up to 50% over the pasteurizing methods. In fresh weight, hot water pasteurizing did as well as autoclaving, and the mushrooms from substrate soaked in water held more water. We read the study's published summary, not the full paper.
  • The Bellettini review cites work (Mejía and Albertó, 2013) finding that hot water immersion reduced oyster yields by at least 20% against steam, chemical or untreated wheat straw, because soluble compounds wash out. It adds that the washing can help with fresh straw, by removing the sugars competitors use, and hurt with old straw.

The two sides of that washing are the same effect: Agromisa counts it as protection against contamination, the Bellettini review as lost food. Which matters more depends on the straw and on how clean the rest of the process is.

Energy and water. In the Grimm study, hot air pasteurizing used about 75% less energy than autoclaving and about 85% less water than hot water pasteurizing; at 75°C it needed as little as 1,068 kJ per kilogram of dry substrate. Hydrated lime used as little as 270 kJ per kilogram but, like hot water, used a great deal of water and could leach nutrients. The Bellettini review also notes how much water hot water immersion uses. These are figures from one study at its own scale.

Equipment. Cornell lists what each method needs: a bucket and water for a cold ferment; a heat source and a metal container for hot pasteurizing; lime, water and a barrel for liming; a steam source and a metal vessel for atmospheric steam; a pressure canner or an autoclave for pressurized steam. The Bellettini review notes that most published research uses sterilized substrate, and cites the view (Felinto, 1999) that the investment in equipment makes it unfeasible at commercial scale, while adding that in developed countries it gives the best results.

After the heat

A treated substrate is clean only until something reaches it, so the steps after heating matter as much as the heating.

  • Cool it before the spawn. Agromisa spawns pasteurized substrate once it has cooled to 30°C (86°F), and sterilized bags once they are below it. Penn State lets sterilized maitake bags cool for 16 to 20 hours, and ICAR-DMR cools king oyster bags to 20°C (68°F). Agromisa lets sterilized bags cool in a room without ventilation, or with filtered air.
  • Do not wait long after that. UF/IFAS spawns straw as soon as it has drained and cooled, to reduce the chance of other fungi colonizing it.
  • Open sterilized bags cleanly. Spawning is the moment contamination is most likely (Agromisa). The spawn and inoculation page covers how clean to work for each substrate.

When a treated bag still goes green, the cause can be in the heating or after it; the green mold page works through how to tell. A bag that stays slow to colonize after a good treatment is covered on stalled colonization.

Sources

Frequently asked questions.

What is the difference between pasteurizing and sterilizing mushroom substrate?

Pasteurizing heats the substrate below boiling to remove most competing molds and bacteria while leaving some helpful microbes alive; ATTRA defines it as a treatment that reduces fungal competitors but leaves some helpful microbes. Sterilizing heats it to about 121 C under pressure, or steams it for hours, to kill everything. Straw is usually pasteurized; sawdust with bran and grain are sterilized.

Do I need to sterilize straw for oyster mushrooms?

No. ATTRA notes that oyster mushrooms tolerate pasteurization rather than full sterilization, which keeps the equipment simple. UF/IFAS Extension pasteurizes straw in a water bath at 165 F for 1 to 2 hours. Agromisa gives at least 15 minutes at 70 C, with 30 to 60 minutes safer. In one study, sterilized substrate did give up to 50% more dry yield (Grimm and colleagues, 2024).

How long do I pressure cook mushroom substrate?

It depends on what is in the cooker and how big the bags are. UF/IFAS Extension suggests about 30 minutes at 15 psi for jars of grain. For sawdust with bran, Penn State gives 2 hours at 121 C and ICAR-DMR 90 minutes at 22 psi. Agromisa gives at least 2 hours at 121 C for 4-litre spawn bags of 2 kg, because the centre of a bag heats slowly.

Can I sterilize mushroom bags without a pressure cooker?

Agromisa describes how: steam the bags in an oil drum on a rack over water, with small openings to let steam escape, for at least 6 hours to heat the centre of the bags, or heat them for a long time at 96 to 98 C. It reports that simple equipment reaches no more than about 90 C but that prolonged heating has given good results. Penn State describes enoki bottles given 4 hours at 95 C before 1 hour at 120 C.

What temperature do you pasteurize straw at?

UF/IFAS Extension holds straw at 165 F (74 C) in a water bath for 1 to 2 hours. Agromisa keeps the water at 70 C (158 F) for at least 15 minutes, saying 30 to 60 minutes is safer, or steams moistened straw at 60 to 70 C for at least 8 hours. Penn State pasteurizes its hulls-and-straw mix with aerated steam at 65 C (149 F) for 1 hour.

Is lime pasteurization as good as heat?

It works, with trade-offs. Cornell Small Farms lists a lime soak as needing no heat and moderately reliable, but with lower yields than sterilization and high-pH water to dispose of. In one study it used the least energy of the methods tried, 270 kJ per kilogram of dry substrate, but a great deal of water (Grimm and colleagues, 2024). ICAR-DMR combines 1% lime with 4 hours at 60 C for oyster straw.

Why did my sterilized or pasteurized substrate still get contaminated?

Either the heat did not reach the centre, or something got in afterward. Agromisa says the steam takes time to heat the core of a bag, and that hot water for less than 15 minutes or below 70 C does not kill all contaminants. The UN ESCAP manual warns that steam cannot get properly into a tightly sealed container. Agromisa calls spawning the moment contamination is most likely.

Does sterilizing give a bigger mushroom harvest?

Usually some. Cornell Small Farms lists lower yields than sterilization as a drawback of hot pasteurization and lime. In one study, autoclaving raised dry yield by up to 50% over pasteurizing, though hot water did as well in fresh weight (Grimm and colleagues, 2024). A review by Bellettini and colleagues cites work in which hot water immersion cut oyster yield by at least 20%.