Coffee grounds do not effectively deter mice. Despite their strong aroma, there is no reliable evidence that coffee grounds repel rodents, and lab research actually suggests mice are attracted to the smell of coffee rather than repelled by it. If you’re dealing with mice in your home, you’ll need a different approach.
Why Coffee Grounds Don’t Work
The idea behind coffee grounds as a mouse deterrent is straightforward: mice have a sensitive sense of smell, and coffee has an intense odor, so it should drive them away. The logic sounds reasonable, but it doesn’t hold up. Mice routinely ignore coffee grounds placed along their paths, and the scent fades quickly as the grounds dry out.
A 2022 study published in Frontiers in Behavioral Neuroscience tested something interesting. Deeply roasted coffee contains compounds that are also found in the scent of gray wolves, a natural predator. You’d expect mice to avoid those compounds instinctively. Instead, both groups of mice in the study were drawn toward the coffee odor. They showed no stress response and actually preferred spending time near the coffee scent over a neutral control. Separate research on rats found they prefer coffee odor over cheese and orange scents, suggesting something about coffee is genuinely appealing to rodents rather than threatening.
So not only do coffee grounds fail as a repellent, they could theoretically make an area more interesting to a curious mouse rather than less.
Coffee Grounds Can Create New Problems
Spreading coffee grounds around your home carries its own risks. Damp grounds retain moisture, and when left in thick layers they promote mold growth. That mold can damage surfaces indoors and harm plant roots if you’re using grounds in a garden. Excessively moist grounds also attract fungus gnats, trading one pest problem for another.
If you do use coffee grounds in garden soil for other purposes, keep the layer no more than half a centimeter thick to prevent compaction and mold. But don’t expect any rodent control benefit from doing so.
What About Peppermint Oil?
Peppermint oil is another popular natural remedy, and it has slightly more support than coffee grounds. Soaking cotton balls in peppermint oil and placing them along areas where mice travel can discourage them temporarily. You can also mix the oil with water and spray it in problem spots. However, peppermint oil evaporates quickly and needs frequent reapplication. It works best as a mild discouragement in combination with real exclusion methods, not as a standalone solution for an active infestation.
Sealing Entry Points Is What Actually Works
Mice can squeeze through holes the size of a dime. That’s roughly the width of a pencil. The single most effective thing you can do is find and seal every gap on the outside of your home. Check where pipes and wires enter walls, around door frames, near foundation vents, and along the roofline.
For sealing materials, use quarter-inch wire hardware cloth (18 to 22 gauge), which mice can’t chew through. You can also stuff holes with metal wool combined with expanding foam. Metal weather stripping under doors eliminates the gap that mice commonly exploit. If you have trees or bushes near your roof, trim them back at least four feet so rodents can’t jump across.
Trapping Mice Already Inside
Once you’ve sealed the exterior, deal with any mice still inside using snap traps. Place them along walls, behind furniture, in dark corners, and anywhere you’ve noticed droppings. Peanut butter is one of the most effective baits.
A useful trick: bait the traps with food for a few days without setting the trigger. Mice learn the trap is a safe food source and become much easier to catch once you activate it. Tie traps down so an injured mouse can’t drag one into a wall cavity and die there. Check traps daily, double-bag any dead mice, and dispose of them in your regular trash.
Poison bait should only be used outdoors and always inside a tamper-proof bait station. Using poison indoors risks having a mouse die inside your walls or attic, creating a serious odor problem and attracting flies. Always seal your home’s entry points before setting any outdoor bait, or you’ll just keep poisoning new mice that wander in through the same gaps.