eWastewater contains large amounts of pharmaceuticals, pathogens, and antimicrobial resistance determinants. Only a little is known about the dissemination of resistance determinants and changes in soil microbial communities affected by wastewater irrigation. Community DNAs from Mezquital Valley soils under irrigation with untreated wastewater for 0 to 100 years were analyzed by quantitative real-time PCR for the presence of sul genes, encoding resistance to sulfonamides. Amplicon sequencing of bacterial 16S rRNA genes from community DNAs from soils irrigated for 0, 8, 10, 85, and 100 years was performed and revealed a 14% increase of the relative abundance of Proteobacteria in rainy season soils and a 26.7% increase in dry season soils for soils irrigated for 100 years with wastewater. In particular, Gammaproteobacteria, including potential pathogens, such as Pseudomonas, Stenotrophomonas, and Acinetobacter spp., were found in wastewater-irrigated fields. 16S rRNA gene sequencing of 96 isolates from soils irrigated with wastewater for 100 years (48 from dry and 48 from rainy season soils) revealed that 46% were affiliated with the Gammaproteobacteria (mainly potentially pathogenic Stenotrophomonas strains) and 50% with the Bacilli, whereas all 96 isolates from rain-fed soils (48 from dry and 48 from rainy season soils) were affiliated with the Bacilli. Up to six types of antibiotic resistance were found in isolates from wastewater-irrigated soils; sulfamethoxazole resistance was the most abundant (33.3% of the isolates), followed by oxacillin resistance (21.9% of the isolates). In summary, we detected an increase of potentially harmful bacteria and a larger incidence of resistance determinants in wastewater-irrigated soils, which might result in health risks for farm workers and consumers of wastewater-irrigated crops.