But magnesium does help you get proper sleep, so it can be responsible for more vivid dreams. It's important to remember that magnesium supports the nervous system and it's responsible for neurotransmitter regulation. So, because of this, it's going to send signals to your nervous system and brain.