The increased demand for energy results in an increase in fossil fuel consumption. However, the planet's oil deposits will soon reach unsustainable levels, presenting an opportunity for biofuels. In this study, cattle wastewater (CWW) was used to cultivate a microalgae consortium in photobioreactors. Seven rounds of experiments were carried out with the addition of CO2 (ControlCO2), ozone application for 10, 20, and 30 min (O3T10, O3T20, and O3T30), and a combination of CO2 and ozone (O3T10CO2 and O3T20CO2). Maximum dry biomass (18.63 g/L) and CO2 biofixation (8047.79 mg/L/d) were obtained in O3T20CO2. A total of 48% of lipid was registered in O3T30 and O3T20, indicating that microalgae were stressed when exposed to ozonized wastewater. C16:0 was detected in higher concentrations in all experiments. O3T30, O3T10CO2, and O3T20CO2 had values for C18:3 in accordance with the requirements of EN 14,214. Projections show that a farm with 2000 animals could produce 430 g of biofuels per kg of biomass and fixed 2.67 tCO2/y. Removals of up to 100% for NH3–N, 99.6% for P, and 91.7% for COD were recorded. The data indicates a possibility for CWW bioremediation and biofuel production in significant quantity and quality in comparison to the current scenario of microalgae cultivation. [ABSTRACT FROM AUTHOR]