Pseudomonas aeruginosa can cause major infection in immunocompromised patients, and successful antibiotic treatment of the infection relies on accurate and rapid identification of the infectious agents. Here, we reported a culture-free diagnostic method based on the surface-enhanced Raman spectroscopy (SERS) of pyocyanin (PCN), a major biomarker of P. aeruginosa. This platform can detect PCN as low as 5 ppb or 2.38 × 10−8 mol L−1 in both aqueous solutions and spiked clinical sputum samples. It has also been used to dynamically monitor the excretion of PCN by P. aeruginosa during its growth. The presence of PCN has been detected by SERS in 15 clinical sputum samples, which indicates P. aeruginosa infection, with 95.6% sensitivity and 93.3% specificity. The system can advantageously process multiple specimens rapidly, overcomes the need for bacterial culture and diagnostic microbiology assays, and have widespread implications in the early detection of P. aeruginosa infection.