The objective was to examine the prevalence of extended-spectrum β-lactam (ESBL) resistance among Shiga toxigenic Escherichia coli (STEC) isolated from raw milk. The findings from disc diffusion analysis and polymerase chain reaction revealed a high occurrence of ESBL resistance, specifically to penicillins, cephalosporins, and carbapenems, in isolated STEC strains. Additionally, a distinct sequence type of STEC was also identified in milk through comparative analysis.