Anaerobic acidification membrane bioreactors (AAMBRs) have recently emerged as effective systems for recovering volatile fatty acids (VFAs) from municipal wastewater. However, membrane fouling remains a critical challenge, with its underlying mechanisms not yet fully understood. Given its importance in inhibiting methanogenic bacteria and stabilizing VFAs production, this study explores the direct and indirect effects of pH on membrane fouling mechanisms in AAMBRs. The results demonstrated that compared to pH 7, the fouling potential of anaerobic sludge was significantly higher at pH levels of 5 and 10 owing to a decrease of sludge floc size and an increase of soluble microbial products (SMP) especially proteins. Analytical techniques such as confocal laser scanning microscopy (CLSM), fourier transform infrared spectroscopy (FTIR), and fluorescence excitation-emission matrix (F-EEM) analyses revealed a substantial increase in organic foulants particularly proteins on the membrane surface at pH levels of 5 and 10. Circular dichroism (CD) spectroscopy further indicated a significant change in protein secondary structure, specifically an increase in α-helix content under extreme pH conditions. Furthermore, the extended Derjaguin-Landau-Verwey-Overbeek (XDLVO) theory indicated that elevated protein concentrations enhance the adhesion of sludge and SMP to membrane surfaces. Insights from the Flory-Huggins theory demonstrated that variations in protein structure significantly contribute to increased filtration resistance within the gel layer. Both experimental data and theoretical models underscore the dual role of pH in optimizing VFAs production and managing membrane fouling, offering insights for enhancing AAMBR performance and mitigating fouling issues.