ABSTRACT: In order to estimate herd-level prevalence of extended-spectrum ?-lactamase/AmpC ?-lactamase (ESBL/AmpC)- and carbapenemase-producing commensal Escherichia coli in ruminants in the Basque Country (northern Spain), a cross-sectional survey was conducted in 2014 to 2016 in 300 herds using selective isolation. ESBL-/AmpC-producing E. coli was isolated in 32.9% of dairy cattle herds, 9.6% of beef cattle herds, and 7.0% of sheep flocks. No carbapenemase-producing E. coli was isolated. Phenotypic antimicrobial susceptibility determined by broth microdilution using EUCAST epidemiological cutoff values identified widespread coresistance to extended-spectrum cephalosporins and other antimicrobials (110/135 isolates), particularly tetracycline, sulfamethoxazole, trimethoprim, and ciprofloxacin. All isolates were susceptible to tigecycline, imipenem, meropenem, and colistin. The genomes of 66 isolates were sequenced using an Illumina NovaSeq 6000 and screened for antimicrobial resistance determinants against ResFinder and PointFinder. The plasmid/chromosomal locations of resistance genes were predicted with PlasFlow, and plasmid replicons were identified using PlasmidFinder. Fifty-two acquired resistance genes and point mutations in another four genes that coded for resistance to 11 antimicrobial classes were identified. Fifty-five genomes carried ESBL-encoding genes, bla CTX-M-14 being the most common, and 11 carried determinants of the AmpC phenotype, mostly the bla CMY-2 gene. Additionally, genes coding for ?-lactamases of the CTX-M group 9 were detected as well as the sporadic presence of bla SHV-12, bla CMY-4, and a point mutation in the ampC promoter. Only a bovine isolate coharbored more than one ESBL/AmpC genetic determinant (bla CTX-M-14 and a mutation in the ampC promoter), confirming its ESBL- and AmpC ?-lactamase-producing phenotype. Most ESBL/AmpC genes were located in IncI1 plasmids, which also carried a great variety of other antimicrobial resistance genes.IMPORTANCE Extended-spectrum ?-lactamase (ESBL)- and AmpC ?-lactamase (AmpC)-producing E. coli isolates have emerged in recent years as some of the fastest spreading antimicrobial resistance determinants in humans and food-producing animals, becoming a concern for animal and public health. This study provided insight into the prevalence of cefotaxime-resistant E. coli in cattle and sheep in the Basque Country and the associated genetic determinants of antimicrobial resistance. These constituted an important contribution to the limited repository of such data for cattle in the region and for sheep worldwide. Antimicrobial susceptibility testing by phenotypic and molecular methods is key in surveillance programs to enhance early detection of resistance development, monitor resistance trends, and provide guidance to clinicians in selecting the adequate therapy.