Ten hub genes of pulpitis (PTPRC, TLR8, CD86, IL6, CCL2, MMP9, CXCL8, SPI1, ICAM1 and LCP2) were identified from the PPI network, and the possible mechanisms by which hub genes induce inflammation were investigated by GSEA and found to involve the complement system, IL6/JAK/STAT3 signalling pathway and inflammatory response pathways. The gene discussed is TLR8; the disease is pulpitis.