NOVELTY - Microbial electricity generation involves preparing a microbial enriched product by placing an optical nutritional-type microorganism in an illumination bioreactor and adding a liquid culture medium, which is an anaerobic sludge leachate. The temperature of the illumination bioreactor is controlled at 20-40 degrees C for 36-72 hours. The carbon dioxide gas is charged and the microbial enriched product floating on the upper part of the illumination bioreactor is taken out when the dry matter concentration of the microorganism is greater than 1g per l.    USE - Method for generating microbial electricity (claimed).    ADVANTAGE - The microbial electricity generation method is capable of recycling carbon source, does not consume non-renewable resources and prevents exhaust of harmful gases, and uses a recycling method, thus ensures reuse of the ingredients.    DETAILED DESCRIPTION - Microbial electricity generation involves preparing a microbial enriched product by placing an optical nutritional-type microorganism in an illumination bioreactor and adding a liquid culture medium, which is an anaerobic sludge leachate. The temperature of the illumination bioreactor is controlled at 20-40 degrees C for 36-72 hours. The carbon dioxide gas is charged and the microbial enriched product floating on the upper part of the illumination bioreactor is taken out when the dry matter concentration of the microorganism is greater than 1g per l. The microbial enriched product is inputted in a marsh gas generator and reacted with anaerobic active sludge in the marsh gas generator to generate marsh gas and marsh solution. The obtained marsh solution is kept in the illumination bioreactor and the generated marsh gas is inputted in an internal-combustion engine in a power generation unit to combust. The electrical energy, heat energy and carbon dioxide gas are outputted from the power generation unit and the carbon dioxide gas is inputted in the illumination bioreactor after temperature control treatment in a heat exchanger.