Medically reviewed by Lindsay Cook, PharmD Magnesium is one of many common supplements used to help with sleep. You can also improve sleep by taking magnesium with OTC and prescription sleep ...