Objective:To investigate the treatment capacity of methyl orange dye wastewater by magnetic Fe3O4/Mg-algae residue biochar composite activated potassium persulfate under different conditions.Methods:The methyl orange solution was used to simulate the dye wastewater,and the effect of magnetic Fe3O4/Mg-algae residue biochar composite on the activation of potassium persulfate under different experimental conditions(initial pH value,initial concentration of methyl orange,composite dosage,potassium persulfate dosage)on the treatment of methyl orange dye wastewater was studied.Results:The degradation rate of methyl orange dye wastewater decreased with the increase of pH under acidic conditions,and increased with the increase of pH under alkaline conditions.The removal efficiency of methyl orange dye wastewater was inversely proportional to the initial concentration of methyl orange,and was proportional to the dosage of potassium persulfate.Under certain conditions,increasing the dosage of composite materials could improve the removal effect of methyl orange.Conclusion:The magnetic algae residue biochar composite material activating potassium persulfate to oxidize methyl orange dye wastewater had excellent performance and could be used as an efficient removal method in the field of dye wastewater treatment.