Antimicrobial resistance (AMR) is a public health problem threatening human, animal, and environmental safety. This study assessed the AMR profiles and risk factors associated with Escherichia coli in hospital and environmental settings in Lusaka, Zambia. This cross-sectional study was conducted from April 2022 to August 2022 using 980 samples collected from clinical and environmental settings. Antimicrobial susceptibility testing was conducted using BD PhoenixTM 100. The data were analysed using SPSS version 26.0. Of the 980 samples, 51% were from environmental sources. Overall, 64.5% of the samples tested positive for E. coli, of which 52.5% were from clinical sources. Additionally, 31.8% were ESBL, of which 70.1% were clinical isolates. Of the 632 isolates, 48.3% were MDR. Most clinical isolates were resistant to ampicillin (83.4%), sulfamethoxazole/trimethoprim (73.8%), and ciprofloxacin (65.7%) while all environmental isolates were resistant to sulfamethoxazole/trimethoprim (100%) and some were resistant to levofloxacin (30.6%). The drivers of MDR in the tested isolates included pus (AOR = 4.6, CI: 1.9–11.3), male sex (AOR = 2.1, CI: 1.2–3.9), and water (AOR = 2.6, CI: 1.2–5.8). This study found that E. coli isolates were resistant to common antibiotics used in humans. The presence of MDR isolates is a public health concern and calls for vigorous infection prevention measures and surveillance to reduce AMR and its burdens.