Three different treatment technologies, namely mono-algae culture, algal-bacterial culture, and algal-fungal culture, were applied to remove pollutants form synthetic domestic sewage and to remove CO2 from biogas in a photobioreactor. The effects of different initial influent C/N ratios on microalgal growth rates and pollutants removal efficiencies by the three microalgal cultures were investigated. The best biogas upgrading and synthetic domestic sewage pollutants removal effect was achieved in the algal-fungal system at the influent C/N ratio of 5:1. At the influent C/N ratio of 5:1, the algal-fungal system achieved the highest mean chemical oxygen demand (COD) removal efficiency of 81.92% and total phosphorus (TP) removal efficiency of 81.52%, respectively, while the algal-bacterial system demonstrated the highest mean total nitrogen (TN) removal efficiency of 82.28%. The average CH4 concentration in upgraded biogas and the removal efficiencies of COD, TN, and TP were 93.25 ± 3.84% (v/v), 80.23 ± 3.92%, 75.85 ± 6.61%, and 78.41 ± 3.98%, respectively. These results will provide a reference for wastewater purification ad biogas upgrading with microalgae based technology.