This article has multiple issues. Please help improve it or discuss these issues on the talk page. ( Learn how and when to remove these template messages)
Fungiculture is the cultivation of fungi such as mushrooms. Cultivating fungi can yield foods (which include mostly mushrooms), medicine, construction materials and other products. A mushroom farm is involved in the business of growing fungi.
The word is also commonly used to refer to the practice of cultivation of fungi by animals such as leafcutter ants, termites, ambrosia beetles, and marsh periwinkles.
Mushrooms are fungi and require different conditions than plants for optimal growth. Plants develop through photosynthesis, a process that converts atmospheric carbon dioxide into carbohydrates, especially cellulose. While sunlight provides an energy source for plants, mushrooms derive all of their energy and growth materials from their growth medium, through biochemical decomposition processes. This does not mean that light is an irrelevant requirement, since some fungi use light as a signal for fruiting.   However, all the materials for growth must already be present in the growth medium. Mushrooms grow well at relative humidity levels of around 95–100%, and substrate moisture levels of 50 to 75%. 
Instead of seeds, mushrooms reproduce through spores. Spores can be contaminated with airborne microorganisms, which will interfere with mushroom growth and prevent a healthy crop.
Mycelium, or actively growing mushroom culture, is placed on a substrate—usually sterilized grains such as rye or millet—and induced to grow into those grains. This is called inoculation. Inoculated grains (or plugs) are referred to as spawn. Spores are another inoculation option, but are less developed than established mycelium. Since they are also contaminated easily, they are only manipulated in laboratory conditions with a laminar flow cabinet.
All mushroom growing techniques require the correct combination of humidity, temperature, substrate (growth medium) and inoculum (spawn or starter culture). Wild harvests, outdoor log inoculation and indoor trays all provide these elements.
Mushrooms can be grown on logs placed outdoors in stacks or piles, as has been done for hundreds of years.  Sterilization is not performed in this method. Since production may be unpredictable and seasonal, less than 5% of commercially sold mushrooms are produced this way.  Here, tree logs are inoculated with spawn, then allowed to grow as they would in wild conditions. Fruiting, or pinning, is triggered by seasonal changes, or by briefly soaking the logs in cool water.  Shiitake and oyster mushrooms have traditionally been produced using the outdoor log technique, although controlled techniques such as indoor tray growing or artificial logs made of compressed substrate have been substituted.   
Shiitake mushrooms grown under a forested canopy are considered non-timber forest products.  In the Northeastern United States, shiitake mushrooms can be cultivated on a variety of hardwood logs including oak, American beech, sugar maple and hophornbeam. Softwood should not be used to cultivate shiitake mushrooms as the resin of softwoods will oftentimes inhibit the growth of the shiitake mushroom making it impractical as a growing substrate. 
In order to produce shiitake mushrooms, 1 metre (3-foot) hardwood logs with a diameter ranging between 10–15 cm (4–6 in) are inoculated with the mycelium of the shiitake fungus. Inoculation is completed by drilling holes in hardwood logs, filling the holes with cultured shiitake mycelium or inoculum, and then sealing the filled holes with hot wax. After inoculation, the logs are placed under the closed canopy of a coniferous stand and are left to incubate for 12 to 15 months. Once incubation is complete, the logs are soaked in water for 24 hours. 7 to 10 days after soaking, shiitake mushrooms will begin to fruit and can be harvested once fully ripe. 
Indoor mushroom cultivation as a commercial crop was first developed in caves in France. The caves provided a stable environment (temperature, humidity) all year round. The technology for a controlled growth medium and fungal spawn was brought to the UK in the late 1800s in caves created by quarrying near areas such as Bath, Somerset.  Growing indoors provides the ability to control light, temperature and humidity while excluding contaminants and pests. This allows consistent production, regulated by spawning cycles.  By the mid-twentieth century this was typically accomplished in windowless, purpose-built buildings, for large-scale commercial production.
Indoor tray growing is the most common commercial technique, followed by containerized growing. The tray technique provides the advantages of scalability and easier harvesting.
There are a series of stages in mushroom farming of the most widely used commercial species Agaricus bisporus. These are composting, fertilizing, spawning, casing, pinning, and cropping."  
|1. Phase I composting||6–14 days ||Regulate water and NH3 content through microbial action. |
Add fertilizer / additives
|2. Phase II composting or pasteurization||7–18 days via composting method, ~2 hours for pasteurization (heat sterilization) ||Reduce number of potentially harmful microbes through further composting, or apply heat sterilization. |
Remove unwanted NH3.
|3. Spawning and growth||14–21 days ||24 to 27 °C (75 to 80 °F); must be above 23 °C (74 °F); for rapid growth.
Must be below 27 to 29 °C (80 to 85 °F) to avoid damaging mycelia 
|Add starter culture. |
Allow mycelium to grow through substrate and form a colony.
Depends on substrate dimensions and composition.
Finished when mycelium has propagated through entire substrate layer
|4. Casing||13–20 days||Promote the formation of primordia, or mushroom pins. |
Add a top covering or dressing to the colonized substrate.
Fertilizing with nitrogen increases yields.
|5. Pinning||18–21 days ||Earliest formation of recognizable mushrooms from mycelium. |
Adjusting temperature, humidity and CO2 will also affect the number of pins, and mushroom size
|6. Cropping||Repeated over 7- to 10-day cycles ||Harvest|
Complete sterilization is not required or performed during composting. In most cases, a pasteurization step is included to allow some beneficial microorganisms to remain in the growth substrate. 
Specific time spans and temperatures required during stages 3–6 will vary respective to species and variety. Substrate composition and the geometry of growth substrate will also affect the ideal times and temperatures.
Pinning is the trickiest part for a mushroom grower, since a combination of carbon dioxide (CO2) concentration, temperature, light, and humidity triggers mushrooms towards fruiting.    Up until the point when rhizomorphs or mushroom "pins" appear, the mycelium is an amorphous mass spread throughout the growth substrate, unrecognizable as a mushroom.
Carbon dioxide concentration becomes elevated during the vegetative growth phase, when mycelium is sealed in a gas-resistant plastic barrier or bag which traps gases produced by the growing mycelium. To induce pinning, this barrier is opened or ruptured. CO2 concentration then decreases from about 0.08% to 0.04%, the ambient atmospheric level. 
Oyster mushroom farming is rapidly expanding around many parts of the world. Increased consciousness of its nutritional value and increased market demand is making mushroom cultivation one of the most sought businesses among the farming communities.[ citation needed] Oyster mushroom is grown in substrate that comprises sterilized wheat, paddy straw and even used coffee grounds  while it does not require much space compared to other crops. Its per unit production and profit extracted is comparatively higher than other crops.  Oyster mushrooms can also be grown indoors from kits, most commonly in the form of a box containing growing medium with spores.  
Mushroom production converts the raw natural ingredients into mushroom tissue, most notably the carbohydrate chitin. 
An ideal substrate will contain enough nitrogen and carbohydrate for rapid mushroom growth. Common bulk substrates include several of the following ingredients:  
Mushrooms metabolize complex carbohydrates in their substrate into glucose, which is then transported through the mycelium as needed for growth and energy. While it is used as a main energy source, its concentration in the growth medium should not exceed 2%. For ideal fruiting, closer to 1% is ideal. 
Parasitic insects, bacteria and other fungi all pose risks to indoor production. Sciarid or phorid flies may lay eggs in the growth medium, which hatch into maggots and damage developing mushrooms during all growth stages. Bacterial blotch caused by Pseudomonas bacteria or patches of Trichoderma green mold also pose a risk during the fruiting stage. Pesticides and sanitizing agents are available to use against these infestations.   Biological controls for sciarid and phorid flies have also been proposed. 
Trichoderma green mold can affect mushroom production, for example in the mid-1990s in Pennsylvania leading to significant crop losses. The contaminating fungus originated from poor hygiene by workers and poorly prepared growth substrates. 
Mites in the genus Histiostoma have been found in mushroom farms. Histiostoma gracilipes feeds on mushrooms directly, while H. heinemanni is suspected to spread diseases.  
Pennsylvania is the top-producing mushroom state in the United States, and celebrates September as "Mushroom Month". 
The borough of Kennett Square is a historical and present leader in mushroom production. It currently leads production of Agaricus-type mushrooms,  followed by California, Florida and Michigan. 
Other mushroom-producing states: 
Vancouver, British Columbia has a significant number of producers – about 60 as of 1998 – mostly located in the lower Fraser Valley. 
Oyster mushroom cultivation has taken off in Europe as of late. Many entrepreneurs nowadays find it as a quite profitable business, a start-up with a small investment and good profit. Italy with 785,000 tonnes and Netherlands with 307,000 tonnes are between the top ten mushroom producing countries in the world. The world's biggest producer of mushroom spawn  is also situated in France.
According to a research carried out on Production and Marketing of Mushrooms: Global and National Scenario  Poland, Netherlands, Belgium, Lithuania are the major exporting mushrooms countries in Europe and countries like UK, Germany, France, Russia are considered to be the major importing countries.[ citation needed]
Oyster mushroom cultivation is a sustainable business where different natural resources can be used as a substrate. The number of people becoming interested in this field is rapidly increasing. The possibility of creating a viable business in urban environments by using coffee grounds is appealing for many entrepreneurs.[ citation needed]
Since mushroom cultivation is not a subject available at school, most urban farmers learned it by doing. The time to master mushroom cultivation is time consuming and costly in missed revenue. For this reason there are numerous companies in Europe specialized in mushroom cultivation that are offering training for entrepreneurs and organizing events to build community and share knowledge. They also show the potential positive impact of this business on the environment.  
Courses about mushroom cultivation can be attended in many countries around Europe. There is education available for growing mushrooms on coffee grounds,   more advanced training for larger scale farming,  spawn production and lab work  and growing facilities. 
Events are organised with different intervals. The Mushroom Learning Network gathers once a year in Europe. The International Society for Mushroom Science gathers once every five-years somewhere in the world.