A microbiological fuel 
cell and a method for generating 
electricity by use of straws relate to a fuel 
cell and a method for generating 
electricity. The invention solves the problem that 
crop straws are not used efficiently, and particularly 
straw solids are not directly used in MFC. The microbiological fuel 
cell of the invention is composed of a container, catalytic anodes, 
anode wires, air cathodes, 
cathode wires, a 
cathode cover and a sealing cover. The method of the invention includes the steps of the pretreatment of the straws, the detoxifying treatment of the straws to obtain a 
straw solid substrate and a 
straw liquid substrate, the start-up of the cell, the treatment of the straw 
solid substrate or the straw liquid substrate. When the 
electricity is generated by the invention by using the straw 
solid substrate, the maximum power of the cell reaches 502mW / m<2>, and the degradation rate is about 45percent. When the electricity is generated by using the straw liquid substrate, the maximum power reaches 1288m W / m<2>, and the degradation rate of COD is 60 percent. The invention has the advantages of simple technology, convenient operation, high efficiency, no 
pollution, reduction of cost and relief of the energy crisis, and the straws in rural areas can be used efficiently.