Over the past decades, Escherichia coli (E. coli) have acquired extensive resistance to antibiotics; especially β- lactams. This study aimed to investigate the frequency of Extended-spectrum β-lactamase (ESBL) and carbapenemase producers among E. coli isolates and their correlation with serotypes, phylogenetic background, and pathogenicity associated islands. A total of 105 E. coli strains were isolated and subjected to antimicrobial susceptibility testing against β-lactam antibiotics. All isolates showed a high resistance profile. Resistant isolates were tested for ESBL and carbapenemase production. Fifty-three and 18 isolates were positive for ESBL and carbapenemase producers, respectively. ESBL and carbapenemase genes were detected by PCR. TEM gene was the most prevalent gene among all isolates followed by SHV and CTX-M15. In carbapenemase-producers, OXA-48 and IMP were the predominant genes. Enteropathogenic E. coli (EPEC) and Enterohemorrhagic E. coli (EHEC) were the major producers of ESBL and carbapenemase, respectively as indicated by serodiagnosis. They were further assessed for the presence of pathogenicity islands (PAIs) and phylogenetic background. The most predominant DEC PAI and ExPEC PAI were HPI and IICFT073. Most clinically ESBL-producers were group D and B2 while environmentally ones were group B1 and A. On contrary, clinically carbapenemase-producers belonged to group C and D. In conclusion, our study confirms the importance of phylogenetic group D, B2, and C origin for antibiotic resistance in E. coli. Ultimately, our findings support the fact that environmental isolates contribute to the local spread of E. coli pathogenicity in Egypt and these isolates maybe serve as reservoirs for transmission of resistance., Competing Interests: The authors have declared that no competing interests exist.