Come and gate it: DNA-capped mesoporous silica nanoparticles loaded with a dye are used to detect the common contaminate Mycoplasma in real contaminated cell-culture media without needing polymerase chain reaction (PCR) techniques, at a detection limit in the range of 70 DNA genome copies µL-1.