The most important tasks of Polish agriculture in 2014-2020 perspective will include maintaining food quality and safety, and orientation toward the part of the production of renewable energy, especially using biomass. Processing of biomass in anaerobic methane fermentation of agricultural biogas solves the problem of waste storage, reducing greenhouse gas emissions, especially high concentrations of methane, coming from the fermentation of slowly stored biomass. The economic aspect explains the popularity of biogas works; it is related to diversification of agricultural production through the introduction of a qualitatively new production of green energy from biogas, which significantly affects the profitability of agricultural production and will be an alternative for some companies, or large farms as a source of additional income and energy security. Energy generated in small biogas plants can fully protect the energy needs of a small farm releasing it from external sources and generating savings. For installations larger surplus may provide an additional source of farms’ income.