The mushrooms provide important sources of protein extracted from materials with very low economic value, such as manure, waste from agriculture, forestry, timber industry. It is used with maximum efficiency the created nutrient substrate, which after a crop cycle of 3-5 months can be reused as fertilizer in agriculture (Agaricus mushrooms, Coprinus, Stropharia), or as animal feed or as fuel (oyster mushrooms). Ammonia is eliminated during composting and pasteurization and the nitrogen that will remain will become digestible nitrogen protein, which provide the food for the mushrooms mycelium. This paper presents the dynamic of the chemical transformation of compost for Agaricus ssp. mushroom growing during the pasteurization process.