Mangrove sediment is susceptible to anthropogenic pollutants, including polycyclic aromatic hydrocarbons (PAHs). However, the effects of PAHs on the bacterial diversity in mangrove sediment have been rarely studied. In the present study, the effects of three types of PAHs (Naphthalene, Fluorene, and Pyrene) at three doses on sediment microbial populations were investigated by using denaturing gradient gel electrophoresis (DGGE). After 7 and 24 days of incubation of the three types of PAHs, markedly different patterns were observed in the bacterial communities. Overall, the diversity of bacterial community was suppressed before 7 days but was promoted after 24 days. Multidimensional scaling analysis suggested that the composition of bacterial communities after 7 days was distinctly distant from that after 24 days. Also despite a slight shift of bacterial abundance, the bacterial communities were relatively steady in these sediments after exposure to PAHs. In addition, DGGE suggested that the applications of three PAHs (especially PYR) had considerable effects on bacterial communities. For phylogenetic analysis, bacteria species belonging to Proteobacteria (α-, β-, and γ-), Actinobacteria, Chloroflexi, Bacteroidetes, and Planctomycetes were changed dramatically after treatment with PAHs. These results suggest that PAHs play key roles in the change of bacterial community, which may be important for understanding the relationship between PAHs and sediment microbial ecology.