A number of websites claim that sugar cravings may be a sign of a magnesium deficiency.
For example: Genesis Medical Scheme is one of many sites that carry an article that claims:
Magnesium regulates glucose and insulin levels, as well as the neurotransmitter dopamine. A deficiency will cause intense sugar cravings, especially for chocolate.
Does magnesium deficiency lead to people craving sugar?