We have fabricated surface-enhanced Raman scattering (SERS) substrates based on arrays of silver nanoparticles grown on porous anodic alumina templates. Using this nanotechnology platform, label-free and high-speed detection of bacteria are achieved. SERS spectra of various bacteria including Staphylococcus Aureus (Gram-positive bacterium), Klebsiella Pneumoniae (Gram-negative bacterium), and Mycobacterium Smegmatis (Mycobacterium) were recorded. The highly reproducible SERS-based technological platform is capable of differentiating different kinds of bacteria by PCA, LDA, clustering analysis, and SVM methods, which provides promising opportunity for biosensing of clinical microbes.