Don't leave pet food sitting out overnight if rodents are a problem.
Keep garbage securely covered.
And remove clutter that could provide nesting material.
Exclusion is much more reliable than relying on fragrance.
What About Spiders?
Spiders are slightly different.
Most household spiders are not interested in your food.
They are generally looking for prey, shelter, and suitable places to build webs.
So if your house has a lot of insects, it may naturally attract spiders.
Reducing the insect population can therefore reduce the food available to spiders.
You can also reduce entry points, remove webs regularly, and keep clutter under control.
A mint plant may smell nice, but it won't create a spider-proof home.
Why Strong-Smelling Plants Get So Much Attention
There's a real scientific basis behind some of these claims.
Plants produce volatile chemicals for many reasons, including communication and defense.
Some of these compounds can affect insects.
Essential oils extracted from aromatic plants can contain much higher concentrations of these compounds than the living plants themselves.
That's why studies frequently find measurable insect-repellent effects from essential oils.
But this creates a common internet misunderstanding:
“Plant oil repels insects” does not automatically mean “putting the plant in your living room will repel insects.”
Concentration, application method, species of insect, temperature, airflow, and exposure time all matter.
Be Careful With Essential Oils
Another important point: concentrated essential oils are not automatically harmless because they come from plants.
Some can irritate the skin or respiratory tract.