Staphylococcus aureus is one of the most important causes of mastitis in dairy cattle. Based on previous research, Staph. aureus genotypes with different pathogenic and contagious properties can cause intramammary infection (IMI) and coexist in the same herd. Our study aimed to compare Staph. aureus strains from herds that differed in IMI prevalence using different molecular approaches such as ribosomal spacer (RS)-PCR, multilocus sequence typing (MLST), spa typing, ribotyping, pulsed-field gel electrophoresis (PFGE), and multiplex PCR. For this purpose, 31 dairy herds with Staph. aureus IMI were selected, and 16 of these were chosen for a comparison study: the 8 high-prevalence (HP) herds had Staph. aureus IMI prevalence >28% and the 8 low-prevalence (LP) herds had an IMI prevalence <4%. A total of 650 isolates of Staph. aureus from mammary quarters of all positive cows were genotyped with RS-PCR, a technique based on amplification of a portion of the intergenic spacer 16S-23S rRNA, and a subset of 54 strains was also analyzed by multiplex PCR, ribotyping, PFGE, MLST, and spa typing. The RS-PCR analysis revealed 12 different profiles. Staphylococcus aureus strains isolated from 5 out of 8 HP herds showed a profile identical to the genotype B (GTB), described in previous studies as being strongly associated with high within-herd prevalence of Staph. aureus mastitis and the presence of the genes coding for enterotoxins sea, sed, and sej, a long x-region of spa gene, and 3 lukE fragments. Moreover, all strains isolated in the HP herds possessed genes coding for staphylococcal enterotoxins. In LP herds, a limited number of strains of 6 genotypes, different from those isolated in HP herds, were identified and GTB was not found. Within these genotypes, 4 strains were positive for the mecA gene. Preliminary results and comparison with other genotyping methods confirmed that genotyping by RS-PCR is an accurate, rapid, and inexpensive tool for future field studies on Staph. aureus mastitis strains and generates clinically relevant results.