Gene expression profiles and bioinformatics analysis confirmed that M0 macrophages and neutrophils play an irreplaceable role in pulpitis immunity, and the critical genes in the immune reaction to pulpitis are suggested to be IL-6, TNF-α, IL-1β, CXCL8, and CCL2. This evidence concerns the gene IL1B and pulpitis.