Why Does My Poop Smell Like Motor Oil?

A stool that smells distinctly like motor oil, petroleum, or chemical grease almost always traces back to fat that your body failed to break down and absorb properly. When dietary fat passes through the gut largely intact, the result is greasy, unusually foul-smelling stool that people often describe in mechanical or industrial terms. That said, the “motor oil” comparison can also arise from shifts in gut bacteria, medications you may be taking, or even a distortion in how your nose is interpreting odors. Understanding the most likely explanations can help you figure out whether this is a one-off oddity or something worth bringing to a doctor.

How Stool Gets Its Smell

The smell of any bowel movement comes from trace gases called volatile organic compounds, or VOCs. Your gut bacteria break down whatever you eat, and the metabolic byproducts they release include organic acids, alcohols, aldehydes, ketones, and alkanes, among others. These compounds vary from person to person and shift depending on diet, overall health, and the specific microbial populations living in your intestines.1PubMed Central. Diagnosing gastrointestinal illnesses using fecal headspace volatile organic compounds When something disrupts normal digestion, the VOC profile changes, and the result can be a smell that is sharper, more chemical, or outright foreign. A motor-oil quality in particular tends to show up when there is excess fat in the stool, because undigested lipids produce a distinct, oily, rancid odor that the brain sometimes files under “petroleum.”

Fat Malabsorption and Steatorrhea

The single most common medical explanation for stool that smells greasy or petroleum-like is a condition called steatorrhea, which is a clinical way of saying too much fat is ending up in your stool. Normally, digestive enzymes from the pancreas break fat into smaller molecules so the small intestine can absorb them. When the pancreas does not produce enough of those enzymes, fat passes through largely unchanged. The resulting stools tend to be clay-colored, loose, greasy, and intensely foul-smelling, and they may leave an oily residue in the toilet bowl or be difficult to flush.2PubMed Central. Practical guide to exocrine pancreatic insufficiency – Breaking the myths

This kind of fat malabsorption, called exocrine pancreatic insufficiency, can result from chronic pancreatitis, cystic fibrosis, pancreatic surgery, or long-term heavy alcohol use. It also shows up in some people with celiac disease or Crohn’s disease, where the absorptive lining of the intestine itself is damaged. The smell people describe as “motor oil” fits steatorrhea particularly well because undigested triglycerides break down into short-chain fatty acids and other oily compounds that genuinely have a chemical, petroleum-adjacent quality. If you notice pale, floating stools alongside the smell, fat malabsorption is high on the list of things to investigate.

Bile Acid Diarrhea

Bile acids are produced by the liver and stored in the gallbladder, and their job is to help dissolve and absorb dietary fat. Normally, they get recycled at the end of the small intestine and sent back to the liver. When that recycling process breaks down, excess bile acids flood into the colon, irritating it and pulling water into the stool. The result is urgent, explosive, and often offensively smelling diarrhea. In a study of patients with bile acid diarrhea, about 80% reported explosive or offensive-smelling watery diarrhea, and 85% reported urgency.3PubMed Central. New Developments in Bile Acid Diarrhea

Bile acid malabsorption can develop after gallbladder removal, after surgical resection of the ileum (the last stretch of the small intestine), or alongside conditions like Crohn’s disease. A sizable group of people have what is classified as “idiopathic” bile acid diarrhea, meaning there is no obvious structural cause; their recycling system simply does not work efficiently. The smell from bile-related malabsorption can be acrid and sharp. Because bile is helping to emulsify fat, when it is not doing its job properly you also get some degree of fat malabsorption layered on top, compounding that greasy, chemical odor.

One practical clue: if you had your gallbladder removed and your stool changed character afterward, bile acid diarrhea is a strong possibility. It is underdiagnosed partly because many clinicians attribute post-cholecystectomy digestive trouble to general adjustment rather than testing for it specifically.

Mineral Oil and Oily Laxatives

Sometimes the answer is straightforward: you are literally passing oil. Mineral oil is a petroleum-derived laxative used to soften stool, particularly in children with chronic constipation. It works by coating the stool and the intestinal lining so everything slides through more easily. The downside is that it can leak. In a clinical trial comparing mineral oil to an herbal alternative for childhood constipation, anal leakage of oily material was flagged as a notable complication in the mineral oil group.4PubMed Central. The effect of cassia fistula emulsion on pediatric functional constipation in comparison with mineral oil: a randomized, clinical trial

If you are taking mineral oil, whether by mouth or as an enema, the petroleum-like smell is not a mystery. You are passing a petroleum product. The same logic applies to certain fish oil supplements taken in large doses: if your body cannot absorb the full amount, some of that oil comes out the other end, potentially with a rancid or chemical odor. The fix is usually adjusting the dose or switching products.

Dietary Causes That Mimic a Medical Problem

Before assuming something is medically wrong, it is worth considering what you ate in the past day or two. High-fat meals, especially those rich in fried food, heavy sauces, or processed meats, can temporarily overwhelm your digestive enzymes. Even a healthy pancreas has limits. A single very high-fat meal can produce a stool that is greasier and more pungent than usual without signaling any underlying disease.

Certain foods also contain compounds that alter stool chemistry in ways that can produce unusual smells. Cruciferous vegetables like broccoli and cabbage are rich in sulfur compounds. Large amounts of garlic, onions, and red meat can shift the VOC profile significantly. The key distinction is that diet-related odor changes are temporary. If you ate a massive cheeseburger yesterday and your stool smells terrible today but is back to normal tomorrow, that is dietary. If the chemical or oily smell persists for days or weeks, it is time to look at other causes.

People on very high-fat, low-carbohydrate diets sometimes report persistent changes in stool smell. When your body is burning fat as its primary fuel source, the metabolic byproducts change, and those shifts echo in the gut. The smell often normalizes once you adapt to the diet or reintroduce carbohydrates.

When Gut Bacteria Change the Chemistry

Your intestinal bacteria do not just passively ride along. They actively ferment undigested food and produce their own set of volatile compounds. When the bacterial population shifts, so does the smell. One scenario where this becomes clinically relevant is small intestinal bacterial overgrowth, or SIBO, where bacteria that normally live in the colon colonize the small intestine. Research has shown that patients with SIBO produce a distinctly different pattern of stool VOCs compared to healthy controls, and their metabolic response to common foods like leafy greens, berries, oatmeal, and processed meats is significantly altered.5PubMed. The influence of dietary pattern on the production of volatile organic compounds in patients with hydrogen-producing small intestinal bacterial overgrowth syndrome

Another bacterial contributor is hydrogen sulfide production. Certain anaerobic bacteria, particularly members of the Desulfovibrio genus, generate hydrogen sulfide by reducing sulfate found naturally in food and drinking water.6PubMed Central. What Stinks? The Role of Hydrogen Sulfide in the Gut Hydrogen sulfide has a rotten-egg smell at low concentrations, but at higher levels or when mixed with other VOCs it can take on a more chemical or industrial quality. People with dysbiosis, where the balance of gut bacteria has shifted in an unhealthy direction, sometimes describe their stool odor in terms that go well beyond normal unpleasantness, and “chemical” or “motor oil” comparisons are not unusual in that context.

SIBO and dysbiosis often accompany other conditions like irritable bowel syndrome, post-infectious gut changes, or long-term use of proton pump inhibitors. The odor change is usually one symptom among several, which might include bloating, gas, abdominal discomfort, or irregular bowel patterns.

When the Problem Is Your Nose, Not Your Gut

Here is a possibility that catches most people off guard: your stool may not actually smell like motor oil. Your nose might be telling you it does. A condition called parosmia causes the brain to misinterpret incoming smells, and it became far more common after the waves of COVID-19 infections that affected the olfactory system. People with parosmia report that familiar smells suddenly register as distorted, chemical, or rotten.

In qualitative research on long COVID patients, people described their feces as smelling like “cat food,” “rancid wet hay,” or having a “sickly smell like eggs,” with some noting that their stool now smelled disturbingly similar to the distorted smell of their food and drinks.7PubMed Central. Altered smell and taste: Anosmia, parosmia and the impact of long Covid-19 Other participants reported that their feces, urine, and sweat all shared the same unfamiliar bad smell, one that also overlapped with the distorted smell of foods like onion and fried meat.8PubMed Central. Emerging Pattern of Post-COVID-19 Parosmia and Its Effect on Food Perception When multiple things in your environment suddenly smell “chemical” or petroleum-like, including your stool, the common thread may be olfactory nerve damage rather than anything happening in the gut.

Parosmia can also develop after other viral infections, head injuries, or exposure to certain toxins. It is not limited to COVID. If the motor-oil smell started around the same time that other familiar smells also changed, or if coffee, cooking oil, and toast now smell wrong too, it is worth considering that the issue is neurological rather than gastrointestinal. Parosmia typically improves over months, though recovery can be slow and frustrating.

Medications That Alter Stool Odor

Several categories of medication can change how your stool smells. Antibiotics reshape your gut microbiome within days, killing off some bacterial populations and allowing others to flourish, which changes the VOC cocktail your stool releases. Metformin, widely prescribed for type 2 diabetes, is notorious for causing gastrointestinal side effects including loose, foul-smelling stools. Orlistat, a weight-loss drug that works by blocking fat absorption in the intestine, almost by definition causes steatorrhea, because the unabsorbed fat has to go somewhere. People taking orlistat frequently report oily, extremely foul-smelling stools and anal leakage, essentially the same mechanism as pancreatic insufficiency but drug-induced.

Iron supplements are another common culprit. They tend to darken stool and give it a metallic, sometimes chemical odor that some people interpret as petroleum-like. Bismuth-containing products like Pepto-Bismol also turn stool black and alter its smell, though the change with bismuth is typically toward a milder rather than stronger odor. If you recently started a new medication and the smell changed, check the side-effect profile before assuming the worst.

How Doctors Investigate Persistent Stool Odor Changes

A one-time change in stool odor after a heavy meal is not a medical event. Persistent changes, especially when paired with other symptoms like weight loss, diarrhea, bloating, or visible grease in the stool, warrant investigation. The diagnostic approach usually starts with basic stool tests.

For suspected fat malabsorption, the most reliable screening test is fecal elastase. Elastase is a pancreatic enzyme that stays intact as it travels through the intestines, making it a useful proxy for how well the pancreas is working. A fecal elastase level below 200 micrograms per gram of stool is considered abnormal, and the test is highly specific for moderate-to-severe pancreatic insufficiency.9PubMed Central. The importance of stool tests in diagnosis and follow-up of gastrointestinal disorders in children One practical note: watery diarrhea can dilute the sample and produce a falsely low result, so the test works best on a formed stool specimen.

For bile acid malabsorption, diagnosis in many countries relies on the SeHCAT scan, which tracks how much of a synthetic bile acid your body retains after seven days. In the United States, where SeHCAT is not widely available, a therapeutic trial of a bile acid binder like cholestyramine is often used instead. If the diarrhea and odor improve on the binder, the diagnosis is made retroactively. Blood tests, imaging of the pancreas, celiac antibody panels, and breath tests for SIBO may follow depending on what the initial findings suggest.

Red Flags That Need Prompt Attention

Most cases of unusual stool odor turn out to be dietary, medication-related, or tied to a manageable condition. But a few patterns should move you toward a doctor’s visit sooner rather than later:

  • Unintentional weight loss: Losing weight without trying, combined with foul, greasy stool, is a hallmark of malabsorption and sometimes signals pancreatic disease.
  • Pale or clay-colored stool: This suggests a disruption in bile flow or pancreatic function, especially if it persists over multiple bowel movements.
  • Visible oil or grease: An oily film on the toilet water or stool that is clearly coated in grease points toward steatorrhea and warrants testing.
  • Persistent diarrhea: Diarrhea lasting more than two weeks, especially if urgent or explosive, needs evaluation regardless of smell.
  • New onset in someone over 50: Any new and persistent change in bowel habits at this age should be evaluated to rule out structural causes, including colorectal or pancreatic disease.

Stool changes accompanied by jaundice, dark urine, or new-onset upper abdominal pain radiating to the back are particularly urgent, as these can indicate problems with the bile ducts or pancreas that require imaging promptly.

Why “Motor Oil” Specifically

People reach for mechanical and industrial comparisons when describing stool odor partly because the English language does not have a rich vocabulary for fecal smells. “Bad” is vague. “Chemical” is closer. “Motor oil” or “diesel fuel” gives the listener an immediate sensory anchor. But there is also a chemical basis for the comparison. Alkanes, which are hydrocarbon chains found in petroleum products, are among the trace VOCs that gut bacteria produce during normal digestion.1PubMed Central. Diagnosing gastrointestinal illnesses using fecal headspace volatile organic compounds When fat malabsorption or bacterial overgrowth amplifies the production of these hydrocarbons, the overlap between stool odor and petroleum odor becomes less metaphorical. You are, in a small way, smelling some of the same chemical families. The concentration is vastly different, but the nose picks up on the resemblance.

This also explains why different people with the same underlying condition describe the smell differently. One person says “motor oil,” another says “gasoline,” a third says “burnt rubber.” They are likely smelling similar VOC profiles but filing them into different mental categories based on their past experiences. The specificity of the comparison matters less than the pattern: if your stool consistently smells chemical, greasy, or industrial in a way it never did before, the underlying cause is usually the same handful of possibilities discussed above.