What causes farts

Content on WhatAnswers is provided "as is" for informational purposes. While we strive for accuracy, we make no guarantees. Content is AI-assisted and should not be used as professional advice.

Last updated: April 4, 2026

Quick Answer: Farts, also known as flatulence, are primarily caused by the buildup of gas in the digestive system. This gas is a byproduct of digestion, produced when bacteria in your gut break down undigested food, and also by swallowing air.

Key Facts

What Causes Farts?

Farting, medically termed flatulence, is a natural bodily function that occurs when gas accumulates in the digestive tract. This gas is a normal byproduct of the complex processes involved in breaking down food and absorbing nutrients. Understanding the origins of this gas can help demystify why we fart and how to manage it.

The Role of Digestion

Our digestive system is a remarkable series of organs responsible for processing the food and drink we consume. As food travels through the stomach and intestines, it undergoes mechanical and chemical breakdown. During this process, particularly in the large intestine, trillions of bacteria residing there play a crucial role. These gut microbes ferment undigested carbohydrates, producing various gases as a byproduct. Common gases produced include hydrogen, carbon dioxide, and methane. While some of these gases are absorbed into the bloodstream and exhaled, the remainder is expelled as flatus.

Swallowing Air (Aerophagia)

Another significant contributor to gas in the digestive system is swallowing air, a process known as aerophagia. We naturally swallow small amounts of air throughout the day, especially when eating, drinking, talking, or chewing gum. However, certain habits can increase the amount of air swallowed, such as eating or drinking quickly, talking while eating, chewing gum, smoking, and drinking carbonated beverages. This swallowed air, primarily composed of nitrogen and oxygen, can accumulate in the stomach and eventually pass through the digestive tract, contributing to flatulence.

Dietary Factors

The types of food we eat have a profound impact on the amount and odor of gas produced. Certain foods are notorious for their gas-producing potential due to their complex carbohydrate content, which is not fully digested in the small intestine and is thus available for fermentation by gut bacteria. These include:

The sulfur-containing compounds in some foods, like eggs, meat, and certain vegetables (e.g., onions, garlic), can also contribute to the odor of flatulence. When bacteria break down these compounds, they release gases like hydrogen sulfide, which has a characteristic rotten egg smell.

Gut Health and Microbiome

The composition of your gut microbiome—the community of microorganisms living in your digestive tract—can influence gas production. A healthy and diverse microbiome is generally associated with efficient digestion. However, imbalances in the gut flora, sometimes referred to as dysbiosis, can lead to increased gas and bloating. Conditions like Irritable Bowel Syndrome (IBS), Inflammatory Bowel Disease (IBD), and SIBO (Small Intestinal Bacterial Overgrowth) are often characterized by altered gut bacteria and increased gastrointestinal symptoms, including excessive flatulence.

Medical Conditions and Medications

While often benign, excessive or particularly foul-smelling gas can sometimes be a symptom of an underlying medical condition. Besides digestive disorders mentioned earlier, conditions like celiac disease, pancreatitis, or certain malabsorption syndromes can affect digestion and gas production. Additionally, some medications, particularly those containing ingredients like sorbitol or certain antibiotics that alter gut flora, can lead to increased flatulence.

Conclusion

In summary, farting is a natural and unavoidable consequence of digestion and air swallowing. The gas produced is a result of bacterial fermentation of undigested food components and the air we ingest. While diet plays a significant role in the quantity and odor of gas, the health of our gut microbiome and any underlying medical conditions can also be contributing factors. For most people, occasional gas is normal, but persistent or uncomfortable symptoms warrant a discussion with a healthcare professional.

Sources

  1. Flatulence - WikipediaCC-BY-SA-4.0
  2. Flatulence - NHSfair-use
  3. Gas and bloating - Mayo Clinicfair-use

Missing an answer?

Suggest a question and we'll generate an answer for it.