Magnesium

    Magnesium is an essential mineral involved in muscle function, energy production, nerve signaling, and sleep, and many people fall short of optimal intake.

    Key facts

    • Involved in hundreds of bodily processes.
    • Supports muscle function, energy, and sleep.
    • Found in nuts, seeds, greens, and whole grains.
    • Supplementing may help if intake is low.

    Magnesium is a workhorse mineral involved in hundreds of reactions in the body, including muscle contraction, energy production, nerve function, and sleep regulation. For active people, adequate magnesium supports normal muscle function and recovery, and low levels can contribute to cramps, fatigue, and poor sleep.

    It's found in foods like nuts, seeds, leafy greens, legumes, and whole grains, but many people don't get optimal amounts. If your diet is low in these foods, a supplement may help — particularly with sleep quality and muscle relaxation. As with most micronutrients, food first, supplement to fill the gap.

    Frequently asked questions

    Does magnesium help with sleep and cramps?

    It can, especially if your intake is low. Magnesium supports muscle relaxation and sleep, so correcting a shortfall may reduce cramps and improve sleep quality.

    What foods are high in magnesium?

    Nuts, seeds, leafy green vegetables, legumes, and whole grains are good sources. A varied diet built around these often meets your magnesium needs.

    Put it into practice with Repit

    Track your training and nutrition with AI-powered coaching in the Repit Fitness app.

    AppleGet the app