The environment disseminates antimicrobial-resistance genes; however, it remains challenging to distinguish whether human activities exacerbate antimicrobial resistance or what is natural. Here, we quantified ~300 resistance-related genes in 200+ Scottish soil samples. Location or land use does not explain gene differences, but nutrient levels reduce gene richness. Elevated levels of metals increased gene richness, and selenium increased transposase levels. Rainfall and persistent organic pollutants also increased transposase relative abundance, possibly promoting conditions conducive to the horizontal transfer of antimicrobial-resistance genes. Selenium and polychlorinated biphenyls were primary factors in gene abundance, while polychlorinated biphenyls, polycyclic aromatic hydrocarbons, and pH influenced gene diversity. Polychlorinated biphenyls are derived from anthropogenic activities, highlighting human activities’ potential impact on gene prevalence. This is the first national-scale, high spatial resolution dataset of antimicrobial-resistance genes in Scottish soils and provides a novel resource on which to build future studies.