In literature as well as in the university debate, we can observe the increase of interest regarding converting agricultural residues into energy. Furthermore, the energy and climate policies have encouraged the development of biogas plants for energy production. One of the most significant reasons of this escalation is that this technology may be both convenient and beneficial. The produced biogas is not only supposed to cover the energy demand like heat and electricity, the resulting digestate has the prospect of a beneficial fertilizer and can thereby influence the energy management plans. This technology is widely introduced to countries, which have large income from agriculture. Not only does this reduce the use of industrial fertilizers, but also finds use for agricultural residues. One of the countries of this type is Vietnam, which is the fifth largest exporter of rice in the world. Over 55% of greenhouse gas emission in Vietnam comes from agriculture. Using innovative technologies such as biogas, may decrease this value in near future. It may also contribute to more sustainable agriculture by decreasing traditional fields burning after the harvesting period. The goal of this research paper is to estimate the possible production of biogas from rice straw to cover the energy demand of the rice mill. Four possible scenarios have been considered in this paper, the present situation and where electricity, energy or both were covered by biogas from agricultural residues. An attempt was made to answer the question whether the amount of biogas produced from agricultural residues is enough for both: electricity and energy supply, for the rice mill. If not, how much rice straw must be delivered from other sources, from which rice is not delivered to the rice mill. The base of the assumptions during the estimation of various values were statistics from FAO and other organizations, secondary sources and data from the existing rice mill in Hậu Mỹ Bắc B in Mekong delta in Vietnam.