When pulp tissue is damaged by caries or trauma, vital pulp therapy (VPT) can help preserve the pulp tissue for long-term retention of teeth. However, the choice of pulp capping agent used in VPT is important for the successful preservation of the pulp tissue. Here we investigated the expression and biological function of human βdefensin 4 (HBD4) in dental pulp stem cells (DPSC) and explored its potential as a pulp capping agent. We examined the expression of HBD4 in DPSC in vitro using qPCR and immunofluorescence staining. We also looked at the effect of HBD4 on inflammatory factors in lipopolysaccharide (LPS)-stimulated DPSC, and its effects on mineralizing cell phenotype differentiation, via qPCR and western blot. Finally, we examined the ability of HBD4 to promote the restoration of the pulp-dentin complex in vivo, using male Wistar rats with reversible pulpitis. We found HBD4 was highly expressed in DPSC stimulated by TNF-α and IL-1α. HBD4 down-regulated the expression of inflammatory mediators (i.e., IL-1α, IL-1β, IL-6, TNF-α) in LPS-stimulated DPSC, and suppressed MAPK activity and the NF-κB pathway. HBD4 also enhanced the differentiation of DPSC into osteoblasts or odontoblasts, potentially by modulating the Notch pathway. Furthermore, HBD4 controlled the degree of pulp inflammation in a rat model of reversible pulpitis and induced the formation of restorative dentin. Together our findings indicate HBD4 may be a useful pulp capping agent for use in VPT.