Biofilm formation by 30 Staphylococcus aureus dairy isolates and their control by phytochemicals were investigated. The majority of strains were biofilm positive by phenotypic analysis. The nuc and icaA genes were present in 30 and 27 strains, respectively. In addition, 13 strains were positive for all nuc, clfA, fnbA and icaA genes. The antimicrobial and antibiofilm activities of citral, cinnamaldehyde, eugenol, farnesol, limonene and terpinen‐4‐ol were also evaluated for seven strains. It was shown that the use of farnesol, cinnamaldehyde or terpinen‐4‐ol at a concentration of 2 mg/mL could be at least 80% effective on S. aureus strains and their biofilms.