The western blot, qRT‒PCR, and double immunofluorescence staining results indicated that BBG decreased Rab27a and IL-1β expression, suggesting that microglial P2X7R-mediated exosome secretion may be a novel mechanism of pulpitis pain. This evidence concerns the gene RAB27A and pulpitis.