Magnesium citrate, while generally safe, can cause side effects such as diarrhea, stomach pain, dehydration, nausea and vomiting.