Thousands of unlined landfills and open dumpsites seriously threatened the safety of soil and groundwater due to leachate leakage with a mass of pollutants, particularly heavy metals, organic contaminants and ammonia. Phytoremediation is widely used in the treatment of cocontaminated soils because it is cost-effective and environmentally friendly. However, the extent to which phytoremediation efficiency and plant physiological responses are affected by the high nitrogen (N) content in such cocontaminated soil is still uncertain. Here, pot experiments were conducted to investigate the effects of N addition on the applicability of legume alfalfa remediation for polycyclic aromatic hydrocarbon‑cadmium (PAHCd) co-/contaminated soil and the corresponding microbial regulation mechanism. The results showed that the PAH dissipation rates and Cd removal rates in the high-contamination groups increased with the external N supply, among which the pyrene dissipation rates in the cocontaminated soil was elevated most significantly, from 78.10% to 87.25%. However, the phytoremediation efficiency weakened in low cocontaminated soil, possibly because the excessive N content had inhibitory effects on the rhizobium Ensifer and restrained alfalfa growth. Furthermore, the relative abundance of PAH-degrading bacteria in the rhizosphere dominated PAH dissipation. As reflected by principal coordinate analysis (PCoA) analysis and hierarchical dendrograms, the microbial community composition changed with N addition, and a more pronounced shift was found in the rhizosphere relative to the endosphere or shoots of alfalfa. This study will provide a theoretical basis for legume plant remediation of dumpsites as well as soil contaminated with multiple pollutants.