Background: Microalgae as a viable biodiesel feedstock show great potential to approach the challenges of energy shortage and environment pollution, but their economic feasibility was seriously hampered by high production cost. Thus, it is in urgent need to reduce the cost of cultivation and improve the biomass and lipid production of microalgae. In this work, anaerobic digestion effluent from cattle manure combined with municipal wastewater was used as a cost-effective medium for cultivating microalgae and expected to obtain high biomass. The pretreatment of anaerobic digested effluent containing dilution rate, sterilization and nutrient optimization was investigated. Then, initial pH and light intensity for algal growth, lipid production and wastewater purification were optimized in this study. Results: Scenedesmus sp. could grow rapidly in 10% anaerobic digestion effluent from cattle manure combined with secondary sedimentation tank effluent without sterilization. Optimum nutrient additives for higher biomass were as follows: glucose 10 g/L, NaNO 3 0.3 g/L, K 2 HPO 4 •3H 2 O 0.01 g/L, MgSO 4 •7H 2 O 0.075 g/L and trace element A5 solution 1 mL/L. Biomass of 4.65 g/L and lipid productivity of 81.90 mg/L/day were achieved during 7-day cultivation accompanying over 90% of COD, NO 3 −-N, NH 4 +-N, and 79-88% of PO 4 3−-P removal with optimized initial pH of 7.0 and light intensity of 5000 l×. The FAME profile in ADEC growth medium consisted in saturated (39.48%) and monounsaturated (60.52%) fatty acids with the 16-to 18-chain-length fatty acids constituting over 98% of total FAME. Conclusions: This study proves the potential of anaerobic digested effluent combined with municipal wastewater for microalgae culture, and provides an effective avenue for simultaneous microalgal lipid production and treatment of two kinds of wastewater.