What Causes an Ammonia Smell and When Is It a Warning Sign?

Ammonia smell, whether coming from your own body or lingering in a room, traces back to nitrogen. Your body constantly breaks down proteins into amino acids, and the leftover nitrogen gets converted into ammonia as a byproduct. Normally, your liver packages that ammonia into urea, your kidneys flush it out, and you never notice. When something disrupts that cycle, or when an environmental source releases ammonia gas, the sharp, unmistakable odor shows up. Some causes are harmless and temporary; others point to organ damage that needs medical attention.

How Your Body Handles Ammonia

Ammonia is a natural product of protein metabolism. Every time your body breaks down amino acids for energy or recycling, it strips off nitrogen-containing groups that become ammonia. Gut bacteria also generate ammonia by breaking down nitrogen compounds in the food you eat. The liver is the main clearinghouse: it runs ammonia through a chemical cycle that converts it into urea, a much less toxic molecule that dissolves easily in blood and gets filtered out by the kidneys. A second backup pathway converts ammonia into glutamine, an amino acid that cells throughout the body can use or that the kidneys can later process.

1PubMed Central. Revisiting gut microbiota-driven ammonia metabolism: from disease burden to physiological adaptation

This system works well under normal conditions, keeping blood ammonia at levels low enough that you never smell it on yourself. The trouble starts when production outpaces clearance, either because the body is making more ammonia than usual (intense exercise, a very high-protein diet) or because the organs responsible for clearing it are failing.

Ammonia-Smelling Sweat After Exercise or Dieting

If you have ever noticed a sharp, almost bleach-like smell during or after a hard workout, you are probably smelling ammonia leaving through your sweat glands. During prolonged or intense exercise, your muscles burn through their preferred fuel sources, glycogen and glucose, and increasingly turn to amino acids for energy. Breaking down those amino acids releases ammonia, which rises in the bloodstream and gets pushed out partly through sweat.

Diet plays a direct role here. When carbohydrate stores are low, the body leans harder on protein for fuel, which ramps up ammonia production. A study measuring plasma and sweat ammonia in exercisers found that people on a low-carbohydrate diet had higher ammonia concentrations in both their blood and their sweat during prolonged exercise compared to when they ate a normal-carbohydrate diet.

2PubMed. Effect of a low-carbohydrate diet on plasma and sweat ammonia concentrations during prolonged nonexhausting exercise

This kind of ammonia smell is usually not dangerous. It is your body signaling that it has burned through readily available carbohydrates and is leaning on protein instead. Eating enough carbohydrates before exercise, staying hydrated, and not dramatically overloading on protein can all reduce it. If the smell persists even at rest and without heavy exercise, that is when it deserves more attention.

Ammonia Breath and Liver Disease

One of the more medically significant sources of ammonia smell is the breath, and when it appears consistently, it often points to liver trouble. The liver is responsible for converting ammonia to urea. When the liver is scarred or failing, as in cirrhosis, it can no longer keep up with ammonia clearance. Ammonia accumulates in the blood, and some of it escapes through the lungs when you exhale.

Research comparing breath ammonia in people with cirrhosis and healthy controls found that cirrhotic patients had breath ammonia levels roughly two and a half times higher than controls. Patients whose blood ammonia was also elevated had even higher breath levels, and both measurements dropped together when treatment brought the ammonia down.

3PubMed. Breath and blood ammonia in liver cirrhosis

Elevated ammonia in the setting of liver disease is not just an odor problem. It is associated with damage to multiple organ systems: disrupted potassium balance, mitochondrial stress, inflammation, and impaired brain signaling.

4PubMed. Ammonia-induced stress response in liver disease progression and hepatic encephalopathy

When ammonia builds up enough to affect the brain, the resulting condition, hepatic encephalopathy, can cause confusion, personality changes, disrupted sleep, and in severe cases, coma. Ammonia is considered a hallmark marker of this complication in cirrhosis and liver failure.

5PubMed Central. Ammonia and beyond – biomarkers of hepatic encephalopathy

If someone with known liver disease or heavy alcohol use develops ammonia-smelling breath along with mental fogginess or drowsiness, that is an emergency worth acting on quickly.

Kidney Problems and the Ammonia Cycle

Your kidneys are the other half of the ammonia clearance team. They filter urea out of the blood and excrete it in urine. When kidney function declines severely, urea builds up in the bloodstream and body fluids. That retained urea does not just sit there quietly. It diffuses into the gastrointestinal tract, where gut bacteria that produce the enzyme urease break it apart, releasing large quantities of ammonia.

6PubMed Central. Effects of end-stage renal disease and dialysis modalities on blood ammonia level

This is why people with advanced kidney disease sometimes notice an ammonia or metallic taste in their mouth, or why their breath carries a urine-like odor sometimes described as “uremic fetor.” The ammonia generated in the gut also raises the pH of the intestinal environment, which can shift the balance of gut bacteria and contribute to digestive symptoms. Urine itself may smell stronger or more pungent when the kidneys are struggling, because the concentrations of waste products change as filtration deteriorates.

Dialysis can bring ammonia levels back down by doing the filtering work the kidneys no longer can. But the smell itself, if persistent, is a sign that kidney function has declined to a point that warrants medical evaluation if it has not already been diagnosed.

Rare Genetic Conditions That Block Ammonia Clearance

In a small number of people, the problem is not organ damage but a genetic defect in the enzymes or transport proteins that run the urea cycle. These conditions, known as urea cycle disorders, prevent the liver from converting ammonia to urea efficiently. Ammonia then accumulates to dangerously high levels in the blood.

7PubMed Central. Urea cycle defects in adulthood: clinical presentation, diagnosis and treatment in genetically encoded hepatic metabolic disorders with a potential for encephalopathy

The most well-known of these is ornithine transcarbamylase (OTC) deficiency. While severe cases typically show up in newborns, milder forms can go undetected for years and then flare during metabolic stress, such as illness, surgery, or a sudden increase in protein intake. One documented case involved a patient who presented with vomiting and altered mental status and was found to have a blood ammonia level more than ten times the upper limit of normal. Genetic testing later confirmed a mutation in the OTC gene.

8PubMed. Late-onset ornithine transcarbamylase deficiency: treatment and outcome of hyperammonemic crisis

These crises can cause severe brain swelling and lasting neurological damage if not caught early. The rarity of urea cycle disorders means they are not the first thing most clinicians suspect, which is part of the danger. If an otherwise healthy person, especially a younger adult, develops unexplained confusion along with vomiting and no clear cause like alcohol or drug use, ammonia levels should be checked.

Stomach Infections and Ammonia

Ammonia is not only produced in the large intestine. The stomach lining can also become a source when infected with Helicobacter pylori, the bacterium responsible for most peptic ulcers. H. pylori produces urease, an enzyme that splits urea into carbon dioxide and ammonia. The ammonia raises the local pH around the bacterium, creating a less acidic pocket that helps it survive in the harsh stomach environment.

A study of gastric juice composition found that patients infected with H. pylori had gastric ammonia concentrations roughly three times higher than uninfected patients. The ammonia level correlated strongly with the density of H. pylori colonization and the severity of gastritis. In patients who successfully completed eradication therapy, gastric ammonia levels dropped significantly compared to those in whom treatment failed.

9PubMed Central. Correlations among gastric juice pH and ammonia, Helicobacter pylori infection and gastric mucosal histology

You are unlikely to smell this ammonia yourself in most cases, but some people with H. pylori infections do report a persistent unpleasant taste or foul-smelling burps. The clinical significance is that elevated gastric ammonia contributes to mucosal inflammation and damage over time, reinforcing why treating H. pylori matters even when symptoms seem mild.

Vaginal Odor and When It Signals Infection

A fishy or ammonia-adjacent smell from the vaginal area is one of the hallmark signs of bacterial vaginosis (BV), the most common vaginal infection in women of reproductive age. BV occurs when the normal balance of vaginal bacteria tips in favor of anaerobic species that produce volatile amines, which are chemically related to ammonia and share some of its sharpness. The classic diagnostic method, the “whiff test,” involves exposing a vaginal sample to a base and checking whether a fishy amine odor is released.

10Acta Obstetricia et Gynecologica Scandinavica. Use of pH/whiff test or QuickVue Advanced pH and Amines test for the diagnosis of bacterial vaginosis and prevention of postabortion pelvic inflammatory disease

Not every vaginal odor is BV, though. Urine residue on underwear can smell ammonia-like, especially when concentrated. Sweat in the groin area, hormonal shifts, and certain foods can also change how things smell without indicating infection. The distinguishing features of BV tend to be a thin grayish discharge along with the odor, especially noticeable after sex. If the smell persists and comes with discharge changes, it is worth getting tested rather than just masking it with hygiene products, since untreated BV can lead to complications.

Ammonia Smells in Your Home

Not every ammonia smell is coming from your body. Household sources are common and sometimes tricky to pin down.

Cat urine is one of the most recognizable offenders. As cat urine ages and bacteria break it down, it releases volatile compounds that include ammonia and related molecules. Research on carpet contaminated with cat urine found that the volatile organic compounds released intensified over time, and while commercial cleaning products initially masked the odor, the smell often returned within two weeks as deeper contamination continued to off-gas.

11MDPI Data. Volatile Compounds Emitted from the Cat Urine Contaminated Carpet before and after Treatment with Marketed Cleaning Products

Cleaning products themselves are another source. Bleach-based cleaners and many glass cleaners contain ammonia or produce ammonia-like fumes. Mixing bleach with ammonia-containing products creates chloramine gas, which is acutely dangerous even in small amounts. Chloramines are inherently unstable compounds that break down and release fumes, which is why even treated tap water can occasionally carry a faint chlorine-ammonia smell, though at concentrations far below hazardous levels.

12PubMed Central. Modeling chloramine decay in full-scale drinking water supply systems

Mold, decaying organic matter in drains, and accumulated pet waste in poorly ventilated spaces can all contribute. If you notice a persistent ammonia smell in your home and cannot trace it to a cleaning product or pet issue, checking for hidden water damage or plumbing problems is a reasonable next step.

Workplace Exposure and Ammonia Gas

Outside the home, ammonia gas is a well-known occupational hazard in industries like refrigeration, fertilizer manufacturing, animal farming, and chemical processing. The smell is actually a protective feature in a sense: ammonia has such a low odor threshold that most people can detect it at concentrations well below immediately dangerous levels. But that does not make prolonged low-level exposure harmless.

A five-year study of workers exposed to low concentrations of ammonia found that the prevalence of respiratory problems increased significantly over time in the exposed group. Respiratory function also declined compared to unexposed workers, and the relationship was dose-dependent: more exposure meant worse outcomes.

13PubMed. Respiratory Disorders Resulting From Exposure to Low Concentrations of Ammonia: A 5-Year Historical Cohort Study

A separate study in an ice factory, where ammonia is used as a refrigerant, reported that among chronically exposed workers, about a quarter experienced coughing and wheezing, and roughly one in five reported difficulty breathing.

14PubMed. Evaluation of human vulnerability and toxic effects of chronic and acute occupational exposure to ammonia: A case study in an ice factory

Acute high-concentration exposure is far more dangerous. Case reports from industrial accidents describe severe damage to the respiratory tract lining, with the most serious cases involving fatal pulmonary edema, where the lungs fill with fluid.

15PubMed Central. Industrial ammonia gassing

If you work in an environment where ammonia is used and you start smelling it more strongly than usual, or notice irritation in your eyes and throat, treat it as a ventilation failure and get to fresh air before investigating the cause.

The Role of Bacteria and Body Odor

Many ammonia-like body odors are not coming directly from ammonia in the chemical sense but from the metabolic activity of bacteria living on your skin, in your gut, or in your urogenital tract. Bacteria break down sweat components, urea, and amino acids into volatile compounds, some of which are amines that smell sharp and pungent. The particular mix of bacterial species you carry influences what you smell like.

16PubMed Central. Microbiota and Malodor-Etiology and Management

This is why the same person can smell different depending on what they eat, how hydrated they are, what medications they take, and even what fabric their clothes are made from. Synthetic fabrics tend to harbor different bacterial communities than cotton, and some of those communities are better at producing volatile amines. Diet matters too: high-protein diets give bacteria more nitrogen-containing substrates to work with, which can increase the production of ammonia-like odors even without any underlying medical issue.

Compromised function of the liver, intestines, or kidneys can each shift the balance of odor-producing compounds in the body, as noted in microbiome research linking organ health to malodor. So while an occasional sharp smell after a protein-heavy meal or a tough gym session is normal, a persistent ammonia-like body odor that does not respond to hygiene changes deserves investigation.

When Ammonia Smell Is Not Really There

Sometimes people report smelling ammonia when no external source exists. This phenomenon, called phantosmia, involves perceiving an odor without any corresponding chemical stimulus. It can occur after head injuries, sinus infections, migraines, temporal lobe seizures, or as part of neurological conditions affecting the olfactory system.

A documented case involved a young man who developed permanent loss of smell after a brain injury to olfaction-related structures. Years later, he began experiencing phantom smells, demonstrating that the brain’s neural circuits for smell can generate odor sensations entirely on their own, without any input from the nose.

17PubMed. Phantom smelling

Ammonia is a particularly common phantom smell because it activates not just olfactory nerves but also the trigeminal nerve, which detects chemical irritation in the nose and throat. Research into how the brain processes ammonia’s smell has shown that its pungent, stinging quality travels through a separate sensory channel from its pure odor, which may make it easier for the brain to “replay” the sensation even without a real stimulus.

18PubMed Central. Some like it, some do not: behavioral responses and central processing of olfactory-trigeminal mixture perception

Phantom smells are usually harmless and temporary, especially when linked to migraines or upper respiratory infections. But if they are persistent, worsening, or accompanied by other neurological symptoms like headaches or confusion, a neurological evaluation can rule out more serious causes like tumors or seizure activity in the temporal lobe.