Coffee can smell like cat pee because of sulfur-containing compounds that form naturally during roasting. These molecules are part of what gives coffee its complex aroma, but at certain concentrations or roast levels, they tip from “pleasant” to “catty.” The good news: once you understand what’s causing it, you can usually fix it by changing your beans, roast level, or brewing water.
The Sulfur Compounds Behind the Smell
Coffee contains over 800 volatile aromatic compounds, and a handful of them belong to a family called thiols, which are sulfur-based molecules. One in particular, 3-mercapto-3-methylbutyl formate, is a known contributor to what coffee professionals call a “catty” note. A closely related compound, 3-mercapto-3-methylbutyl acetate, was first identified in coffee brews and behaves similarly. At low concentrations, these sulfur compounds contribute to the fruity, tropical character that makes specialty coffee appealing. At higher concentrations, the same molecules start smelling sharp, musky, and unmistakably like cat urine.
This isn’t a defect unique to bad coffee. These compounds exist in virtually all roasted coffee. Whether you notice them depends on how much is present and how sensitive your nose is to sulfur. Human noses are remarkably good at detecting thiols, often picking them up at concentrations measured in parts per trillion.
Darker Roasts Produce More of It
The roasting process is the main driver. When green coffee beans are heated, proteins break down through a series of chemical reactions. Sulfur-containing amino acids (especially one called cysteine) react with sugars and other compounds in what’s known as the Maillard reaction, the same browning chemistry that gives toast and seared meat their flavor. These reactions produce the sulfur volatiles responsible for coffee’s roasted character.
Research on roasting chemistry found that the concentration of both 3-mercapto-3-methylbutyl formate and its acetate cousin increases as roast level goes up. In other words, the darker you roast, the more of these catty-smelling compounds you get. This is why a very dark roast or a coffee that’s been over-roasted can cross the line from “bold” to “smells like a litter box.” If you’ve noticed the problem with a particular bag of dark roast beans, switching to a medium or light roast from the same origin may eliminate the smell entirely.
Your Brewing Water Matters
Water chemistry can amplify off-putting aromas that might otherwise stay in the background. Chlorine, which is added to most municipal tap water for disinfection, reacts with the delicate organic compounds in coffee. According to the Specialty Coffee Association, even when chlorine isn’t noticeable in your tap water on its own, it can still interact with coffee aromatics and shift the overall aroma profile. If your tap water has a noticeable chlorine smell, your coffee will almost certainly pick up unpleasant chemical notes that can blend with the natural sulfur compounds and make the catty quality worse.
Filtering your water through a simple carbon filter (like a pitcher filter or faucet attachment) removes most chlorine and chloramines. This is one of the easiest changes you can make if your coffee smells off.
Stale or Poorly Stored Beans
Fresh coffee contains a balanced mix of hundreds of volatile compounds that mask any single unpleasant note. As beans go stale, the lighter, more pleasant aromatics (floral, fruity, sweet) evaporate or degrade first because they’re the most volatile. The heavier sulfur compounds hang around longer. The result is that a bag of coffee that smelled fine when you opened it two months ago can gradually develop a flat, catty, or ammonia-like quality as the aromatic balance shifts.
Whole beans stay fresh longer than pre-ground coffee because they have less surface area exposed to air. If you’re grinding ahead of time and storing grounds in an open container, the problem will show up faster. Keeping beans in an airtight container and grinding right before brewing helps preserve the full range of aromatics that keep the sulfur notes in check.
Cold Brew and Fermentation
Cold brew seems to trigger this complaint more often than hot coffee. The long steeping time (12 to 24 hours at room temperature) creates conditions where low-level fermentation can occur, especially in warmer kitchens. Fermentation produces ammonia and other nitrogen-based byproducts that smell sharp and urine-like. If your cold brew develops the smell partway through brewing, try steeping it in the refrigerator instead of on the counter, and taste-test it at shorter intervals to find the sweet spot before off-flavors develop.
How to Fix It
Most cases come down to one of four things, and you can troubleshoot them in order:
- Roast level: Switch to a medium or light roast. The catty sulfur compounds are significantly more concentrated in dark roasts.
- Bean freshness: Buy smaller quantities and use them within two to four weeks of the roast date. Store in an airtight container away from heat and light.
- Water quality: Use filtered water. A basic carbon filter removes chlorine that can react with coffee aromatics and worsen off-notes.
- Brewing method: If you’re making cold brew, steep in the fridge and limit extraction time. For hot coffee, make sure your equipment is clean, since old coffee oils left on a French press or drip basket can go rancid and add unpleasant smells.
Some people are also genetically more sensitive to sulfur compounds than others, which means the same cup of coffee can smell perfectly normal to one person and distinctly catty to another. If you’ve tried everything above and the smell persists across multiple brands and brewing methods, you may simply have a sharper nose for thiols. In that case, lighter roasts and washed-process coffees (which tend to be cleaner and less funky than natural-process beans) are your best bet.

