To explore the effect of dissolved carbon source and solid carbon source on the biological flocculent culture of Litopenaeus vannamei, five different carbon source matching groups were set up: peanut shell powder group, brown sugar group, peanut shell powder: brown sugar (1:1) group, peanut shell powder: brown sugar (2:1) group and peanut shell powder: brown sugar (1:2) group to carry out the culture test of Penaeus vannamei for 40 days, and the water quality was monitored every 4 days. At the end of the experiment, glutathione-s transferase activity was measured in the hepatopancreas of shrimp, and high-throughput sequencing analysis was carried out on the suction filter membrane to explore the effects of different types of carbon sources and different proportions on the water quality, shrimp growth performance, microbial diversity, and community structure in the biological flocculent culture system. The results showed that in the aspect of water quality control, the ammonia nitrogen of peanut shell powder: brown sugar (2:1) group remained at a low level throughout the whole test cycle, and the peak value of ammonia nitrogen was only (2.43 ± 0.45) mg / L, while that of peanut shell powder group with the largest peak value of ammonia nitrogen was as high as (9.80 ± 0.35) mg / L; nitrite nitrogen showed an upward trend in the control group, and the concentration in the biological floc group increased firstly and then decreased. The inflection point of concentration change in peanut shell powder: brown sugar (2:1) group was earlier than that in other treatment groups; In the nitrate nitrogen level, except for the control group, the other biological flocs showed an upward trend. The nitrate nitrogen concentration in the peanut shell powder: brown sugar (2:1) group was as high as (17.84 ± 1.20) mg / L at the end of the experiment; In the analysis of microbial community, Paracoccus is the main dominant bacteria at the genus level. The use of mixed carbon sources not only improved the microbial community of the aquaculture system α Diversity abundance (Sobs, Chaol, ACE) also changed the composition and structure of the microbial community; The use of carbon source can improve the glutathione-s transferase activity of shrimp and promote the growth and survival of shrimp, among which the peanut shell powder: brown sugar (2:1) group has the best growth performance. The research shows that the mixed use of dissolved carbon sources and solid carbon sources can promote the cultivation of biological flocs, improve the water quality control effect and promote the growth of shrimp. It is a feasible scheme for the construction of biological flocs.