The invention relates to the application of citric acid bacteria in the preparation of biological flocculant by recycling waste algae, which belongs to the method for treating algae blooms. Ferment and culture Citrobacter to obtain fermentation liquid, the inoculation amount is 0.5-2% based on the total weight of the fermentation medium, centrifuge to remove mycelium, and obtain supernatant; add 2 times the volume of ethanol to the supernatant at 4°C After 12 hours, after centrifuging the mixture, dissolve 3~5g of the obtained precipitate in 100ml of deionized water, add 50ml of 2% cetylpyridinium chloride at the same time, shake for 3~4 hours, after that, collect the precipitate and dissolve Add 2 times the volume of ethanol to 100ml of 0.5M NaCl solution, centrifuge and collect the precipitate; elute the collected precipitate with ethanol, dissolve it in 5ml of deionized water, and dry it in vacuum to obtain the product. The advantage is that the production cost of the bioflocculant is greatly reduced, and no secondary pollution is caused; it is easily degraded by microorganisms, non-toxic and harmless, and has high safety, which is conducive to improving the application and promotion of the bioflocculant.