The aim of this study was to test the diversity of a population of 82 strains of S. aureus isolated from cows with mastitis in the east of Poland. The isolates were typed by analysis of the number of repeats of 24 bp sequences in the X region of protein A (spa) gene and restriction fragment length polymorphism (RFLP) of the coagulase (coa) gene. Twelve different spa types were distinguished. Amplification of region X gave, in 79 cases, one stripe. In a scope of 100-364 bp 10 different products (genotypes) of amplification reaction were defined. For one strain two stripes were obtained and two strains did not contain the spa gene. The most prevalent strains had 10, 11 and 12 repeats of 24 bp sequences, which represented respectively 18%, 30% and 13% of all strains tested. The presence of any strain containing 4 or 9 sequence was not observed. In the case of analysis of the polymorphism of the coagulase gene, 13 different genotypes were identified. The most frequently appearing genotype is genotype C, in which case an amplification product is digested into three DNA fragments: 410, 320 and 160 bp. To this genotype belong 43 strains, which constitute 52% of the examined population. A significant improvement in discriminatory power was observed when results from both genes were analyzed simultaneously. In an analyzed group of 82 strains, 24 genotypes were isolated.