Coffee and marijuana share several volatile chemical compounds, particularly sulfur-containing molecules called thiols that produce skunky, pungent aromas. When you catch a whiff of your coffee and think it smells like weed, you’re not imagining things. The overlap in their chemical profiles is real, and a few specific factors can push that resemblance from subtle to unmistakable.
The Shared Chemistry Behind the Smell
Coffee contains over 800 volatile aromatic compounds, many of which form during roasting. Among the most important are sulfur-containing molecules called thiols and mercaptans. One key compound, 2-furfurylthiol, is so central to coffee’s identity that its standalone aroma is commonly described simply as “roasted coffee.” But other sulfur compounds in the mix produce smells described as catty, skunky, or cabbage-like. Methanethiol, for instance, smells like rotten cabbage on its own.
Cannabis gets much of its skunky character from a similar family of sulfur compounds. When these overlap with the thiols in coffee, your nose picks up on the resemblance. In a freshly brewed cup, dozens of aromatic compounds compete for your attention, and the balance between them determines whether you notice floral notes, nutty warmth, or that unmistakable skunky edge. Slight shifts in that balance can make the weed-like notes jump to the foreground.
How Roasting Creates Skunky Compounds
Green coffee beans smell nothing like the finished product. The skunky, pungent aromatics are born during roasting through a set of chemical reactions. The most important is the Maillard reaction, the same process that browns bread crust and seared steak. When sugars in the bean react with sulfur-containing amino acids (especially cysteine) at high temperatures, they generate the thiols that define coffee’s aroma.
A related process called Strecker degradation also contributes, breaking down amino acids into smaller, more volatile fragments. The roast level matters here. Darker roasts push these reactions further, generating more of the heavier, smokier sulfur compounds. If your coffee tends to smell more like weed at a particular roast level, it’s likely because that specific temperature window maximized the production of skunky thiols relative to the sweeter, fruitier aromatics that form earlier in roasting.
Stale Beans Make It Worse
Freshness is one of the biggest factors. Sulfur compounds in roasted coffee are highly reactive with oxygen, and as beans sit after roasting, oxidation reshuffles the aromatic balance. Many of the pleasant, complex notes fade first, leaving the more persistent skunky and rubbery sulfur compounds exposed. Coffee drinkers on specialty forums consistently report a noticeable skunky smell appearing around 10 or more days after roasting.
Rancid coffee oils amplify the effect. If you store beans in a container that has residue from previous batches, old oils go rancid and contribute off-putting aromas that blend with the sulfur compounds. One common culprit: reusing bags or containers without cleaning them between batches. The combination of oxidized sulfur compounds and rancid oils can produce a smell that’s strikingly close to marijuana.
To minimize this, store beans in a clean, airtight container away from light and heat. Use them within two weeks of the roast date when possible. If you’re buying pre-ground coffee, the surface area exposed to air is dramatically larger, so staleness and that skunky shift happen even faster.
Some Coffees Are More Prone Than Others
Not all coffee smells equally weed-like. The chemical precursors that feed into thiol production vary by bean variety, growing region, and processing method. Beans with higher concentrations of sulfur-containing amino acids will produce more skunky aromatics during roasting. Some coffee drinkers note that certain South American origins, particularly some Brazilian and Venezuelan beans, carry more of these irregular, pungent scent profiles.
Natural (dry-processed) coffees, where the fruit dries around the bean before removal, also tend to develop funkier, more fermented aromatics that can tip toward a cannabis-like smell. Washed coffees generally have a cleaner profile with fewer of these wild notes. If the weed smell bothers you, experimenting with washed, lighter-roasted beans from East African or Central American origins may help you find a cup where those skunky compounds stay in the background.
When Your Nose Is the Variable
Sometimes the coffee hasn’t changed at all, but your perception of it has. Parosmia, a condition where familiar smells become distorted, can make coffee smell like garbage, chemicals, sewage, or skunk. It most commonly develops after a viral infection that damages the olfactory neurons in your nose. COVID-19 brought parosmia into widespread awareness, with coffee being one of the most frequently reported triggers.
In parosmia, the nerve cells responsible for detecting specific molecules regenerate unevenly after damage. Your brain receives an incomplete or scrambled signal and interprets it as something unpleasant or unfamiliar. If coffee suddenly smells wrong to you and nothing else about the beans or brewing has changed, this is worth considering. The condition typically improves over months as olfactory nerves continue to heal, though the timeline varies widely from person to person.
The Short Version of the Chemistry
Your coffee smells like weed because both contain sulfur-based volatile compounds from the same chemical family. Roasting creates these compounds, staleness concentrates them, certain bean varieties produce more of them, and your individual sense of smell determines how strongly you notice them. A bag of freshly roasted, washed beans stored properly will generally have the least skunky character. A dark-roasted, natural-processed coffee sitting open for three weeks will have the most.

