Magnesium increases GABA, which encourages relaxation as well asleep. Low GABA levels in the body can make it difficult to relax. Magnesium also plays a key role in regulating the body's stress-response system.