The effects of long-term ammunition pollution on microecological characteristics were analyzed to formulate microbial remediation strategies. Specifically, the response of enzyme systems, N/O stable isotopes, ion networks, and microbial community structure/function levels were analyzed in long-term (50 years) ammunition-contaminated water/sediments from a contamination site, and a compound bacterial agent capable of efficiently degrading trinitrotoluene (TNT) while tolerating many heavy metals was selected to remediate the ammunition-contaminated soil. The basic physical and chemical properties of the water/sediment (pH (up: 0.57–0.64), nitrate (up: 1.31–4.28 times), nitrite (up: 1.51–5.03 times), and ammonium (up: 7.06–70.93 times)) were changed significantly, and the significant differences in stable isotope ratios of N and O (nitrate nitrogen) confirmed the degradability of TNT by indigenous microorganisms exposed to long-term pollution. Heavy metals, such as Pb, Zn, Cu, Cd, Cs, and Sb, have synergistic toxic effects in ammunition-contaminated sites, and significantly decreased the microbial diversity and richness in the core pollution area. However, long-term exposure in the edge pollution area induced microorganisms to use TNT as a carbon and nitrogen sources for life activities and growth and development. The Bacteroidales microbial group was significantly inhibited by ammunition contamination, whereas microorganisms such as Proteobacteria, Acidobacteriota, and Comamonadaceae gradually adapted to this environmental stress by regulating their development and stress responses. Ammunition pollution significantly affected DNA replication and gene regulation in the microecological genetic networks and increased the risk to human health. Mg and K were significantly involved in the internal mechanism of microbial transport, enrichment, and metabolism of TNT. Nine strains of TNT-utilizing microbes were screened for efficient TNT degradation and tolerance to typical heavy metals (copper, zinc and lead) found in contaminated sites, and a compound bacterial agent prepared for effective repair of ammunition-contaminated soil significantly improved the soil ecological environment.