Using pharmacophore target analysis in a network pharmacology approach, we identified five potential target genes for celastrol in the treatment of type 2 diabetes, including RBP3, BMP7, S100A11, HBB and IQUB. The gene discussed is S100A11; the disease is type 2 diabetes mellitus.