Most magnesium supplements don't cross the blood-brain barrier, so they can't directly affect sleep. The research showing magnesium helps sleep was done on deficient people — topping up someone who's already at normal levels does nothing for sleep. The result? Probably just expensive urine.