Intervertebral disc degeneration (IVDD) is a main cause of low back pain that is associated with extracellular matrix (ECM) degradation and inflammation. This study aims to investigate the role of DNMT3B and its regulatory mechanisms in IVDD. IVDD rat models were constructed followed by transfections with oe-DNMT3B or oe-YAP in order to explore the role of DNMT3B in the development of IVDD. After that transfection, nucleus pulposus (NP) cells were isolated and transfected with oe-DNMT3B, oe-TRPA1, si-YAP, oe-YAP or oe-COX2 in order to investigate the functions of DNMT3B in NP cells. DNMT3B was poorly expressed in IVDD tissues and NP cells whereas TRPA1, COX2, and YAP were highly expressed. The proliferation or apoptosis of NP cells was detected through CCK-8 assay or flow cytometry, respectively. Overexpression of DNMT3B promoted the proliferation of NP cells, inhibited their apoptosis, as well as increasing the expression of collagen II and aggrecan and decreasing expression of MMP3 and MMP9. Besides, DNMT3B suppressed inflammation and alleviated IVDD. Mechanistically, DNMT3B modified the TRPA1 promoter by methylation to inhibit the expression of COX2. Overexpression of COX2 promoted the apoptosis of NP cells and decreased the expression of YAP, which was reversed by upregulating DNMT3B. DNMT3B may promote the proliferation of NP cells and prevent their ECM degradation through the TRPA1/COX2/YAP axis, thereby alleviating IVDD in rats.