Studies show that the majority of the population is at risk for magnesium deficiency due to a variety of lifestyle factors. Registered dietitian Amy Gorin speaks with CNET about why magnesium is important for sleep

Magnesium can help you sleep better, since the mineral can have a calming effect on your body.  Magnesium helps regulate the hormone melatonin, which is involved with controlling your circadian rhythm. Your circadian rhythm regulates many things in your body, including when you feel tired and how well you sleep. 

Many activities and habits can throw off your circadian rhythm, including exposing your eyes to blue light at night. If you are trying to optimize your circadian rhythm, or are trying to get better sleep with melatonin supplements, you should check that your magnesium levels are optimal since they work together to help you get better rest.

Get the full story at CNET.com.