In the present study, we found for the first time that the activating transcription factor ATF3 was aberrantly expressed in pulpitis and that the ATF3/WNT4 axis promoted the osteogenic differentiation of pulp stem cells by modulating the polarization and inflammatory response of M2 macrophages. The gene discussed is WNT4; the disease is pulpitis.