High doses of magnesium from supplements or medications can cause nausea, abdominal cramping and diarrhea. In addition, the magnesium in supplements can interact with some types of antibiotics and other medicines.