Can You Fart in Your Sleep? The Causes of Morning Gas

It may seem like a rude awakening sometimes, especially when it originates from someone else, but can you fart while asleep? Certain bodily functions (such as sneezing) are suspended during sleep, but is farting one of them?

In addition, why is it that someone might seem to pass more gas first thing in the morning? Learn more about flatulence and its relationship to sleep.

The Cause of Morning Gas and Farting
Verywell / Emilie Dunphy

Functions Suspended During Sleep

Sleep is a unique state in which many of our body’s functions seem to be briefly suspended. Much like a bear that hibernates through the winter, we seem to temporarily enter a different metabolic state when we sleep.

As part of this, many of the actions that we might expect to occur during the day are almost completely absent during our sleep. Why is this so?

In order to maintain a prolonged state of sleep overnight, we can’t be disrupted by the needs that fill our day. Our bodies are able to put these activities—like needing to wake to eat in the middle of the night like a baby—to rest during sleep. Therefore, we can normally make it through the night without feeling a need to eat, drink, urinate, or defecate.

In various states of disease, or as a natural part of aging, however, this suppression may begin to fail. As an older person might attest, waking to urinate (as occurs in nocturia) can be greatly disrupting to a night’s rest. This may be worsened by untreated sleep apnea. Diabetes may affect the nerves and cause the loss of stool during sleep.

Although we do not fully understand the metabolism of sleep, it is clear that there are hormonal changes that occur that allow us to use our stored energy (including from the liver) and suppress our desire to eat.

Fasting eight hours during the day (like skipping lunch) is a somewhat uncomfortable feat, but it is accomplished easily on a nightly basis with the assistance of these hormones and energy stores.

Nervous System and Rectum in Sleep

In addition, part of the wiring of our bodies called the autonomic nervous system remains active even during sleep. This helps to keep us breathing, sustain our heart rate, and continue digestion.

These so-called "automatic" functions occur beyond our conscious control. You don’t have to think about the action for it to occur. As part of this, rings of muscle surrounding our orifices (called sphincters) are carefully controlled.

As a result of this automatic control, we do not need to be conscious to avoid urinating or defecating in our sleep. Imagine having to constantly think, "Don’t pee," in order to control the contents of your bladder. As you fall asleep, the control would quickly be lost and you’d awaken to a wet bed.

In much the same way, there is autonomic control in the anal sphincter. This prevents the release of feces when you fall asleep. It also would control the release of gas. Therefore, you are likely only to pass gas when you reassert conscious control of the sphincter in the transition to wakefulness. You could then allow it to open at your will.

You're unlikely to pass gas while asleep. You may do so when you awaken, even if only briefly, into a transient state of consciousness.

The rectum is exquisitely sensitive: You can sense whether the lower part of your sigmoid colon (called the rectal vault) contains air, stool, or liquid.

This awareness fades away when you are asleep, but once you return to consciousness, you again recognize these sensations and respond to your body’s needs. This includes the need to pass gas, which seems to often occur upon awakening in the morning.

Cause of Morning Gas and Farting

Why do we often pass gas in the morning? The answer is somewhat obvious: We need to. In fact, throughout the night, the healthy bacteria that work in our gut to help us digest food continue to do their work and create gas.

As this gas accumulates, we may not release it while our autonomic nervous system maintains closure of the anal sphincter. However, when we awaken and realize that we need to pass gas, this inevitably follows.

The volume is higher after a night of filling the colon with gas and it may be increased even further with aerophagia. For comparison, think how much gas accumulates on a long airline flight or a full day at the office; it is no wonder that we need to fart boisterously in the morning!

A Word From Verywell

If this is bothersome, you could consider the use of over-the-counter products that relieve bloating and gas, like simethicone (often sold as Gas-X). It may be worsened by certain foods that could be avoided. Otherwise, take pride in knowing that farting is a normal bodily function, especially upon awakening in the morning and just let 'em rip.

Was this page helpful?
2 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Shukla C, Basheer R. Metabolic signals in sleep regulation: recent insightsNat Sci Sleep. 2016;8:9–20. doi:10.2147/NSS.S62365

  2. Cleveland Clinic. Gas: Management and treatment.