In the current study, the expression of CYP51A1 was inhibited, which will cause the upregulation of the NF-κB signaling pathway, leading to the upregulation of TNF-α, which will then trigger an inflammatory reaction and aggravate the symptoms of diabetes. This evidence concerns the gene TNF and diabetes mellitus.