Magnesium is well known for its ability to relieve insomnia. One study found that it helps decrease cortisol, the “stress hormone” that can keep you up at night. It also helps muscles relax, to give you that calm “sleepy” feeling and help you unwind after a long day.
If insomnia isn't it then you may have a slight case of anxiety