Dimethyl phthalate (DMP), a known endocrine disruptor and one of the phthalate esters (PAEs), is a ubiquitous pollutant. Its impacts on living organisms have aroused great concern. In this study, the impacts of DMP contamination on bacterial communities and functions were tested by using microcosm model in black soils. The results showed that the operational taxonomic unit (OTUs) richness and bacterial diversity were reduced by DMP contamination. The relative percentages of some genera associated with nitrogen metabolism were increased by DMP contamination, while the relative percentages of some other genera that were extremely beneficial to soil health were decreased by DMP contamination. Further, the relative percentages of some genera that possessed the capability to degrade DMP were increased by the DMP treatment at low concentrations (5, 10, and 20 mg/kg), but were decreased by the high concentration DMP treatment (40 mg/kg). Clearly, DMP contamination changed the bacterial community structure and disturbed the metabolic activity and functional diversity of the microbes in black soils. Our results suggest that DMP pollution can alter the metabolism and biodiversity of black soil microorganisms, thereby directly impact fertility and ecosystem functions.