Antibiotics and constipation. Antibiotics have the potential to disrupt helpful bacteria in the gut. This is the cause of many gastrointestinal problems, including diarrhea, upset stomach, nausea, and constipation. Diarrhea is much more common effect of antibiotics than constipation.