Always take magnesium with meals, recommends the Mayo Clinic. Taking magnesium supplements on an empty stomach could cause side effects like diarrhea or nausea. Always take tablets whole ...