Enteromorpha prolifera blooms considerably affected coastal environments in recent years. However, the effects of E. prolifera on microbial ecology and function remained unknown. In this study, metagenomic sequencing was used to investigate the effect of E. prolifera bloom on the microbial communities and functional genes in an aquaculture environment. Results showed that E. prolifera bloom could significantly alter the microbial composition and abundance, and heterotrophic bacteria comprised the major groups in the E. prolifera bloom pond, which was dominated by Actinomycetales and Flavobacteriales. The study indicated that viruses played an important role in shaping the microbial community and diversity during E. prolifera bloom. These viruses affected various dominant microbial taxa (such as Rhodobacteraceae, Synechococcus, and Prochlorococcus), which produced an obvious impact on potential nutrient transformation. Functional annotation analysis indicated that E. prolifera bloom would considerably shift the metabolism function by altering the structure and abundance of the microbial community. E. prolifera bloom pond had the low ability of potential metabolic capabilities of nitrogen, sulfur, and phosphate, whereas promoted gene abundance of genetic information processing. These changes in the microbial community and function could produce serious effect on aquaculture ecosystem.