Soluble extracellular metabolites (SEM) produced by microorganisms might significantly change during sludge bulking, which is a major operational problem caused by the excessive growth of filamentous bacteria. However, knowledge remains limited about the dynamics and potential role of SEM in the bulking of sludge. In this study, filamentous bulking was simulated in a laboratory-scale reactor and changes to SEM characteristics during the bulking process were investigated using excitation-emission matrix spectroscopy and ultrahigh-performance liquid chromatography-mass spectrometry. SEM components changed significantly at different phases of sludge bulking. Changes in SEM were closely correlated with the structure of the bacterial community. Based on the EEM profiles, significant increases in fulvic acid-like and humic acid-like substances in SEM were observed with the development of filamentous bulking. The degree of humification in SEM showed a clear increasing trend. Untargeted extracellular metabolomic analysis showed that the intensity of berberine and isorhamnetin in SEM increased significantly during the bulking phase, which might synergistically facilitate the development of filamentous bulking. • Soluble extracellular metabolites (SEM) changed dramatically during sludge bulking. • Changes in SEM were closely related to bacterial community structure. • The humification degree of SEM increased with filamentous bulking. • Antibacterial and quorum quenching molecules in SEM may facilitate sludge bulking. [ABSTRACT FROM AUTHOR]