The increasing generation of municipal solid waste (MSW) and its handling and processing issues are among the primary concerns of governments worldwide. A possible solution is utilization of MSW into valuable products, e.g., biofuels. Production of renewable fuel can address a part of the current concerns on the limited fossil fuels sources and their pollution. In this study, MSW produced in Isfahan University of Technology, including 75% kitchen waste and 25% garden waste, was used to produce ethanol and biogas. It was pretreated with 0.5% sulfuric acid and 0.5 M sodium carbonate to improve the yield of biogas and ethanol production. The acidic pretreatments were carried out at temperatures of 120, 150 and 180 ° C for 0, 10, 30 and 60 minutes, where the pretreatments with sodium carbonate were performed at 0, 25, 93 120, 150 and 180 ° C. In order to remove inhibitors in liquid phase of the acidic pretreatment, a detoxification step with lime (overliming) was performed and then the liquid was fermented with ethanolic fungus Mucor indicus . After that, the biomasses obtained from aerobic and anaerobic fermentation along with the pretreated solid were subjected to anaerobic digestion for biogas production. Besides, the samples of pretreated solid without fungal biomass were digested. The results showed that the addition of fermentation biomass to the pretreated solid was significantly improved the biomethane production. Moreover, among the pretreated solids, the samples treated with sodium carbonate at 25 ° C showed the highest equivalent gasoline. The highest amount of equivalent gasoline, 125.3 liter of gasoline per ton of MSW, was achieved after acidic pretreatment at 150 ° C for 30 minutes without detoxification. In this case, the ethanol concentration and yield were 9.67 g/l and 75.9 %, respectively. In addition, 157.4 ml methane per gram of volatile solid of MSW was obtained.