A colorimetric test is described for the rapid detection of Staphylococcus aureus (SA). Gold nanorods (AuNRs) are first labeled with urease and yolk immunoglobulin (IgY). This probe can specifically bind SA. In the next step, nonspecific magnetic beads and sample are added. This leads to the formation of the AuNR-IgY-SA-nMB immunocomplex which is then magnetically separated. Finally, a solution of urea is added to the supernatant. Ureases catalyzes the decomposition of urea which results in an increase in the pH value. The increase in the pH value is detected by using a phenolphthalein test paper which undergoes a color change from white to pink. The analytical process can be completed within 20min. The method is highly specific and can detect as little as 476cfu·mL-1. It was verified by analyzing contaminated Chinese cabbage and beef samples, and 1000cfu·mL-1 of SA were accurately detected. Graphical abstract Schematic representation of a colorimetric method for the detection of Staphylococcus aureus based on the immunocomplex formed from dual-labeled gold nanorod (AuNR) probe, bacteria and non-specific magnetic bead (nMB). This method can be completed within 20min.