The emergence and rapid increase in the incidence of multidrug-resistant (MDR) bacteria in pig farms has become a serious concern and reduced the choice of effective antibiotics. This study analyzed the phylogenetics and diversity of antibiotic resistance genes (ARGs) and molecularly identified the source of ARGs in antibiotic-resistant Escherichia coli isolated from pig farms in Banten Province, Indonesia. Forty-four antibiotic-resistant E. coli isolates from fecal samples from 44 pig farms in Banten Province, Indonesia, were used as samples. The samples were categorized into 14 clusters. Sequencing was performed using the Oxford Nanopore Technologies MinION platform, with barcoding before sequencing with Nanopore Rapid sequencing gDNA-barcoding (SQK-RBK110.96) according to manufacturing procedures. ARG detection was conducted using ResFinder, and the plasmid replicon was determined using PlasmidFinder. Three phylogenetic leaves of E. coli were identified in the pig farming cluster in Banten Province. The E. coli isolates exhibited potential resistance to nine classes of antibiotics. Fifty-one ARGs were identified across all isolates, with each cluster carrying a minimum of 10 ARGs. The ant(3'')-Ia and qnrS1 genes were present in all isolates. ARGs in the E. coli pig farming cluster originated mainly from plasmids, accounting for an average of 89.4%. The elevated potential for MDR events, coupled with the dominance of ARGs originating from plasmids, increases the risk of ARG spread among bacterial populations in animals, humans, and the environment.