Magnesium supplements should be taken with meals. Taking magnesium supplements on an empty stomach may cause diarrhea.