Button Mushroom Booklet Chapter 3 of 10

Phase II Composting: Pasteurisation and Conditioning

Eight or nine days in the tunnel that kill pests and competitors, clear the ammonia and turn rough Phase I compost into a food only the mushroom wants.

Dr. Sonia Dahiya Updated 21 October 2026 10 min read Written at our farm in Sonipat
Chapter 3 · Phase II: pasteurisation
  1. Contents & overview
  2. 1Farm layout & infrastructure
  3. 2Phase I composting
  4. 3Phase II: pasteurisation
  5. 4Spawning & spawn run
  6. 5Casing & ruffling
  7. 6Cool down, pinning & crop care
  8. 7Harvest, grading & packing
  9. 8Diseases & pests
  10. 9Marketing & value addition
  11. 10Cost & profit per crop
  12. AAnnexure: 3-room project

Phase II is the second stage of compost preparation in button mushroom farming, and it is done indoors, in a tunnel. Its job is to pasteurise the compost and remove the harmful ammonia left over from Phase I, so that the compost becomes suitable for mushroom growth. If Phase I is where the food is cooked, Phase II is where it is made safe to eat and served on a clean plate.

The compost that comes out of the Phase I yard is rich and partly decomposed, but it is also full of life you do not want: fly larvae, mites, nematodes, the spores of competing moulds, and enough ammonia to kill spawn outright. Phase II deals with all of these in about eight or nine days, using nothing but carefully controlled heat and air.

Duration8–9 daysfilling to spawning
Pasteurisation57–60°Cfor about 6–8 hours
Conditioning45–50°Cfor 4–6 days
Ammonia at the end≈ 0 ppmno smell at all

Why it mattersThe objectives of Phase II

  • Kill harmful organisms: insects and their eggs and larvae, mites, nematodes, and unwanted fungi and bacteria.
  • Remove excess ammonia (NH₃) formed during Phase I. Even small traces damage spawn.
  • Make the compost selective, so that it favours mushroom mycelium and gives competitors as little chance as possible.
  • Prepare the compost for spawning, at the right moisture, structure and temperature.

The word "selective" is worth understanding, because it explains why Phase II cannot be skipped or shortened. During conditioning, heat-loving beneficial microbes multiply through the compost and turn the leftover ammonia into their own bodies. Those microbes, and the changes they make, become food that the button mushroom digests easily and that most moulds cannot use. Good Phase II compost is therefore not just clean; it is actively hostile to the competitors and friendly to the crop.

The equipmentHow a Phase II tunnel works

A tunnel is a long, insulated concrete chamber with a raised floor of perforated concrete or grating. Beneath the floor is an air channel, the plenum. A powerful fan draws air from the tunnel, mixes it with a controlled amount of fresh outside air through a damper, and pushes it back up through the floor and the compost. By changing how much fresh air goes in, the operator can raise or lower the compost temperature and supply oxygen without opening the door.

Temperature probes are pushed into the compost at several points and others measure the air. Throughout Phase II, it is the compost temperature that you are managing. The heat comes mostly from the compost itself, from its own microbes, and the fan and damper keep it within the range each stage needs.

Diagram of compost filled in a Phase II tunnel on a perforated concrete floor with an aeration system underneath and arrows showing airflow up through the compost
Compost filled in a tunnel. Air from the aeration system rises evenly through the perforated floor and the whole mass of compost.

The methodPhase II, step by step

  1. Tunnel filling

    The compost prepared in Phase I is filled into the tunnel or compost room. It must have proper moisture and structure, and it must be filled evenly, at the same depth and density from one end to the other. Air takes the easiest path. If one end is packed tighter than the other, air rushes through the loose end and the dense end stays cool and short of oxygen, and that part will not pasteurise.

  2. Equalising

    Once the door is closed, the fan runs mostly on recirculated air so that the whole mass settles to an even temperature. This gives every part of the compost the same starting point for pasteurisation.

  3. Pasteurisation

    The compost temperature is raised to 57–60°C and held for about six to eight hours. This kills harmful microorganisms, insects and competitors. Hold it in that range rather than above it. Going much hotter starts to kill the beneficial microbes too, and the compost loses the selectivity you are trying to build.

  4. Conditioning

    After pasteurisation, the temperature is brought down gradually to 45–50°C and held there for four to six days, with good aeration. This is the stage that removes the ammonia. Beneficial microorganisms grow and stabilise the compost, converting the ammonia into microbial protein. Fresh air must keep coming in, because these microbes need oxygen to do the work.

  5. Ammonia testing

    Test the compost before you end conditioning. No strong ammonia smell means the compost is close to ready for spawning; the target is an ammonia level near 0 ppm. If there is still a trace, keep conditioning. It is far better to add a day in the tunnel than to spawn into ammonia.

  6. Cooling for spawning

    Finally, bring the compost down with fresh air to the temperature at which it will be spawned, around 22–25°C. Spawn put into hot compost dies.

The temperature plan at a glance

StageCompost temperatureHow longPurpose
EqualisingSettles to an even levelHours to about a daySame starting point everywhere
Pasteurisation57–60°CAbout 6–8 hoursKill pests, pathogens and competitors
Conditioning45–50°C4–6 daysRemove ammonia, build selectivity
CoolingDown to 22–25°CAbout a dayReady for spawn
The most expensive shortcut in mushroom farming

Ending conditioning early because the compost "mostly" smells fine. Ammonia that you can barely smell is still enough to slow or kill spawn, and a weak spawn run opens the door to green mould and other competitors. If in doubt, give it another day.

The key testHow to check for ammonia

The simplest test is your nose. Take a handful of compost from deep inside the tunnel, not from the surface, hold it close and breathe in. Good compost smells pleasant, sweet and earthy, like a forest floor. Any sharp, eye-watering smell is ammonia, and the compost is not ready.

Larger compost units confirm what the nose says with ammonia test strips or a gas detector, aiming for readings near 0 ppm before the compost is released. Whichever method you use, sample from several points along the tunnel, because one end can clear before the other.

FinishedSigns of good Phase II compost

  • Dark brown colour, even throughout.
  • A pleasant, earthy smell with no ammonia at all.
  • A soft but fibrous texture. The straw bends easily but still has length and holds together.
  • Proper moisture, about 65–70%. When squeezed hard it feels moist but releases little or no free water.
  • Free from pests and contaminants. No mites, larvae, or green, olive or black mould.

You will often also see fine white or grey flecks spread through the compost. These are colonies of the beneficial heat-loving microbes that did the conditioning, and they are a good sign.

TroubleshootingPhase II problems and what to do

What you seeLikely causeWhat to do
Ammonia still present after conditioningToo much nitrogen in Phase I, too little fresh air, or conditioning too shortExtend conditioning with more fresh air; reduce nitrogen in the next batch
Compost will not reach pasteurisation temperatureCompost too dry, too cold, or short of nitrogen and activityCheck moisture and the Phase I formula; make sure the tunnel is sealed
Temperature climbs too highVery active compost, too little fresh airOpen the fresh-air damper to bring it back to range
One end hot, the other coolUneven filling depth or densityFill evenly; check that the floor openings are clear
Black, greasy, sour compostOver-wet or over-composted in Phase ILittle can be done in the tunnel; correct water and timing in Phase I
Green or olive mould after spawningIncomplete pasteurisation, or ammonia left in the compostTighten temperature control and ammonia testing; improve hygiene at filling

If you buy compostHow to judge ready compost before you pay

Most new growers buy Phase II compost rather than making it, and that is a sensible way to start. But you are now trusting someone else's Phase II with your whole crop, so learn to check it yourself on the day it arrives.

  1. Smell it.

    Take handfuls from inside several bags or from deep in the load. Any ammonia at all is a reason to refuse it or to ask the supplier to condition it longer.

  2. Look at it.

    Dark brown, fibrous, even. Not pale and hard, not black and greasy, and with no patches of coloured mould.

  3. Squeeze it.

    Moist, but not dripping. Very wet compost goes anaerobic in the bag; very dry compost gives a slow, patchy spawn run.

  4. Check its temperature.

    It should arrive cool enough to spawn. Compost that is still hot inside needs to cool before it meets spawn.

  5. Check how it travelled.

    A covered, clean vehicle, delivered and spawned as soon as possible. Clean compost can pick up contamination on a dirty truck.

Keep a note of each supplier's batches and how the crops on them yielded. Over two or three crops this tells you more about a compost supplier than any sales talk.

After the tunnelKeep clean compost clean

The moment pasteurised compost leaves the tunnel, it is at its most valuable and at its most vulnerable. It has been cleared of competitors, which means it is also open ground for any spore or fly that reaches it first. Empty the tunnel with clean equipment, never with the loader that has just been working in the Phase I yard. Move the compost to the growing rooms directly, spawn it promptly, and keep doors shut and fly screens in place. A tunnel run perfectly can still be undone by a dirty crate.

Working around a tunnel

Never enter a closed tunnel while the fan is running or the compost is hot. The air inside can be low in oxygen and high in ammonia and carbon dioxide. Ventilate fully first, and make sure someone outside knows you are going in.

FAQQuestions about Phase II composting

What is Phase II composting in button mushroom farming?

Phase II is the indoor stage of compost preparation, done in an insulated tunnel. The compost is pasteurised to kill pests, pathogens and competing moulds, then conditioned so that beneficial microbes remove the ammonia left from Phase I. It takes about eight to nine days.

At what temperature is mushroom compost pasteurised?

Compost is pasteurised at 57 to 60 degrees Celsius for about six to eight hours. Going much hotter starts to kill the beneficial microbes that make the compost selective for the mushroom, so hold it within that range.

How long is the conditioning stage?

After pasteurisation, the compost is held at 45 to 50 degrees Celsius for four to six days with good aeration. Conditioning continues until there is no ammonia smell and the ammonia level is close to 0 ppm.

How do I know compost is ready for spawning?

Good Phase II compost is dark brown, smells pleasant and earthy with no ammonia, feels soft but fibrous, has a moisture content of about 65 to 70 percent, and is free from pests and coloured moulds. It must also be cooled to about 22 to 25 degrees Celsius before spawn is added.

Why is ammonia harmful to mushroom spawn?

Ammonia is toxic to mushroom mycelium. Even a faint trace slows or kills the spawn, and a weak spawn run gives green mould and other competitors the chance to take over the compost.

Can I skip Phase II and spawn Phase I compost directly?

No. Phase I compost still contains ammonia, insects, nematodes and competing moulds. Without pasteurisation and conditioning, the spawn either dies or is overrun, and the crop fails.

Dr. Sonia Dahiya

Written by Dr. Sonia Dahiya

PhD in biotechnology and founder of Dr. Dahiya Mushroom Farm (Shroomy Delights Agro Tech) in Barwasni, Sonipat, known as the “Mushroom Lady of Haryana”. This booklet comes from her years of growing, training and helping farmers set up button mushroom units. About Dr. Sonia →