Melatonin alleviated osteoporosis by suppressing NLRP3 activation through the Wnt/β-catenin pathway. Here, NLRP3 is linked to osteoporosis.