This study aimed to investigate the prevalence and genetic characterization of enterococcal isolates (Enterococcus faecalis, Enterococcus faecium and Enterococcus hirae) isolated from clinical bovine mastitis cases in Ningxia, China. The enterococci were identified by 16S rRNA amplification and sequencing. Antimicrobial resistance was determined by disc diffusion method. Virulence and antimicrobial resistance genes were detected by PCR assays. Overall, 198 enterococcal isolates were identified from 2897 mastitis samples, including 137 (4.7%) E. faecalis, 50 (1.7%) E. faecium and 11 (0.4%) E. hirae. E. faecalis, E. faecium and E. hirae isolates showed high resistance to tetracycline (92.7%, 68.0%, 90.9%), followed by erythromycin (86.9%, 76.0%, 72.7%). The multidrug-resistant strains of E. faecalis and E. faecium were 29 (21.2%) and 13 (26.0%), respectively. The resistance of E. faecalis, E. faecium and E. hirae isolates to tetracycline is mainly attributed to the presence of tetL (alone or combined with tetM and/or tetK), the erythromycin resistance to ermB (alone or combined with ermC and/or ermA). Moreover, cpd (94.2%), gelE (77.4%), efaAfs (93.4%), and esp (79.6%) were the most common virulence genes in E. faecalis. In E. faecium, except for the gene efaAfs (82.0%), other virulence genes are rarely found. Only two strains of E. hirae carrying asa1 gene were detected. The results of this study can provide a reference for the prevention and treatment of bovine mastitis caused by enterococci.