Why Does My Pee Smell Like Peanuts?

A peanut-like or nutty smell in urine is usually harmless, and it almost always traces back to something you recently ate, drank, or took. The same roasted aroma that makes coffee, toast, and roasted nuts smell so good can be broken down by your body and leave through the kidneys. How strong it smells depends on how much water is in your urine and on your own nose, since people differ in which odors they can detect.

How Roasted Foods Leave a Nutty Trace in Urine

When foods are roasted, toasted, baked, or fried, heat creates a family of strong-smelling compounds.1PubMed Central. Metabolites of Key Flavor Compound 2,3,5-Trimethylpyrazine in Human Urine These compounds give roasted coffee and toasted bread much of their aroma.1PubMed Central. Metabolites of Key Flavor Compound 2,3,5-Trimethylpyrazine in Human Urine They are also key aroma compounds in peanut butter, cocoa, and grilled chicken.2PubMed Central. Insights into the molecular triggers of parosmia based on gas chromatography olfactometry

The roasted aroma comes from browning, the chemical reaction that happens when heat meets the sugars and proteins on a food’s surface. That is why a pale piece of toast smells far milder than a dark one. Cooking method matters too: boiling keeps food near the temperature of water, so it browns very little and gives off little of this smell.

Coffee, especially dark roast, is one of the biggest daily sources for many adults. Roasted peanuts, peanut butter, and other roasted nuts carry the very aroma people recognize. Toast, crusty bread, chocolate, and grilled or fried meats add more.

After a mug of coffee, almost all of its roasted-smell compounds are converted by the body and leave in urine.3PubMed. Alkylpyrazines from Coffee are Extensively Metabolized to Pyrazine Carboxylic Acids in the Human Body The body changes them into related acids that the kidneys can filter out.1PubMed Central. Metabolites of Key Flavor Compound 2,3,5-Trimethylpyrazine in Human Urine

Those breakdown products are chemically different from the original aroma, so the molecules in your urine are not the ones you smelled in your coffee mug. People describe the result in loose terms such as nutty, toasty, or roasted rather than saying it smells exactly like coffee.

Timing is a useful clue. A nutty note may show up at the first or second bathroom trip after coffee or a roasted snack, and it typically fades within a day once you stop eating that food. Eating the same food again usually brings it back.

To link the smell to a specific food, think back over the last several hours to anything browned or roasted: a morning coffee, a slice of toast, a handful of roasted nuts. A smell that tracks a daily habit like morning coffee will seem to be always there, even though it is tied to that habit. And because many people have coffee and toast together, either one could be the source.

Other Foods and Drinks That Change Urine Smell

Animal products such as milk, eggs, meat, and seafood can change how urine smells.4theSkimm. What Foods (Besides Asparagus) Make Your Pee Smell and What It Means So can Brussels sprouts, broccoli, cabbage, cauliflower, peas, beans, and peanuts.4theSkimm. What Foods (Besides Asparagus) Make Your Pee Smell and What It Means Soy products and fish oil supplements are other common triggers.4theSkimm. What Foods (Besides Asparagus) Make Your Pee Smell and What It Means

Asparagus is the best-known example. It changes urine smell within hours, and the smell fades on its own, usually within a day. Many people who eat asparagus never notice the smell at all, and the reason is covered later in this article.

Odors from different foods can combine, so a meal with several triggers may smell more noticeable than a single one would. If you can’t pin down a trigger, look at whole meals rather than one ingredient.

A simple food check can help you find your own trigger. Note what you ate or drank in the six to twelve hours before you noticed the smell. Then cut one suspect, such as coffee or peanut butter, for two or three days and see if the smell fades. Bring it back and see if the smell returns.

Vitamins and Supplements

B vitamin supplements have been linked to strong-smelling urine.5Clinical Advisor. Foul-smelling urine caused by supplements When B vitamins cause it, urine often turns bright yellow too.5Clinical Advisor. Foul-smelling urine caused by supplements That happens because B vitamins dissolve in water, and the body passes out what it doesn’t use instead of storing it.6Aeroflow Urology. Why Does My Pee Smell? (And What It Means) Other water-dissolving supplements can change urine odor as well.5Clinical Advisor. Foul-smelling urine caused by supplements Bright yellow urine can appear within hours of a vitamin dose and fade as the day goes on.

The smell is often described as medicinal or sharp rather than truly nutty, though it can mix with food odors. Taking the vitamin with a meal is safe and may make the smell less noticeable. If it bothers you, a pharmacist can tell you whether a lower dose or a different product suits you. The smell alone is not a reason to stop a vitamin your doctor recommended, since the excess is simply leaving the body.

Some medicines, including certain antibiotics, can change urine odor too. If a new smell started right after a new prescription, ask your pharmacist whether it’s expected. Don’t stop a prescribed antibiotic because of a smell without checking first.

Why Concentrated or Standing Urine Smells Stronger

As urine sits, water evaporates and some odor compounds become more noticeable.7PubMed. Changes in volatile compounds of human urine as it ages: their interaction with water Bacteria in standing urine can also make it more alkaline and produce new smells, including fishy and sulfur odors, within about three days.8Flavour and Fragrance Journal. The influence of thermal reaction and microbial transformation on the odour of human urine So a toilet that isn’t flushed right away, or a pad or underwear, can smell stronger than fresh urine.

Concentration matters inside the body, too. Overnight you go hours without drinking, so urine gets more concentrated and any odor is packed into less water, which is why the first trip of the morning may smell strongest.

Hot weather and sweating shift water out through the skin, leaving less to dilute urine. Exercise does the same, especially if you don’t drink during or after. Dark yellow or amber urine is a practical clue that you are running low on water.

To test whether concentration is the issue, drink a couple of extra glasses of water over the next few hours. If the smell becomes faint as your urine gets paler, concentration was a big part of it. If a strong smell persists even in pale urine, look again at diet and supplements, or at the warning signs below.

When an Odd Urine Smell Means You Should See a Doctor

A urinary tract infection (UTI) is an infection of the bladder or urinary tract. The bacteria that cause it give off their own distinctive odor compounds.9PubMed. Sniffing out resistance – Rapid identification of urinary tract infection-causing bacteria and their antibiotic susceptibility using volatile metabolite profiles So urine with a bladder infection often smells foul or strong, though smell alone can’t confirm or rule out an infection. Food smells are usually mild and toasty, and an infection usually brings other symptoms along with the smell. Burning when you pee, needing to go often or urgently, cloudy or bloody urine, and fever are the usual signs to watch for. Fever, chills, or pain in the back or side can mean the infection has moved beyond the bladder, which needs prompt care. If you have any of these along with a changed smell, contact a doctor rather than waiting.

A fishy smell is a different story. Trimethylaminuria, also called fish odor syndrome, makes urine, sweat, and breath smell strongly of rotting fish.10MedlinePlus Genetics. Trimethylaminuria People with this condition inherit gene changes that keep them from fully breaking down a fishy-smelling compound from food.11PubMed Central. Genetic analysis of impaired trimethylamine metabolism using whole exome sequencing It builds up and leaves in body fluids. The smell tends to persist rather than coming and going with a single meal, and the ongoing body odor can lead to social isolation and depression.12PubMed Central. Trimethylaminuria: causes and diagnosis of a socially distressing condition If you notice both a fishy smell and body odor, mention both to a doctor, who can arrange specific testing.

Rarely, air or stool in urine signals an abnormal connection between the bowel and bladder. In a group of patients with that connection, half had bubbles of air in their urine, stool in their urine, or repeated bladder infections.13PubMed Central. Diagnosis and treatment of enterovesical fistulae A truly fecal smell, gas when peeing, or recurring infections deserve prompt medical attention. A smell that lasts more than a week or two despite diet changes and more water should be checked.

At the visit, expect questions about diet, coffee, supplements, medicines, and how long the smell has lasted. You’ll likely give a urine sample to check for infection. Bring a list of your vitamins and medicines, plus notes from your food check.

Why You Smell It and Others Don’t

Differences in a single smell receptor gene can change how strong or pleasant a particular odor seems to a person.14PubMed Central. Genetic variation across the human olfactory receptor repertoire alters odor perception Whether someone can smell asparagus in urine depends partly on their genes, separately from whether their body produces the odor.15Chemical Senses. Excretion and Perception of a Characteristic Odor in Urine after Asparagus Ingestion: a Psychophysical and Genetic Study So a smell others can’t detect may still be real.

Day to day, sensitivity shifts as well. Smell fades with repeated exposure, so you may stop noticing an odor you smelled strongly at first. Congestion or allergies can dull it temporarily, and being primed to notice a smell makes you more likely to detect it again.

Some people develop distorted smell, where familiar odors seem strange, unpleasant, or burnt, often after a viral infection. Roasted-smell compounds in coffee, peanut butter, cocoa, and grilled foods are common triggers for this distortion.2PubMed Central. Insights into the molecular triggers of parosmia based on gas chromatography olfactometry If those foods themselves smell off to you, your nose may be the source rather than your urine.

To tell nose from urine, ask someone you trust to smell your urine; if they notice nothing, sensitivity may explain it. Then smell coffee, toast, and peanut butter yourself and see whether they seem normal. If many foods have smelled wrong since a cold or COVID, mention it to your doctor. Distorted smell often improves gradually over months.