5 things that help with the stale, rancid coffee funk that builds up inside a travel mug and won't wash out

Independently chosen — nobody pays to be on a list, and we say what didn't make it. How we pick the 5.

The five, at a glance

1Soak with sodium percarbonate, not dish soap2Remove and soak the gasket separately, every single time3Scrub the base seam with a pipe cleaner, not a bottle brush4Store it lid-off, every single night5Do a cold rinse within five minutes of finishing the coffee
1

Soak with sodium percarbonate, not dish soap

Coffee oils — specifically diterpene lipids plus linoleic and palmitic acids — are not water-soluble. Dish soap attacks grease at the surface but these lipids have had hours to work into the microscopic crevices of stainless steel. Sodium percarbonate (the active ingredient in OxiClean Free, Cafiza, and PBW Powder) does something fundamentally different: dissolved in hot water, it releases hydrogen peroxide, which oxidatively breaks apart the long-chain organic molecules responsible for the rancid smell, while the sodium carbonate component works alkaline saponification on the oils — essentially converting them into a water-soluble salt that rinses away. Temperature matters enormously: below about 40°C the reaction barely starts. You need water between 60 and 70°C for it to fully activate, and you need to leave it long enough. Most guides say 30 minutes. That is why most guides don't work for embedded funk.

Try it
Add one heaped teaspoon of sodium percarbonate powder directly to the empty mug and fill to the brim with water that is hot but not boiling — around 65°C is ideal; water straight off the boil degrades the peroxide too fast.
Leave it uncapped for at least two hours; overnight is fine and often necessary for a mug that has been funky for months.
For a mug you are trying to rescue rather than maintain, repeat on three consecutive days before concluding whether it has worked — the first soak loosens surface layers and the second and third get deeper.
2

Remove and soak the gasket separately, every single time

This is the single most-missed thing. The silicone or EPDM rubber gasket sits pressed against the lid, and every pour of coffee wicks coffee-laden liquid into the channel behind it where no brush ever reaches. Silicone is not inert to coffee aromatics — it absorbs volatile organic compounds directly into its polymer matrix, which is why a gasket that looks clean still reeks when you press it. Soaking the whole lid in a bowl does nothing useful if the gasket is still seated; the cleaning solution cannot circulate behind the seal. Once removed and soaked separately, the sodium percarbonate solution actually reaches every surface. And if you have already soaked the disassembled lid and the smell persists after that, the oils are inside the rubber itself — no surface cleaning will remove them at that point. Replacement gaskets for most popular mug brands cost under two pounds online, and it is simply worth replacing the gasket.

Try it
Pop the gasket out with a fingernail — most twist-and-push or slide-out lids have a removable ring that just needs a firm fingernail in the groove; do this after every single wash, not just rescue sessions.
Drop it into a small bowl with a teaspoon of sodium percarbonate in hot water and leave for one to two hours; once a month for maintenance, or immediately if you can smell it when you hold it to your nose.
Rinse thoroughly and allow to air-dry completely before reassembling — trapped moisture under a replaced gasket is what accelerates the next round of funk.
3

Scrub the base seam with a pipe cleaner, not a bottle brush

A standard bottle brush scrubs the cylindrical interior but misses two critical areas: the thread grooves on the mug rim where the lid screws down, and the join between the inner wall and the base. Coffee sits in these recessed areas every day, and at the base join in particular it thermally cycles — heating and cooling makes the liquid creep further into any gap. The bristles on a bottle brush are not thin enough to reach thread grooves, and the base of the mug is not flat enough for a brush to clean the lip where wall meets floor. A cheap pipe cleaner, or the narrow-gauge brushes sold for cleaning straws, bends to reach the rim thread and can be pressed flat against the base-to-wall join. The colour the pipe cleaner comes out after one pass around the rim threads of a mug you thought was clean is genuinely alarming.

Try it
Wet a pipe cleaner in sodium percarbonate solution and work it around the thread groove on the mug's rim in a circular motion.
Bend a second pipe cleaner at 90 degrees and run it along the join at the very base of the interior, pressing firmly into the corner — you are trying to dislodge material stuck in a seam, not just wipe a flat surface.
After scrubbing, immediately pour boiling water in to flush whatever you have loosened out before it resettles; do this weekly, not just when the smell returns — the smell is a lagging indicator.
4

Store it lid-off, every single night

The funk is largely a problem of concentration over time, not of coffee oils per se. When you seal a damp mug, you create a warm, oxygen-poor, humid pocket where the coffee residue that washing left behind — melanoidins, trapped aromatic compounds, any developing bacterial biofilm on the gasket — intensifies. Melanoidins are high-molecular-weight compounds that hold on to volatile aromatics like furans and pyrazines; in a sealed humid environment, those volatiles re-concentrate onto every surface. The common habit of washing the mug, shaking out the water, and reassembling it immediately is what turns a weekly-clean mug into a smell bomb over six months. A mug stored open on a drying rack allows moisture to evaporate, volatile compounds to dissipate, and the interior to reach equilibrium with ambient air rather than its own stale micro-climate.

Try it
After rinsing, place the mug upside down on a drying rack with the lid beside it — not screwed on, beside it.
If storing in a cupboard, do not close the lid; either leave the mug open-topped or prop the lid at an angle so air can circulate.
If the mug has sat sealed and damp for more than twelve hours — forgotten in a bag, left in a car — do a quick hot water rinse before storing open, otherwise you are letting the condensation cycle restart.
5

Do a cold rinse within five minutes of finishing the coffee

This is the preventative that would have avoided the problem entirely, and it costs nothing. When coffee oil sits in a warm, damp, enclosed container, it undergoes a slow oxidation and cross-linking process — the same chemistry that makes linseed oil harden into a wood finish, just unintentionally and in your mug. Once it has polymerised, it is chemically bonded to the surface and nothing short of an oxidative soak breaks it down. Before that stage, it is still a liquid oil that rinses off easily with cold water. Hot water, counterintuitively, actually sets it faster by accelerating the oxidation. This is why cold water specifically, and immediately, rather than waiting until you get home and washing it properly. The proper wash matters, but the immediate cold rinse is what stops the clock on polymerisation.

Try it
As soon as you finish the coffee, fill the mug with cold tap water, swirl it around, and tip it out — that is the entire thing; do not wait until you get home.
If you genuinely cannot rinse immediately, at minimum leave the lid off so the interior stays cool and does not trap the heat that speeds up polymerisation.
When you do wash it properly later, you are removing residual oil rather than trying to dissolve something that has already hardened — the difference in effort is significant.

What didn't make the list

White vinegar soak

Vinegar's acidity can neutralise some odour compounds, but it does not saponify coffee oils, which are lipids that need either an alkaline agent or an oxidiser to break apart. After an overnight vinegar soak the mug often smells of vinegar instead of coffee, which is a lateral move at best. The acetic acid smell is also harder to rinse out of silicone gaskets than it sounds, and the rancid oil compounds do not dissolve in dilute acetic acid. For breaking down the actual oils responsible for the smell, sodium percarbonate outperforms vinegar meaningfully.

Denture tablets

They do contain sodium percarbonate and bicarbonate of soda, so they are not entirely useless — but they are heavily diluted with binders, flavourings, and mint, and the concentration of active oxidiser per tablet is a fraction of using raw powder. The mint fragrance can transfer to the mug interior and you end up drinking coffee that tastes faintly of mouthwash. You would need three or four tablets to approach the concentration in one teaspoon of proper oxygen bleach, at which point you are spending more money for a weaker result.

Questions people ask

Why does my mug smell fine right after washing but the smell comes back when I put coffee in it?

Because the rancid oils are embedded in the surface and the gasket, not sitting on top. Washing removes surface residue and temporary odour, but when you pour hot coffee in again, the heat releases volatile compounds from the embedded oil and you smell it again. This is the giveaway that you need to treat the material itself rather than clean the surface — the sodium percarbonate soak and the gasket check are the interventions that actually address it.

Can I just put it in the dishwasher?

Most insulated stainless mugs should not go in the dishwasher — the high heat degrades the vacuum seal between the walls, eventually killing the insulation, and many manufacturers void warranties for dishwasher use. More relevantly, the dishwasher does not remove embedded coffee oils anyway; it gets the visible surface clean. The gasket especially needs to come out and be hand-washed, because dishwasher water does not circulate behind a seated gasket.

Does the material of the mug affect how bad this gets?

Yes, significantly. Stainless steel interiors are the least porous and the easiest to restore — most of the problem in a steel mug is the lid and gasket, not the body. Plastic interiors, even BPA-free ones, are genuinely porous and absorb oil into the material itself over months. At a certain point, a plastic-interior travel mug cannot be fully deodorised and replacement is the honest answer. This is personal experience, not medical or product advice — adjust based on your own mug.

Sources

  1. Coffee Ad Astra — coffee chemistry
Illustration of Maya Kapoor

Maya writes across the whole site — sleep, focus, ADHD and home. Every pick is either tested for a couple of weeks or traced to a solid source before it earns a spot in the five. More from Maya Kapoor

Keep going

Five things that help, every Sunday.

One list a week, picked by hand.