Shiga-toxigenic Escherichia coli (STEC) and enterotoxigenic E. coli (ETEC) can cause diarrhea in piglets. This is the first report and complete genome sequence of an extended-spectrum β-lactamase-producing hybrid STEC/ETEC strain isolated from a piglet with diarrhea on a swine farm in China. We investigated the virulence genes and phylogenetic diversity with publicly available E. coli genomes. Both E. coli strains S17-13 and S17-20 harbored multiple virulence genes, mainly including stx2e and eastA genes. Other important virulence genes (estIa, estIb, fedABCDEF, and hlyABCD) were located in the plasmid p1713-1 of S17-13, which could be transferred from E. coli S17-13 to S17-20 by conjugation. The presence of virulence genes associated with different pathogroups (STEC or ETEC) confirmed the hybrid status of E. coli strain S17-13. Phylogenetic analysis showed that STEC/ETEC S17-13, STEC S17-20, avian pathogenic E. coli (APEC) O78, and APEC ACN001 are located in the same evolutionary branch, indicating that they may originate from a common ancestor. It is crucial to understand the phylogeny of pathogenic bacteria to evaluate how they have evolved and to monitor the emergence of potential new pathogens. The emergence of novel hybrid E. coli strains presents a new public health risk. More attention must be paid to these hybrid pathogens during typing and epidemiological surveillance of E. coli infections, which challenges the traditional diagnostics of E. coli infections.