If you’re hoping to keep rats out, knowing which smells they can’t stand is actually a pretty simple and natural trick. Strong scents like peppermint oil, ammonia, eucalyptus, and garlic are some of the most effective smells that rats avoid. Their sensitive noses just can’t handle these odors, so your home feels way less inviting.

Try using these scents around your house to create invisible barriers that rats really don’t want to cross. Whether you grab essential oils, some spices, or just stuff you already have at home, these smells can help keep rats at bay—no harsh chemicals needed.
Most Effective Smells That Keep Rats Away

Certain strong smells mess with rats’ sensitive noses and make them think twice about coming inside. These odors work best if you use them often in places rats like—think basements, entry points, or those weird dark corners.
If you know which scents to use, you can make your space way less appealing to rodents.
Peppermint Oil and Clove Oil
Peppermint oil is probably the most popular rat repellent out there. Its strong menthol scent throws off how rats use their sense of smell to find their way around.
Soak some cotton balls in peppermint oil and put them near holes, doorways, or under sinks. That usually helps keep rats away.
Clove oil has this spicy, powerful smell that rats really don’t like. Like peppermint, it can cover up food smells and confuse them.
Try using clove oil in sprays or on cotton balls around your home’s edges. Both oils need frequent reapplication to stay effective, so don’t forget to refresh them.
Eucalyptus Oil and Camphor
Eucalyptus oil has a sharp, almost medicinal scent that rats tend to avoid. It mimics some natural predator smells, so rats feel threatened.
Mix eucalyptus oil with rubbing alcohol and spray it in spots where rats hide, like attics or garages.
Camphor, which you’ll find in some mothballs, also keeps rats away because of its strong smell. Just a heads up though—mothballs contain chemicals like naphthalene, so only use them outside or in spaces with plenty of fresh air.
Don’t use too much indoors, since it’s not great for your health.
Ammonia and Predator Scents
Ammonia gives off a strong, harsh odor that rats hate. It smells like predator urine and signals danger.
Try using ammonia-soaked rags in basements or crawl spaces, but be careful indoors because it can irritate your lungs.
Predator urine, like from cats, naturally scares rats off since they sense the risk of being hunted. You can buy commercial sprays with a synthetic predator urine smell and put them around your garden or outside your house.
Vinegar and Bleach
White vinegar has a sharp, acidic scent that makes rats uncomfortable. Spraying vinegar near entry points can help keep rats from coming inside.
It’s safe and easy to find, but the smell fades quickly, so you’ll need to reapply it often.
Bleach also has a strong chemical smell that can push rodents away if you use it carefully. Don’t use a lot indoors—bleach fumes aren’t good for your lungs.
Stick with diluted bleach solutions outside or near trash bins if you want to discourage rats from hanging around.
Natural and Household Smells That Deter Rats

Some natural and household smells can help keep rats away by bothering their sensitive noses. These range from spicy peppers to strong herbs and oils.
Using them at home can make certain areas unappealing to rats, and you don’t have to use anything toxic.
Cayenne Pepper, Black Pepper, and Cinnamon
Cayenne pepper is spicy and strong—a natural rat repellent thanks to capsaicin, the stuff that makes it burn. Rats hate breathing in or eating anything with cayenne.
Sprinkle it around entry points or spots where you see rat activity.
Black pepper works in a similar way by irritating a rat’s nose. Its sharp scent messes with their ability to sniff out food.
Put some black pepper in likely places to help keep rats away.
Cinnamon’s strong smell also puts rats off. Place cinnamon sticks or powder near corners or shelves to create a mild barrier.
Refresh these spices regularly to keep their scent strong.
Garlic and Onions
Rats really don’t like the pungent smells of garlic and onions. Crush some garlic cloves to release their strong odor and leave them in areas where rats show up.
Just know the smell can linger in your space.
Raw onions have a sharp, acidic scent that rats avoid. When you cut or crush onions, they release enzymes that irritate a rat’s nose and eyes.
Both garlic and onions make their presence known in your home, but if you want a natural and cheap way to repel rats, these kitchen staples do the trick.
Citronella, Lavender, and Bay Leaves
Citronella is well-known for repelling insects, but its oil’s strong scent also keeps rats away. Use citronella oil or dried citronella in problem spots.
Skip the candles though—burning them doesn’t really work on rats.
Lavender and lavender oil have a sweet but overwhelming smell that rats dislike. Soak cotton balls with lavender oil and put them in places rodents visit.
Bay leaves are easy to scatter around your home and give off a scent rats generally avoid. Use crushed or whole bay leaves in storage areas or cupboards as a gentle natural repellent.
Coffee Grounds and Rosemary
Rats really hate the bitter, strong smell of coffee grounds. If you sprinkle some dry grounds around where you think rats travel, you might keep them away without hurting anything.
Honestly, it’s a pretty safe and eco-friendly trick for your home. I mean, why not try it if you already drink coffee?
Rosemary gives off an aromatic scent that a lot of people actually like, but rats? Not so much. You can put fresh rosemary or a few drops of rosemary oil on cotton balls or in little sachets, then stash them in spots where rats show up.
Just remember to refresh the scent every so often because it fades.
So, if you’re looking for natural ways to repel rats that won’t bother your family or pets, coffee grounds and rosemary seem like clever options.