The invention provides a complex flora for preventing and treating peanut root rot and an application thereof, and belongs to the technical field of soil-borne disease prevention and treatment. The complex flora comprises pantoea, pseudobacillus, enterobacter, paenibacillus, sporosarcina, bacillus and pseudomonas aeruginosa. The pantoea, the pseudobacillus, the enterobacter, the paenibacillus, thesporosarcina, the bacillus and the pseudomonas aeruginosa in the complex flora have a synergistic interaction effect on inhibition of pathogenic fungi; compared with a single strain, the complex flora has the advantages that the rhizosphere colonization capacity is obviously improved, and the rhizosphere micro-ecological environment can be effectively optimized. The complex flora is inoculated topeanut roots, so that the peanut roots can be effectively prevented from being infected by fusarium oxysporum, and the health of the peanut roots is protected.