Substrates
Growing oyster mushrooms on coffee grounds
By Shroom Labs. Published .
Use spent coffee grounds as part of the mix, not the whole thing. In a wheat straw trial, one part coffee to two parts straw by volume gave the best yield, at 105% biological efficiency. Two parts coffee to one part straw cut the yield in half, and coffee alone never fully colonized. In sawdust, fruiting stopped above about 30% coffee by weight in one study and at 50% in another, while a farm trial got good crops at up to 50% with baking soda added. Use grounds the day they are brewed, pasteurize the straw, and keep the coffee share at about a quarter to a third.
Can you grow oyster mushrooms on coffee grounds?
Yes, but not on coffee grounds alone. Oyster mushrooms are one of the easiest mushrooms to grow because they eat almost any plant waste, and University of Florida extension lists coffee grounds next to straw, corn cobs and paper as workable substrates. The catch is that spent grounds are a poor substrate by themselves. They are acidic, low in carbon compared to their nitrogen, and still carry caffeine. Mixed into straw or sawdust, they work well and can even raise the yield.
What the trials found
Four trials give a clear picture. The coffee share that works depends on what you mix it with and how you prepare it.
| Trial | Base substrate | Coffee share | Result |
|---|---|---|---|
| Alsanad et al. 2021 | Wheat straw, pasteurized | 33% by volume | Best yield, 105% biological efficiency, about 815 g per bag |
| Alsanad et al. 2021 | Wheat straw, pasteurized | 67% by volume | Yield and efficiency cut about in half, pins 6 days late |
| Alsanad et al. 2021 | None | 100% | Never fully colonized |
| Chai et al. 2021 | Sawdust | Over 30% by weight | Fruiting inhibited |
| Carrasco 2018, commercial scale | Sawdust | 25% | Fruited |
| Carrasco 2018, commercial scale | Sawdust | 50% | Almost fully colonized, no mushrooms |
| SARE farm trial | Oak sawdust, sterilized, baking soda | 25 to 50% | Reliable crops, 50% best with a second and often a third flush |
Biological efficiency is the weight of fresh mushrooms divided by the dry weight of the substrate. At 105%, a kilogram of dry straw and coffee mix gave a little over a kilogram of fresh mushrooms.
The straw trial is the most useful one for a home grower. Wheat straw alone was the control. The one third coffee mix colonized only about a day slower than straw and pinned about 2.7 days later, then out yielded it. The two thirds coffee mix pinned 6 days late and gave about half the crop. Pure coffee, at pH 4.9 and a carbon to nitrogen ratio of 19 to 1, never finished colonizing.
The farm trial is the outlier at 50%, and it did a few things differently. It sterilized the mix instead of pasteurizing it, used oak sawdust, and added baking soda: 30 g for every 15 liter bucket of grounds and every 15 liter bucket of sawdust. Its bags averaged about 1 pound of fresh mushrooms per 6 pound bag of wet mix.
Why pure coffee grounds do not work
Caffeine and the nitrogen balance. In a University of Sydney study, caffeine held back oyster mycelium, and the more coffee in a coffee and sawdust mix, the slower the growth and the later or less likely the fruiting. The fungus broke down part of the caffeine as it grew. Pure grounds are also too rich in nitrogen. Straw sits around 69 to 1 carbon to nitrogen, and the one third coffee mix brought that down to 43 to 1, which the mycelium liked. Pure coffee at 19 to 1 was too far.
The grounds also add something useful. They bring the extra nitrogen that straw lacks, which is why a modest share beat straw alone.
How fresh do coffee grounds need to be?
Use them the same day they are brewed. Brewing at about 90 °C (194 °F) kills most of what is in the beans, so fresh grounds start out close to clean. A 2024 study of café grounds found bacteria below the detection limit and no fungi in grounds collected the same evening. Grounds picked up the next morning from a recycling facility carried over a million bacteria per gram. Two weeks of storage raised bacteria more than a hundredfold, and grounds stored open to air grew molds, including Aspergillus flavus.
Wet grounds at about 56% moisture are an easy meal for any mold, and that is your biggest risk. If you cannot use the grounds within a day, keep them in the freezer until you have enough, and pasteurize them with the straw instead of adding them raw.
Contamination risk with coffee grounds
The main threat is green mold, Trichoderma. The SARE farm lost bags to it early on and fixed it with better sterilization, draining excess water after sterilizing, cleaner hands and work area, and positive pressure airflow. Wet mix sitting at the bottom of a bag or bucket goes anaerobic and invites bacteria too.
What helps at home:
- Use grounds within a day of brewing.
- Keep coffee at a quarter to a third of the mix. A slow colonization gives molds a head start.
- Drain the mix until no water comes out when you squeeze a handful.
- Use plenty of spawn so the oyster mycelium takes over first.
- Check weekly and throw out any bucket with green patches.
Our contamination guide shows what green mold, bacterial blotch and other common problems look like.
A small bucket method for coffee and straw
- Collect spent grounds the same day they are brewed, from your own coffee maker or a café. Pick out filters. Freeze them if you need a few days to collect enough.
- Cut wheat straw into 10 to 13 cm (4 to 5 inch) pieces and soak it overnight in water.
- Drain the straw and hold it in a hot water bath at 74 °C (165 °F) for 1 to 2 hours. A pillowcase or mesh bag keeps it under. Add any grounds older than a day to the bath in a fine mesh bag.
- Drain everything for about an hour and let it cool to room temperature. Work on a cleaned table from here on.
- Mix two parts straw with one part coffee grounds by volume. Then mix in oyster grain spawn at 5 to 10% of the substrate weight. More spawn colonizes faster.
- Drill 6 mm (1/4 inch) holes 10 to 15 cm (4 to 6 inches) apart around a clean 5 gallon bucket. Pack the mix in firmly and close the lid.
- Keep the bucket dark at about 24 °C (75 °F). Check it weekly. Straw takes 2 to 3 weeks to go fully white, and coffee mixes can take a little longer.
- When the mix is white and pins start at the holes, move the bucket to cooler, damper air with light and fresh air. Pick when the caps flatten but the edges still curl under.
Use the substrate calculator to scale the straw, grounds and spawn to your bucket, and the grow timeline calculator to plan dates.
Fruiting settings for a coffee grounds bucket
Once colonized, a coffee and straw bucket fruits like any oyster block. These are the stage settings in our free pearl oyster grow profile.
| Stage | Days | Temperature | Humidity | Light | Fresh air |
|---|---|---|---|---|---|
| Colonization | 14 | 24 °C (75 °F) | 90% | Dark | Fan 15 s every 60 min |
| Pinning | 5 | 18 °C (64 °F) | 93% | 12 h a day, about 90 lux, blue | Fan 35 s every 15 min |
| Fruiting | 10 | 16 °C (61 °F) | 88% | 12 h a day, about 90 lux, blue | Fan 40 s every 10 min |
Oysters need a lot of fresh air. Too little gives long stems and small caps. Keep the surface just barely glistening, not dripping. Our oyster kit guide covers misting, light and harvest timing day by day.
FAQ
What is the best ratio of coffee grounds to straw for oyster mushrooms?
About one part coffee to two parts straw by volume. That mix gave the highest yield in a 2021 trial, at 105% biological efficiency. More coffee than straw cut the yield in half.
Can oyster mushrooms grow on 100% coffee grounds?
Not reliably. Pure spent grounds never fully colonized in the straw trial and are too acidic and too high in nitrogen. Mix them into straw or sawdust.
Do I need to pasteurize coffee grounds?
Not if they are used within a day of brewing. Fresh café grounds tested nearly free of microbes, while grounds collected the next morning from a recycling facility carried over a million bacteria per gram. Pasteurize older grounds with the straw.
Do mushrooms grown on coffee grounds contain caffeine?
Very little. The oyster mycelium breaks down part of the caffeine as it grows. The University of Sydney study estimated you would need to eat about 250 kg of fresh oysters grown on coffee grounds to get the caffeine in one espresso.
Why did my coffee grounds turn green?
That is almost always Trichoderma green mold. It grows fast on wet grounds that sat too long before use or a mix with too much coffee. Throw that batch out and start with fresher grounds and a lower coffee share.
Sources
- Alsanad, Sassine, El Sebaaly and Abou Fayssal 2021, wheat straw and spent coffee ground substrates for oyster mushrooms, CyTA Journal of Food 19(1)
- Carrasco-Cabrera, Bell and Kertesz 2019, Caffeine metabolism during cultivation of oyster mushroom with spent coffee grounds, Applied Microbiology and Biotechnology 103
- Carrasco 2018, PhD thesis on oyster mushroom cultivation with spent coffee grounds, University of Sydney
- Chai, Krishnan, Sabaratnam and Tan 2021, Assessment of coffee waste in formulation of substrate for oyster mushrooms, Future Foods 4
- USDA SARE FNE17-874, Growing oyster mushrooms on spent coffee grounds and hardwood sawdust, final report
- Hermansen et al. 2024, microbial load of spent coffee grounds during collection and storage, Applied Sciences 14(21)
- Liao, Hsu, Hameed and Cotter, D.I.Y. FunGuide: Grow Your Own Oyster Mushrooms at Home, UF/IFAS Extension SS662
- Our pearl oyster grow profile, for every stage length, temperature, humidity, light and fan setting above
Grow guides for the species in this post
- How to grow Pearl Oyster (Pleurotus ostreatus)
Keep reading
- Substrate calculator
- Mushroom contamination guide
- The easiest mushrooms to grow
- How to fruit an oyster mushroom kit
- Grow timeline calculator