In this study, we show that matrine affects OPG and RANKL expression and plays a role in regulating osteoclast differentiation, providing treatment for RA. Here, TNFSF11 is linked to rheumatoid arthritis.