Farting in Sleep: Causes and How to Stop (2024)

Table of Contents
Can You Fart in Your Sleep? What’s Causing Farting During Sleep? Foods and Drinks Lifestyle Factors Medical Issues Menstrual Cycle How to Reduce Nighttime Gas and Stop Farting in Your Sleep About Our Editorial Team Danielle Pacheco,Staff Writer References Learn More About Physical Health and Sleep How to Sleep Better with GERD The Connection Between Diet, Exercise, and Sleep Hypnic Headaches: Symptoms, Causes, and Relief Morning Headaches: Why Do I Wake Up With A Headache? Thyroid Issues and Sleep Waking Up with Back Pain: Causes and Tips for Relief The Relationship Between Sex and Sleep Physical Health and Sleep Sciatic Nerve Pain Relief at Night Sciatic Nerve Pain Relief at Night How to Sleep With a Cough or a Cold Epilepsy and Sleep: Understanding the Relationship Numbness in Hands While Sleeping: Causes and Remedies What Is a Normal Sleeping Heart Rate? Leg Cramps at Night: Tips to Reduce Discomfort Cataplexy The Relationship Between Anemia and Sleep Sleeping With Your Eyes Open Why Intermittent Fasting Can Lead to Better Sleep Dry Mouth At Night: What Causes It and How to Prevent It Is It Safe To Sleep If You Have a Concussion? Excessive Yawning: What Does It Mean and How to Treat It Why You Shouldn't Sleep With Contacts In How Sleep Apnea Affects Blood Pressure Obesity and Sleep Painsomnia Sleep and Overeating Can a Lack of Sleep Cause Nausea? Fibromyalgia and Sleep Weight Loss and Sleep Parkinson's Disease and Sleep Allergies and Sleep Migraines and Sleep: A Bidirectional Relationship Heart Palpitations at Night: Diagnosis and Treatment What Are Normal Oxygen Levels During Sleep? Rest and Recovery: How to Sleep With Intercostal Muscle Strain Waking Up Gasping for Air: Exploring Causes and Treatment Waking Up With a Dry Throat: What Causes It and How Do You Treat It? What Causes Night Sweats in Men? How to Sleep with Lower Back Pain: Finding Comfort and Relief Medical and Brain Conditions That Cause Excessive Sleepiness Nocturia: Causes and Treatments for Frequent Urination Progesterone for Sleep: Everything You Need to Know Nicotine and Sleep Alzheimer’s Disease and Sleep How Sleep Deprivation Affects Your Heart Sleep and Blood Glucose Levels Lack of Sleep and Diabetes How Does Testosterone Affect Sleep? How To Sleep with Tinnitus How Sleep Affects Immunity Why Does My Body Ache When I Wake Up? Vertigo While Sleeping: Tips and Treatment Autism and Sleep Sleep Apnea and Heart Disease How to Sleep With a Sore Throat Pain and Sleep Memory and Sleep Cancer and Sleep Can a Lack of Sleep Cause Headaches? Smith-Magenis Syndrome and Sleep Beauty Sleep Multiple Sclerosis (MS) and Sleep Other Articles of Interest Physical Activity and Sleep How Sleep Works Sleep Solutions
Skip to content

Farting in Sleep: Causes and How to Stop (1)

Farting in Sleep: Causes and How to Stop (28)

Danielle Pacheco Staff Writer

Farting in Sleep: Causes and How to Stop (29)

Danielle Pacheco

Staff Writer

Danielle is originally from Vancouver, BC, where she has spent many hours staring at her ceiling trying to fall asleep. Danielle studied the science of sleep with a degree in psychology at the University of British Columbia

Read Full Bio

Want to read more about all our experts in the field?

Learn About The Editorial Team

Up-to-Date

Table of Contents

Aside from being a potential source of embarrassment, passing gas is common and usually harmless. Most people pass gas between 13 and 21 times per day. Flatulence during the night is generally due to diet and lifestyle, although there are some digestive disorders that can cause excess gas.

Can You Fart in Your Sleep?

People commonly fart in their sleep, although they usually are not aware of it. Research suggests pressure in the anal sphincter muscle fluctuates in cycles throughout the day. This muscle is more relaxed during sleep, and it controls whether or not gas present in the large intestine is released. This muscle also spontaneously relaxes multiple times per hour in the morning. As a result, passing gas overnight or in the morning is common.

If you want to fart less during the night, it helps to understand what gas is, why humans pass gas, and what factors lead to excessive gas. By making lifestyle changes or addressing underlying health issues, you may be able to reduce your nighttime or morning flatulence.

What’s Causing Farting During Sleep?

People fart in their sleep for the same reasons they fart while awake. Gas found in the intestines comes from three sources Trusted Source National Library of Medicine, Biotech InformationThe National Center for Biotechnology Information advances science and health by providing access to biomedical and genomic information.View Source : air being swallowed, stomach acid becoming neutralized, and bacteria in the intestines creating hydrogen and methane.

This air can exit as flatulence or belching Trusted Source American College of Gastroenterology (ACG)The ACG is a professional organization working to advance the prevention, diagnosis, and treatment of digestive disorders.View Source . Gases created by intestinal bacteria generally account for about 75% of flatulence. This gas may be expelled at any time, while a person is awake or asleep.

Although everyone experiences gas, certain individual factors impact how much gas a person’s body creates.

Foods and Drinks

Consuming certain foods and drinks make your body more likely to produce gas Trusted Source Medline PlusMedlinePlus is an online health information resource for patients and their families and friends.View Source . Researchers call these foods flatulogenic Trusted Source National Library of Medicine, Biotech InformationThe National Center for Biotechnology Information advances science and health by providing access to biomedical and genomic information.View Source , because they increase flatulence. Foods that may increase gas include:

  • Artificial sweeteners
  • Carbonated drinks, like soda and sparkling water
  • Beans, soy beans, corn, and peas
  • Breads, cereals, and pastries
  • Cabbage, broccoli, Brussels sprouts, and cauliflower
  • Onions, leeks, and garlic
  • Prunes and figs

Experts note that different people experience gas after eating different foods. Not everyone will pass more gas after consuming items on this list, and some people might find that foods not on the list cause gas for them. Also, adding more fiber to your diet might cause more gas initially, but that could taper off as your body adjusts. Fruits and vegetables contain large amounts of fiber Trusted Source Merck ManualFirst published in 1899 as a small reference book for physicians and pharmacists, the Manual grew in size and scope to become one of the most widely used comprehensive medical resources for professionals and consumers.View Source , while meat and dairy do not contain any fiber.

People who have food sensitivities or intolerances may experience more gas when they consume foods they cannot properly digest. For example, those with lactose intolerance may pass more gas after having foods that contain lactose, such as milk or cheese.

Lifestyle Factors

In addition to aspects of your diet, other things you do might increase the amount of gas you pass:

  • Taking antibiotics
  • Chewing gum, especially with artificial sweeteners
  • Eating quickly
  • Smoking cigarettes
  • Wearing loose dentures Trusted Source National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)NIDDK research creates knowledge about and treatments for diseases that are among the most chronic, costly, and consequential for patients, their families, and the Nation.View Source

Medical Issues

Multiple digestive disorders and conditions can cause excessive gas:

  • Irritable Bowel Syndrome (IBS): IBS involves abnormalities in how the gut and brain connect Trusted Source National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)NIDDK research creates knowledge about and treatments for diseases that are among the most chronic, costly, and consequential for patients, their families, and the Nation.View Source , but the digestive system itself looks normal. In addition to excess gas, people with IBS often experience abdominal pain, diarrhea, or constipation. About 12% of people in the U.S. have IBS.
  • Small Intestinal Bacterial Overgrowth (SIBO): People experiencing this disorder either have an overgrowth of bacteria in general or of a certain type of bacteria in the small intestine. As a result, they experience more gas than normal along with other symptoms, like diarrhea.
  • Crohn’s Disease: In this inflammatory bowel disease, a person develops inflammation Trusted Source Medline PlusMedlinePlus is an online health information resource for patients and their families and friends.View Source in their digestive tract. Usually the inflammation is in the small intestine, but it can occur anywhere in the digestive system. The cause of Crohn’s is unknown, but it is an autoimmune disorder, meaning the immune system attacks healthy tissue.
  • Ulcerative Colitis: Ulcerative colitis Trusted Source National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)NIDDK research creates knowledge about and treatments for diseases that are among the most chronic, costly, and consequential for patients, their families, and the Nation.View Source is an inflammatory bowel disease similar to Crohn’s, but with inflammation that usually occurs in the large intestine rather than the small intestine. In addition to gas, a person with this disease may experience abdominal pain, diarrhea, bloody stool, and other symptoms.
  • Celiac Disease: Celiac disease is a genetic autoimmune disease Trusted Source Medline PlusMedlinePlus is an online health information resource for patients and their families and friends.View Source in which a person’s small intestines are damaged as a result of consuming gluten, a type of protein. Wheat, rye, and barley contain gluten. In addition to gas, a person may experience diarrhea, pain, irritability, or depression. Treatment requires a person to go on a gluten-free diet.
  • Colorectal or Stomach Cancer: Cancer is when abnormal cells Trusted Source Merck ManualFirst published in 1899 as a small reference book for physicians and pharmacists, the Manual grew in size and scope to become one of the most widely used comprehensive medical resources for professionals and consumers.View Source grow in parts of the body, sometimes disturbing or destroying nearby healthy cells. If cancer causes a blockage in the digestive tract, excessive gas may occur.

Menstrual Cycle

People who menstruate are more likely to experience bloating and gas at certain points in the monthly menstrual cycle. The menstrual cycle is typically a period of 24 to 38 days, and menstruation is around three to five days during which the uterine lining sheds Trusted Source Medline PlusMedlinePlus is an online health information resource for patients and their families and friends.View Source . The menstrual cycle can exacerbate IBS symptoms Trusted Source Office on Women's Health (OWH)OWH coordinates women's health efforts across HHS and addresses critical women's health issues by informing and advancing policies, educating health care professionals and consumers, and supporting innovative programs.View Source , which may cause more bloating and gas during menstruation.

Premenstrual syndrome (PMS) is a group of symptoms that start around a week before a person’s period begins. More bloating and gas Trusted Source Office on Women's Health (OWH)OWH coordinates women's health efforts across HHS and addresses critical women's health issues by informing and advancing policies, educating health care professionals and consumers, and supporting innovative programs.View Source may also occur during PMS.

How to Reduce Nighttime Gas and Stop Farting in Your Sleep

There are actions you can take to reduce morning and evening gas. The following lifestyle interventions Trusted Source National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK)NIDDK research creates knowledge about and treatments for diseases that are among the most chronic, costly, and consequential for patients, their families, and the Nation.View Source may help:

  • Avoid talking while eating and drinking as it can prompt you to swallow air
  • Stop chewing gum and eating hard candy
  • Avoid drinking carbonated drinks
  • Do not drink beverages through a straw
  • Sit down to eat and chew slowly
  • Quit smoking
  • Eat small, frequent meals
  • Consider a side sleeping position

If these tips do not help, you may want to see your doctor. You can talk to your doctor about possibly reducing or eliminating foods that cause gas from your diet. It is important to be careful when making dietary changes, because many foods that cause gas are part of a healthy diet, and you do not want to switch to a diet that does not meet your nutritional needs.

You can also discuss over-the-counter medications for gas with your doctor. There are also medications available that reduce the odor of gas. If you have lactose intolerance, you may want to consider taking lactase when eating dairy products. Also, probiotics and some dietary supplements might help reduce gas, but you should talk to your doctor before starting them.

Make an appointment with your doctor if your gas is accompanied by other symptoms Trusted Source Merck ManualFirst published in 1899 as a small reference book for physicians and pharmacists, the Manual grew in size and scope to become one of the most widely used comprehensive medical resources for professionals and consumers.View Source , such as weight loss, blood in stool, or a feeling of having gas in your chest. Your doctor can ask questions and order tests to determine if you are dealing with an underlying disorder.

Farting in Sleep: Causes and How to Stop (30)

Written By

Danielle Pacheco,Staff Writer

Danielle is originally from Vancouver, BC, where she has spent many hours staring at her ceiling trying to fall asleep. Danielle studied the science of sleep with a degree in psychology at the University of British Columbia

Learn more about our Editorial Team

References

17 Sources

  1. Kurbel, S., Kurbel, B., & Vcev, A. (2006). Intestinal gases and flatulence: Possible causes of occurrence. Medical Hypotheses, 67(2), 235–239.

    https://pubmed.ncbi.nlm.nih.gov/16574342/
  2. American College of Gastroenterology. Belching, bloating, and flatulence., Retrieved September 27, 2021, from

    https://gi.org/topics/belching-bloating-and-flatulence/
  3. A.D.A.M. Medical Encyclopedia. (2021, September 1). Gas – flatulence. MedlinePlus., Retrieved September 3, 2021, from

    https://medlineplus.gov/ency/article/003124.htm
  4. Manichanh, C., Eck, A., Varela, E., Roca, J., Clemente, J. C., González, A., Knights, D., Knight, R., Estrella, S., Hernandez, C., Guyonnet, D., Accarino, A., Santos, J., Malagelada, J. R., Guarner, F., & Azpiroz, F. (2014). Anal gas evacuation and colonic microbiota in patients with flatulence: Effect of diet. Gut, 63(3), 401–408.

    https://pubmed.ncbi.nlm.nih.gov/23766444/
  5. International Foundation for Gastrointestinal Disorders. (n.d.). Treatment of gas., Retrieved September 27, 2021, from

    https://iffgd.org/gi-disorders/symptoms-causes/intestinal-gas/treatment/
  6. Youdim, A. (2019, August). Fiber. Merck Manual Consumer Version., Retrieved September 27, 2021, from

    https://www.merckmanuals.com/home/disorders-of-nutrition/overview-of-nutrition/fiber
  7. National Institute of Diabetes and Digestive Kidney Diseases. (2021, June). Symptoms & causes of gas in the digestive tract., Retrieved September 27, 2021, from

    https://www.niddk.nih.gov/health-information/digestive-diseases/gas-digestive-tract/symptoms-causes
  8. National Institute of Diabetes and Digestive Kidney Diseases. (2017, November). Definition & facts for irritable bowel syndrome., Retrieved September 3, 2021, from

    https://www.niddk.nih.gov/health-information/digestive-diseases/irritable-bowel-syndrome/definition-facts
  9. A.D.A.M. Medical Encyclopedia. (2020, January 9). Crohn disease. MedlinePlus., Retrieved September 3, 2021, from

    https://medlineplus.gov/ency/article/000249.htm
  10. National Institute of Diabetes and Digestive Kidney Diseases. (n.d.). Ulcerative colitis., Retrieved September 27, 2021, from

    https://www.niddk.nih.gov/health-information/digestive-diseases/ulcerative-colitis
  11. MedlinePlus: National Library of Medicine (US). (2018, June 28). Celiac disease., Retrieved September 3, 2021, from

    https://medlineplus.gov/celiacdisease.html
  12. Gale, R. P. (2020, September). Overview of cancer. Merck Manual Consumer Version., Retrieved September 27, 2021, from

    https://www.merckmanuals.com/home/cancer/overview-of-cancer/overview-of-cancer
  13. MedlinePlus: National Library of Medicine (US). (2017, May 22). Menstruation., Retrieved September 3, 2021, from

    https://medlineplus.gov/menstruation.html
  14. Office on Women’s Health. (2015, April 25). Your menstrual cycle., Retrieved on September 27, 2021, from

    https://www.womenshealth.gov/menstrual-cycle/your-menstrual-cycle/#14
  15. Office on Women’s Health. (2018, March 16). Premenstrual syndrome (PMS)., Retrieved September 27, 2021, from

    https://www.womenshealth.gov/menstrual-cycle/premenstrual-syndrome/#4
  16. National Institute of Diabetes and Digestive Kidney Diseases. (2021, June). Treatment for gas in the digestive tract., Retrieved September 3, 2021, from

    https://www.niddk.nih.gov/health-information/digestive-diseases/gas-digestive-tract/treatment
  17. Gotfried, J. (2020, March). Gas-related complaints. Merck Manual Professional Version., Retrieved September 27, 2021, from

    https://www.merckmanuals.com/professional/gastrointestinal-disorders/symptoms-of-gastrointestinal-disorders/gas-related-complaints

Learn More About Physical Health and Sleep

Farting in Sleep: Causes and How to Stop (31)

How to Sleep Better with GERD

ByEric Suni April 3, 2024

Farting in Sleep: Causes and How to Stop (35)

Thyroid Issues and Sleep

ByDanielle Pacheco March 8, 2024

Farting in Sleep: Causes and How to Stop (37)

The Relationship Between Sex and Sleep

ByEric Suni February 14, 2024

Farting in Sleep: Causes and How to Stop (38)

Physical Health and Sleep

ByJay Summer February 9, 2024

Farting in Sleep: Causes and How to Stop (39)

Sciatic Nerve Pain Relief at Night

ByDanielle Pacheco January 23, 2024

Farting in Sleep: Causes and How to Stop (40)

Sciatic Nerve Pain Relief at Night

ByDanielle Pacheco January 23, 2024

Farting in Sleep: Causes and How to Stop (41)

How to Sleep With a Cough or a Cold

ByJay Summer January 22, 2024

Farting in Sleep: Causes and How to Stop (44)

What Is a Normal Sleeping Heart Rate?

ByJay Summer January 18, 2024

Farting in Sleep: Causes and How to Stop (46)

Cataplexy

ByRob Newsom January 16, 2024

Farting in Sleep: Causes and How to Stop (47)

The Relationship Between Anemia and Sleep

ByJay Summer January 5, 2024

Farting in Sleep: Causes and How to Stop (48)

Sleeping With Your Eyes Open

ByJay Summer December 22, 2023

Farting in Sleep: Causes and How to Stop (53)

Why You Shouldn't Sleep With Contacts In

ByDanielle Pacheco December 22, 2023

Farting in Sleep: Causes and How to Stop (54)

How Sleep Apnea Affects Blood Pressure

ByAlexa Fry December 22, 2023

Farting in Sleep: Causes and How to Stop (55)

Obesity and Sleep

ByAlexa Fry December 22, 2023

Farting in Sleep: Causes and How to Stop (56)

Painsomnia

ByJay Summer December 22, 2023

Farting in Sleep: Causes and How to Stop (57)

Sleep and Overeating

ByEric Suni December 22, 2023

Farting in Sleep: Causes and How to Stop (58)

Can a Lack of Sleep Cause Nausea?

ByJay Summer December 22, 2023

Farting in Sleep: Causes and How to Stop (59)

Fibromyalgia and Sleep

ByDanielle Pacheco December 22, 2023

Farting in Sleep: Causes and How to Stop (60)

Weight Loss and Sleep

ByRob Newsom December 22, 2023

Farting in Sleep: Causes and How to Stop (61)

Parkinson's Disease and Sleep

ByDanielle Pacheco December 22, 2023

Farting in Sleep: Causes and How to Stop (62)

Allergies and Sleep

ByDanielle Pacheco December 21, 2023

Farting in Sleep: Causes and How to Stop (69)

What Causes Night Sweats in Men?

ByTom Ryan, PhD November 22, 2023

Farting in Sleep: Causes and How to Stop (74)

Nicotine and Sleep

ByRob Newsom November 1, 2023

Farting in Sleep: Causes and How to Stop (75)

Alzheimer’s Disease and Sleep

ByAlexa Fry October 31, 2023

Farting in Sleep: Causes and How to Stop (76)

How Sleep Deprivation Affects Your Heart

ByEric Suni October 30, 2023

Farting in Sleep: Causes and How to Stop (77)

Sleep and Blood Glucose Levels

ByDanielle Pacheco October 26, 2023

Farting in Sleep: Causes and How to Stop (78)

Lack of Sleep and Diabetes

ByDanielle Pacheco October 26, 2023

Farting in Sleep: Causes and How to Stop (79)

How Does Testosterone Affect Sleep?

ByEric Suni October 20, 2023

Farting in Sleep: Causes and How to Stop (80)

How To Sleep with Tinnitus

ByJay Summer October 18, 2023

Farting in Sleep: Causes and How to Stop (81)

How Sleep Affects Immunity

ByEric Suni August 15, 2023

Farting in Sleep: Causes and How to Stop (82)

Why Does My Body Ache When I Wake Up?

ByJay Summer July 14, 2023

Farting in Sleep: Causes and How to Stop (84)

Autism and Sleep

ByJay Summer June 22, 2023

Farting in Sleep: Causes and How to Stop (85)

Sleep Apnea and Heart Disease

ByRob Newsom June 15, 2023

Farting in Sleep: Causes and How to Stop (86)

How to Sleep With a Sore Throat

ByJay Summer June 6, 2023

Farting in Sleep: Causes and How to Stop (87)

Pain and Sleep

ByDanielle Pacheco May 23, 2023

Farting in Sleep: Causes and How to Stop (88)

Memory and Sleep

ByDanielle Pacheco April 28, 2023

Farting in Sleep: Causes and How to Stop (89)

Cancer and Sleep

ByEric Suni February 23, 2023

Farting in Sleep: Causes and How to Stop (90)

Can a Lack of Sleep Cause Headaches?

ByDanielle Pacheco February 13, 2023

Farting in Sleep: Causes and How to Stop (91)

Smith-Magenis Syndrome and Sleep

ByRob Newsom January 19, 2023

Farting in Sleep: Causes and How to Stop (92)

Beauty Sleep

ByYazan Hamzeh January 6, 2023

Farting in Sleep: Causes and How to Stop (93)

Multiple Sclerosis (MS) and Sleep

ByDanielle Pacheco April 20, 2022

Load More Articles

Farting in Sleep: Causes and How to Stop (94)Back

Farting in Sleep: Causes and How to Stop (95)

We Are Here To Help You Sleep.

Tell us about your sleep by taking this brief quiz.

Based on your answers, we will calculate your freeSleep Foundation Scoreand create a personalized sleep profile that includes sleep-improving products and education curated justfor you.

Farting in Sleep: Causes and How to Stop (96)Farting in Sleep: Causes and How to Stop (97)

Farting in Sleep: Causes and How to Stop (2024)
Top Articles
Latest Posts
Article information

Author: Errol Quitzon

Last Updated:

Views: 6222

Rating: 4.9 / 5 (59 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Errol Quitzon

Birthday: 1993-04-02

Address: 70604 Haley Lane, Port Weldonside, TN 99233-0942

Phone: +9665282866296

Job: Product Retail Agent

Hobby: Computer programming, Horseback riding, Hooping, Dance, Ice skating, Backpacking, Rafting

Introduction: My name is Errol Quitzon, I am a fair, cute, fancy, clean, attractive, sparkling, kind person who loves writing and wants to share my knowledge and understanding with you.