What causes farting

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: Farting, or flatulence, is primarily caused by the buildup of gas in the digestive system. This gas is a natural byproduct of digestion, often from swallowing air or the fermentation of undigested food by bacteria in the gut.

Key Facts

What Causes Farting?

Farting, medically known as flatulence, is a normal physiological process that occurs in most animals, including humans. It is the release of gas from the digestive tract through the anus. While often a source of embarrassment, understanding the causes behind farting can demystify the process and highlight its connection to our diet and overall digestive health.

The Digestive Process and Gas Production

The primary reason for farting is the accumulation of gas within the intestines. This gas originates from two main sources: swallowed air and the byproducts of digestion.

Swallowed Air (Aerophagia)

Every time we eat, drink, or talk, we inevitably swallow small amounts of air. This air is primarily composed of nitrogen and oxygen. While most of this swallowed air is reabsorbed or expelled through burping, some of it can travel down the digestive tract and contribute to flatulence. Factors that increase swallowed air include:

The nitrogen and oxygen in swallowed air are inert gases that are not absorbed by the gut lining and therefore pass through to be expelled as flatulence.

Gas Produced During Digestion

The majority of gas in the digestive tract is produced internally through the breakdown of food. As food travels through the digestive system, particularly the large intestine, it encounters a vast community of bacteria known as the gut microbiota. These bacteria play a crucial role in digesting food components that our own enzymes cannot break down, such as certain carbohydrates.

The fermentation of these undigested carbohydrates by gut bacteria produces gases like hydrogen, carbon dioxide, and, in some individuals, methane. Sulfur-containing compounds, which are responsible for the characteristic odor of flatulence, are also produced during the breakdown of proteins and some vegetables.

Dietary Factors Influencing Flatulence

What we eat has a profound impact on the volume and frequency of gas produced. Certain foods are more likely to cause gas than others:

High-Fiber Foods

While essential for digestive health, foods rich in fiber, such as beans, lentils, broccoli, cabbage, and whole grains, can lead to increased gas. The bacteria in the gut ferment these fibers, producing gas as a byproduct. Gradually increasing fiber intake and drinking plenty of water can help the digestive system adapt.

Certain Carbohydrates (FODMAPs)

Fermentable Oligosaccharides, Disaccharides, Monosaccharides, and Polyols (FODMAPs) are types of carbohydrates that are poorly absorbed in the small intestine. They travel to the large intestine where they are rapidly fermented by bacteria, leading to gas, bloating, and other digestive discomforts. Common sources of FODMAPs include onions, garlic, wheat, apples, pears, and some dairy products.

Artificial Sweeteners

Sugar alcohols like sorbitol, mannitol, and xylitol, often found in sugar-free gums and candies, are not fully absorbed by the body and can be fermented by gut bacteria, causing gas and diarrhea.

Dairy Products

Individuals with lactose intolerance lack sufficient lactase, the enzyme needed to break down lactose (the sugar in milk). Undigested lactose ferments in the large intestine, producing gas.

Carbonated Beverages

The carbonation in drinks like soda and sparkling water is essentially dissolved carbon dioxide gas, which can be released in the digestive tract, contributing to gas.

Underlying Medical Conditions

While occasional gas is normal, persistent or excessive flatulence, especially when accompanied by other symptoms like abdominal pain, bloating, diarrhea, or constipation, could indicate an underlying medical issue. Some common conditions include:

The Composition and Odor of Farts

The gases that make up flatus are typically odorless. The characteristic smell is due to trace amounts of sulfur-containing gases, such as hydrogen sulfide (rotten egg smell) and methanethiol. These are produced when bacteria break down sulfur-rich foods like meat, eggs, and certain vegetables (e.g., broccoli, cauliflower, cabbage).

The volume, frequency, and odor of farts can vary significantly from person to person and depend heavily on diet, gut bacteria composition, and individual digestive processes.

Sources

  1. Flatulence - WikipediaCC-BY-SA-4.0
  2. Flatulence - NHSfair-use
  3. Gas and Bloating - Johns Hopkins Medicinefair-use

Missing an answer?

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