Yes, pneumonia can cause diarrhea, though it is not the most common symptom
Diarrhea during pneumonia happens in two main ways. First, some of the bacteria, viruses, or fungi that cause pneumonia can also irritate your digestive tract directly, leading to loose stools. Second, the fever and inflammation from pneumonia can upset your stomach and intestines. Additionally, antibiotics prescribed to treat bacterial pneumonia frequently cause diarrhea as a side effect — sometimes this is mild, and sometimes it signals a more serious secondary infection that needs attention.
The diarrhea itself is usually not dangerous, but it matters because it can lead to dehydration when you are already fighting an infection. Losing fluids through diarrhea while running a fever makes your body work harder to recover. If diarrhea is severe or lasts more than a few days, or if you see blood in your stool, you should contact your doctor rather than waiting it out.
Key Takeaways
- Diarrhea during pneumonia can come from the infection itself, from fever and inflammation, or from antibiotics used to treat the pneumonia.
- Staying hydrated is especially important when you have both pneumonia and diarrhea, since your body is losing fluids in two ways.
- Mild diarrhea that resolves within a few days is common and usually not a sign of a separate problem.
- Severe diarrhea, diarrhea lasting more than a few days, or diarrhea with blood should be reported to your doctor.
- A specific type of diarrhea caused by antibiotic use (C. difficile infection) requires medical treatment and should not be managed at home.
How the pneumonia infection itself causes diarrhea
The organisms that cause pneumonia — bacteria like Streptococcus pneumoniae, viruses like influenza, or fungi — do not stay only in your lungs. Some of these pathogens can reach your digestive tract through your bloodstream or through swallowed respiratory secretions. Once there, they trigger inflammation in your stomach and intestines, which speeds up how quickly food moves through your system and results in loose stools.
Viral pneumonias are more likely to cause diarrhea than bacterial ones, because viruses that infect the respiratory tract often also infect the gut. Influenza pneumonia, for example, frequently comes with gastrointestinal symptoms including diarrhea, nausea, and vomiting. The diarrhea usually appears early in the illness and often improves as the pneumonia itself improves.
Diarrhea from fever and systemic inflammation
Pneumonia triggers a whole-body inflammatory response — your immune system is fighting the infection, and this creates fever, body aches, and changes throughout your system. High fever can disrupt normal digestive function and cause loose stools even if the infection has not directly invaded your gut. This type of diarrhea is usually mild and watery rather than severe.
As your fever comes down — either on its own or with fever-reducing medication — this type of diarrhea typically improves. It is one of several ways your body signals that it is under stress from infection.
Antibiotic-related diarrhea and when it matters
If you are taking antibiotics for bacterial pneumonia, diarrhea is a well-known side effect. Antibiotics kill not only the bacteria causing pneumonia but also some of the beneficial bacteria in your gut that help regulate digestion. This imbalance can cause loose stools, usually mild, that start during treatment and may continue for a week or two after you finish the course.
Most antibiotic-related diarrhea is mild and does not require treatment beyond staying hydrated. However, in some cases antibiotics can allow an overgrowth of a bacterium called Clostridioides difficile (often called C. difficile or C. diff), which produces toxins that cause severe diarrhea, cramping, and fever. This is less common but more serious. Signs that you may have C. difficile infection include diarrhea that is watery and frequent (more than three times daily), severe abdominal pain, fever above 102°F, or blood or mucus in your stool. If you notice these symptoms, contact your doctor — this condition requires specific medical treatment and should not be managed at home.
Staying hydrated when you have both pneumonia and diarrhea
Diarrhea combined with pneumonia puts you at higher risk for dehydration because you are losing fluids in multiple ways: through fever and sweating, through coughing, and through loose stools. Dehydration makes it harder for your body to fight the infection and can make you feel worse overall.
Drink water regularly throughout the day, even if you do not feel thirsty. Oral rehydration solutions (drinks designed to replace electrolytes lost through diarrhea, available at any pharmacy without a prescription) are more effective than plain water alone if diarrhea is significant. Avoid caffeine, alcohol, and high-fat foods, which can worsen diarrhea. Broths, weak tea, and bland foods like crackers or toast are usually tolerated better when your stomach is upset.
When to contact your doctor about diarrhea during pneumonia
Mild diarrhea that lasts a few days and improves as your pneumonia improves is normal and usually does not need separate treatment. However, contact your doctor if diarrhea is severe (more than six loose stools daily), lasts longer than three to five days, includes blood or mucus, is accompanied by severe cramping or fever above 102°F, or if you show signs of dehydration such as dark urine, extreme thirst, dizziness, or confusion.
Also report diarrhea to your doctor if it starts after you have already begun feeling better from pneumonia, or if it starts more than a few days after you began antibiotics — these patterns can signal a secondary infection like C. difficile that needs treatment. Your doctor may ask about the appearance and frequency of your stools, whether you have abdominal pain, and whether you have other symptoms, so having those details ready is helpful.
Other digestive symptoms that can occur with pneumonia
Diarrhea is not the only digestive symptom pneumonia can cause. Nausea, vomiting, and loss of appetite are also common, especially with viral pneumonias. Some people experience abdominal discomfort or cramping. These symptoms usually improve as the pneumonia itself improves, though they can make it harder to eat and drink enough to support recovery.
If vomiting is severe or prevents you from taking medications or staying hydrated, tell your doctor. Persistent loss of appetite that lasts more than a week may also warrant a call, since adequate nutrition supports your immune system's fight against infection.
Frequently Asked Questions
Is diarrhea a sign that pneumonia is getting worse?
Not necessarily. Diarrhea can appear early in pneumonia and often improves as the pneumonia improves. However, if diarrhea is new or worsening while other pneumonia symptoms are also worsening, or if it is accompanied by severe abdominal pain or high fever, contact your doctor to rule out a secondary infection.
Can I take over-the-counter anti-diarrhea medication while I have pneumonia?
Check with your doctor before using anti-diarrhea medications like loperamide (Imodium) or bismuth subsalicylate (Pepto-Bismol). These can sometimes trap bacteria or toxins in your system and make certain infections worse. Your doctor can advise whether it is safe in your specific situation.
How long does diarrhea last when you have pneumonia?
Diarrhea caused by the pneumonia infection itself usually lasts a few days to a week and improves as the pneumonia improves. Antibiotic-related diarrhea may continue for one to two weeks after you finish the course of antibiotics. If diarrhea lasts longer than that, contact your doctor.
Can diarrhea make pneumonia worse?
Diarrhea itself does not make pneumonia worse, but the dehydration it causes can slow your recovery. Losing fluids through diarrhea while also fighting a respiratory infection puts extra stress on your body, so staying hydrated is important.
What should I eat if I have pneumonia and diarrhea?
Stick to bland, easy-to-digest foods: crackers, toast, rice, applesauce, bananas, broth, and weak tea. Avoid dairy, high-fat foods, spicy foods, and high-fiber foods until the diarrhea improves. Eat small amounts frequently rather than large meals, and prioritize staying hydrated over eating solid food if your stomach is very upset.