This study is concerned with comparing raw dairy wastewater (DWW) with blue-green medium (BG11 medium) for biofuel production. Three microalgae strains (<italic>Chlorella</italic> sp., <italic>Scenedesmus</italic> sp., and <italic>Chlorella zofingiensis</italic>) were cultured in tubular bubble column photobioreactors with two media separately. After 8 days of cultivation, DWW was demonstrated to be more suitable medium for microalgae biomass and lipid production than BG11 medium. The biomass and lipid produced within wastewater provided suitable feedstocks for anaerobic digestion and biodiesel conversion. Nutrients in wastewater were efficiently removed (>90% total nitrogen removal, approximately 100% ammonia removal, and >85% total phosphorus removal) during this process.