Burps that smell like rotten eggs usually mean hydrogen sulfide gas is reaching your mouth from your gut. That gas is produced when bacteria in your digestive tract break down sulfur-containing compounds. When those same burps come with diarrhea, the most likely explanation is an infection or a gut problem affecting both your stomach and your intestines at the same time. The two symptoms together point toward the lower digestive tract, not just swallowed air.
Hydrogen sulfide is the same chemical that gives rotten eggs their smell. It is a normal byproduct of digestion, but it usually stays in the colon and leaves through the rectum. When it comes back up as a burp, something is going on in your stomach or small intestine.
Why Do My Burps Smell Like Rotten Eggs And Diarrhea?
The combination of sulfur burps and diarrhea most often means you have a gastrointestinal infection. Bacteria, viruses, or parasites in your gut can cause both symptoms together.
When an infection inflames your stomach and intestines, digestion slows or becomes irregular. Food sits longer in the stomach and small intestine. Bacteria ferment it, producing sulfur gas. That gas can escape upward as a burp while your lower gut reacts with diarrhea.
Several conditions can cause this pairing:
- Gastroenteritis — viral or bacterial stomach infections are the most common cause of sulfur burps with diarrhea.
- Giardia infection — a parasite that causes sulfur-smelling burps, gas, and diarrhea. Some studies suggest this is a common cause of the specific rotten-egg burp symptom.
- Food poisoning — certain bacteria like Salmonella can produce hydrogen sulfide gas in the gut.
- Small intestinal bacterial overgrowth (SIBO) — excess bacteria in the small intestine ferment food and produce sulfur gas.
- Lactose intolerance or other food intolerances — undigested sugars ferment in the colon and produce gas.
Hydrogen sulfide is not the only gas that smells. But the specific rotten-egg smell points to sulfur compounds. That narrows the list of likely causes.
What Does Hydrogen Sulfide Have to Do With Your Gut?
Hydrogen sulfide is produced when bacteria break down sulfur-containing amino acids. These amino acids come from foods like eggs, meat, and certain vegetables.
In a healthy gut, this gas forms mostly in the colon. The colon is far from your mouth, so the gas leaves through the rectum. It does not usually travel back up.
When gas reaches your mouth as a burp, the production is happening higher up. That means the stomach or small intestine. This is not normal for most people. It suggests something is causing fermentation or bacterial overgrowth in the upper digestive tract.
Sulfur burps are sometimes reported in people with infections like Giardia. The parasite lives in the small intestine and disrupts normal digestion. Food ferments instead of being absorbed. The result is sulfur gas that can come back up.
Is It a Sign of Infection or Something Else?
Infection is the most common cause when sulfur burps and diarrhea appear together suddenly. But not every case is an infection.
Timing matters. If the symptoms started within hours to a few days of eating something unusual, or if you have been around someone who was sick, infection is more likely. If the symptoms have been coming and going for weeks or months, other causes deserve a look.
Some non-infectious causes include:
- Food intolerances — your body cannot fully digest certain sugars or proteins, so gut bacteria ferment them.
- SIBO — bacteria that normally live in the colon move into the small intestine and produce gas there.
- Gastroparesis — delayed stomach emptying lets food sit and ferment.
- Inflammatory bowel disease — conditions like Crohn’s disease or ulcerative colitis can cause diarrhea, though sulfur burps are less typical.
- Medications — some antibiotics and other drugs change gut bacteria and digestion.
Most sulfur burps with diarrhea resolve on their own within a few days if the cause is a mild infection. But persistent symptoms need medical attention.
When Should You See a Doctor?
See a doctor if diarrhea lasts more than two days, or if you have signs of dehydration or severe illness.
Most stomach infections clear without treatment. But some symptoms mean you should not wait.
Get medical care if you have:
- Blood or mucus in your stool
- High fever (above 102°F or 39°C)
- Severe abdominal pain
- Signs of dehydration — dark urine, dizziness, dry mouth, little urination
- Vomiting that prevents you from keeping fluids down
- Symptoms lasting more than a week
- Recent travel to areas with poor sanitation
- Recent use of antibiotics
These signs can point to a more serious infection or another condition that needs testing. A stool test can identify parasites like Giardia or bacteria that cause food poisoning.
What Foods Cause Rotten Egg Burps?
Foods high in sulfur can increase hydrogen sulfide production in your gut. This is especially true if your digestion is already disrupted.
High-sulfur foods include eggs, meat, poultry, fish, garlic, onions, broccoli, cabbage, and cauliflower. These foods are healthy for most people. But during an infection or when digestion is off, they can make sulfur gas worse.
Carbonated drinks can also contribute. They add gas to your stomach, which can carry sulfur compounds upward as a burp.
If you have sulfur burps and diarrhea, you do not need to avoid all sulfur foods forever. But reducing them for a few days while your gut settles may ease symptoms. This is common advice, though large trials have not confirmed it works for everyone.
How Is the Cause Identified?
Doctors identify the cause by looking at your symptoms, recent history, and sometimes stool tests. There is no single test for sulfur burps.
Your doctor will ask about what you ate, recent travel, medications, and how long symptoms have lasted. A stool sample can check for bacteria, parasites, and inflammation markers.
If symptoms persist and no infection is found, other tests may be considered. These can include breath tests for SIBO or lactose intolerance. In some cases, imaging or endoscopy may be used. The choice depends on your specific symptoms and history.
Most people do not need extensive testing. If the symptoms clear in a few days, the cause was likely a mild infection that resolved on its own.
What Helps Sulfur Burps and Diarrhea Go Away?
For most mild cases, the main treatment is staying hydrated while your gut recovers. Diarrhea causes fluid loss, and dehydration is the most common complication.
Drink water, clear broth, or an oral rehydration solution. These replace both water and electrolytes like sodium and potassium. Avoid alcohol, caffeine, and very sugary drinks, which can worsen diarrhea.
Eat bland foods as you feel able. Bananas, rice, applesauce, and toast are often recommended because they are easy to digest. There is no strong evidence that this specific combination treats diarrhea, but it is gentle on the gut and widely used in practice.
Do not take anti-diarrhea medication without checking with a doctor if you have a fever or bloody stool. Slowing the gut in those cases can trap the infection.
Antibiotics are only useful for certain bacterial or parasitic infections. They do not help viral gastroenteritis. A doctor can determine whether antibiotics or antiparasitic drugs are needed based on testing.
Can Stress or Anxiety Cause Sulfur Burps?
Stress can affect digestion, but it is not a direct cause of rotten-egg burps. The gut and brain are connected, and stress can change how fast food moves through your digestive tract.
Some people notice more gas and bloating when they are stressed. Stress can also worsen conditions like irritable bowel syndrome, which causes diarrhea and gas. But sulfur burps specifically are more often linked to what is happening inside the gut, not your emotional state.
If you have chronic digestive symptoms that flare with stress, talk to a doctor. It may be a sign of a condition that needs treatment.
Frequently Asked Questions
Are rotten egg burps and diarrhea a sign of a parasite?
They can be. Giardia is a common parasite that causes sulfur burps and diarrhea, and a stool test can confirm it. Not every case is parasitic, so testing is needed to know for sure.
How long do sulfur burps and diarrhea usually last?
Most mild cases clear within a few days to a week. If symptoms last longer than a week or keep coming back, see a doctor.
Can I treat rotten egg burps at home?
Staying hydrated and eating bland foods may help while your gut recovers. Do not use anti-diarrhea medicine if you have a fever or blood in your stool without talking to a doctor first.
When should I worry about sulfur burps?
See a doctor if you have blood in your stool, a high fever, severe pain, signs of dehydration, or symptoms lasting more than a week. These can point to an infection or condition that needs treatment.

