[Objective] Solid acid made from corn stalk was prepared as catalyst effective and environmental friendly catalysts for the preparation of biodiesel were developed.[Method] Using solid acid made from corn stalk as catalyst,effects on catalyst activity in different preparation conditions were studied.The catalyst with high catalysis preparation method was obtained,and the catalyst stability evaluated.Using the transesterification of cottonseed oil with methanol as the reaction model,the effects on esterification yield of biodiesel preparation conditions were studied.The optimum conditions of biodiesel synthesis were designed with the solid-acid catalyst.[Result] The optimum conditions were obtained as follows:carbonization temperature 350-400 ℃,carbonization time 10 h,sulfonation temperature 140-180 ℃,sulfonation time 10 h.And the catalyst could keep better stability and catalyst activity after using 5 times.The conversion rate of cottonseed oil reached as high as 89.5%.The best catalytic performance can be obtained under the conditions of catalyst dosage 100 g/kg,molar ratio of methanol to oil 5:1,reaction temperature 60 ℃,reaction time 8 h.The conversion rate of cottonseed oil reached as high as 93.2%.[Conclusion] Using corn stalk as raw material,through carbonization-sulfonation,carbon-based solid-acid,reusable catalyst with high catalysis and stability and were made.