Generally, magnesium glycinate is recognized as the best form of magnesium to help with sleep because it’s easy for the body to absorb. Though the effects of magnesium on sleep are not completely known or understood, some believe that its effects on muscle contraction and nervous system regulation help improve sleep.