Purpose: To identify the cause of pelvic inflammatory disease (PID) in Shanxi, North China. Methods: Retrospective analysis of 1,922 women with PID who underwent laparoscopy for infertility. Results: 1,922 cases (42.3%) of PID were detected in 4,540 cases of infertility, wherein the incidence rates of nonspecific PID and female genital tuberculosis (FGTB) were 57.9 and 42.1%, respectively. From 1985 to 1995, FGTB (25.1%) was the first reason for infertility, while from 1996 to 2006, nonspecific PID (33.9%) emerged as the most common cause of infertility. Further, FGTB (74.7%) was the major factor causing occluded fallopian tubes, followed by nonspecific PID (61.1%), and the damage of the former was more serious than the latter. Conclusions: PID is the main cause of tubal infertility, but the etiology of PID has changed from FGTB to nonspecific PID in the last 10 years in Shanxi.