A surface-enhanced Raman scattering (SERS)-based immunocapture nanoprobe is described for the detection of pathogenic bacteria. The probe uses boronic acid-functionalized polydopamine-coated Au@Ag nanoparticles as an advanced SERS nanotag. Modified magnetic IgG@Fe3O4