Overall, these findings suggest that melatonin directly regulates the late stage of osteoblast differentiation by enhancing Osterix expression; this provides further evidence of melatonin as a potent agent for treating osteoporosis. The gene discussed is SP7; the disease is osteoporosis.