In this study,Staphylococcus aureusstrains (n = 110) isolated from seven ewe flocks in Sanliurfa, Turkey were screened for antibiotic resistance and biofilmforming ability as well as for genes associated with antibiotic resistance and biofilm-forming ability. All isolates were found to be susceptible to oxacillin, gentamicin, clindamycin, cefoxitin, tetracycline, vancomycin, amoxicillin-clavulanic acid, ciprofloxacin and sulphamethoxazole-trimethoprim. The percent proportions of strains resistant to penicillin G, ampicillin and erythromycin were 27.2% (n = 30), 25.4% (n = 28) and 6.3% (n = 7), respectively. Regarding the antibiotic resistance genes, 32 (29%) isolates carried theblaZ and 8 (7.2%) theermC gene. Other resistance genes were not detected in the isolates. All isolates showed biofilm-forming ability on Congo red agar (CRA), while 108 (98.18%) and 101 (91.81%) of them were identified as biofilm producers by the use of standard tube (ST) and microplate (MP) methods, respectively. All isolates carried theicaA andicaD genes but none of them harboured thebapgene. The results demonstrated thatS. aureusisolates from gangrenous mastitis were mainly resistant to penicillins (which are susceptible to the staphylococcal beta-lactamase enzyme), and less frequently to erythromycin. Furthermore, all of theS. aureusisolates produced biofilm which was considered a potential virulence factor in the pathogenesis of staphylococcal mastitis.