Our findings demonstrated that E2 and vitamin D exhibited synergistic efficacy in preventing osteoporosis by modulating the miR-351-5p/IRS1 axis and inhibiting the mTOR/NFκB signaling pathway. The gene discussed is NFKB1; the disease is osteoporosis.