A laboratory study was conducted to investigate the impacts of bioremediation on microbial communities and various nitrogen shifts in petroleum contaminated soil by using GC-MS and Illumia MiSeq technique. Results showed the concentrations of alkane reduced from 25987.8 mg·kg-1 to 12788.6 mg·kg-1, and the concentrations of polycyclic aromatic hydrocarbons (PAHs) decreased from 5322.9 mg·kg-1 to 2917.2 mg·kg-1. Illumia MiSeq results showed that soil microbial communities shifted significantly after remediation, and the relative abundance of some phylum of hydrocarbon degraders (Firmicutes, Bacterodetes), and some genus of degraders (Dietzia, Acinetobacter) increased. Besides, the contents of total nitrogen and ammonia nitrogen increased firstly and then decreased during remediation. However, the contents of nitrate nitrogen decreased at the early stage, and then kept stable in the later stage of remediation. It can be concluded that bioremediation effectively promoted petroleum hydrocarbon degradation, and the different fractional hydrocarbon degradation was related to the relative abundance of hydrocarbon degraders and available nitrogen contents.