Quercetin upregulates Wnt/β-catenin signaling while inhibiting NF-κB signaling, thereby restoring osteogenesis in MSC compromised by TNFα-induced osteoporosis. The gene discussed is NFKB1; the disease is osteoporosis.