In this paper, the volatile flavour constituents and the bacterial diversity in characteristic Chinese fermented sour soup were analysed, and the dynamics of bacteria associated with the odour were characterized. The bacterial diversity of sour soup was studied by high-throughput sequencing. A total of 10 phyla and 89 genera were detected. Firmicutes was the dominant phylum of sour soup, accounting for 87.14–98.57%. The genus structure of normal sour soup was relatively simple, and Lactobacillus (78.05–90.26%) was the dominant genus. In addition to Lactobacillus, the foul-smelling sour soup contained more Pediococcus spp., Caproiciproducens spp., and Clostridium-sensu-stricto12 spp. (relative abundance >1%) than the normal sour soup. A total of 51 aroma compounds were detected by gas chromatography-mass spectrometry(GC-IMS), including 25 esters, 8 terpenes, 8 alcohols, 3 sulfur compounds, 2 acids, 2 ketones, 1 pyrazine, 1 monoterpene and 1 aldehyde. According to the relative odour active value (ROAV) calculation, 51 important flavour-contributing substances and 7 flavour-coordinating substances were determined. The esters with the highest relative percentages and ROAV values provided the pleasant flavour of the sour soup. In the foul-smelling sour soup, the ROAV values of 1,8-cineole, isobutyl acetate, ethyl butanoate, ethyl octanoate-M, and ethyl hexanoate-M decreased, while those of diallyl disulfide-M and diallyl disulfide-D, which were probably responsible for the foul flavour, increased. Through Pearson correlation analysis, the odour production of the foul-smelling soup was determined to be related to Pediococcus spp., Caproiciproducens spp., Clostridiumsensu_stricto_12 spp., Oscillibacter spp., Bacteroides spp., Fibaculaceae_unclassified spp., Acinetobacter spp. and Halomonas spp.