[Objective] The present study was conducted to explore the effects of dif- ferent nitrogen sources and metal ions on the biogas production process and biogas yield by fermentation of corn stalk powder using self-designed anaerobic fermenta- tion system. [Method] The biogas produced during fermentation was collected by water displacement, and measured by ignition. [Result] Ammonium bicarbonate, urea and yeast extract powder all increased biogas yield. Among them, ammonium bi- carbonate was the best nitrogen source. Ammonium dihydrogen phosphate showed an inhibitory effect on biogas production. Biogas yield was significantly increased by adding NaCl, KCl, MgCl2 or CaCl2, among which, NaCl had the best effect. [Conclu- sion] It is not conducive to the growth and development of methanogenic flora in the production of biogas using corn stalks as the only material in fermentation. The biogas yield can be increased by adding exogenous nitrogen, which reduces the carbon to nitrogen (C:N) ratio of fermentation materials. The biogas yield can be significantly increased by adding appropriate types and amount of electrolytes, with appropriate C:N ratio. The methanogenic flora is more tolerant to NaCl and KCl than to MgCl2 and CaCl2. Moreover, NaCl can not only significantly increase the biogas production, but also shorten startup period of methanogenic flora, thereby shortening the gas producing cycle.