The role of dental pulp cells (DPCs) in hard dental tissue regeneration had received increasing attention because DPCs can differentiate into odontoblasts and other tissue-specific cells. In recent years, epigenetic modifications had been identified to serve an important role in cell differentiation, and histone deacetylase (HDAC) inhibitors have been widely studied by many researchers. However, the effects of HDAC4 and HDAC5 on the differentiation of DPCs and the precise molecular mechanisms remain unclear. The present study demonstrated that LMK-235, a specific human HDAC4 and HDAC5 inhibitor, increased the expression of specific odontoblastic gene expression levels detected by reverse transcription-quantitative polymerase chain reaction (RT-qPCR) in dental pulp cells, and did not reduce cell proliferation tested by MTT assay after 3 days in culture at a low concentration. In addition, the mRNA and protein expression levels of dentin sialophosphoprotein, runt-related transcription factor 2, alkaline phosphatase (ALP) and osteocalcin were evaluated by RT-qPCR and western blotting, respectively. The increased gene and protein expression of specific markers demonstrated, indicating that LMK-235 promoted the odontoblast induction of DPCs. ALP activity and mineralised nodule formation were also enhanced due to the effect of LMK-235, detected by an ALP activity test and Alizarin Red S staining, respectively. Additionally, the vascular endothelial growth factor (VEGF)/RAC-gamma serine/threonine-protein kinase (AKT)/mechanistic target of rapamycin (mTOR) signalling pathway was tested to see if it takes part in the differentiation of DPCs treated with LMK-235, and it was demonstrated that the mRNA expression levels of VEGF, AKT and mTOR were upregulated. These findings indicated that LMK-235 may serve a key role in the proliferation and odontoblast differentiation of DPCs, and could be used to accelerate dental tissue regeneration.