Accurate measurement of aerosol pH is crucial for understanding atmospheric processes and mitigating haze pollution. However, online detection of aerosol pH is challenging due to the complex composition of single-particle matter and trace components. This study develops a sensitive and selective sensor for the online detection of aerosol pH using surface-enhanced Raman spectroscopy (SERS). A novel Fe 3 O 4 @SiO