Magnesium citrate is best known for combatting constipation, while magnesium glycinate is preferable for anxiety, stress, and sleep. Magnesium citrate is an osmotic laxative, meaning it pulls water into the intestines and relaxes the bowels, which can soften stool and make it easier to pass.