Key takeaways
- UF/IFAS notes that no repellents are registered specifically for roof rats, Florida's most common rat.
- Odor and taste repellents generally lack evidence of working on rats, according to the Internet Center for Wildlife Damage Management.
- Mothballs are registered pesticides approved only for airtight containers; using them in attics, walls or yards to repel animals is illegal.
- Ammonia fumes can burn the eyes, nose, throat and lungs, and ammonia must never be mixed with bleach (CDC).
- Sealing gaps of 1/2 inch or more and removing food, water and shelter are what actually prevent rat infestations.
In this article
No smell has been shown to reliably prevent a rat infestation. Peppermint oil, eucalyptus, cloves and other odors may make a spot briefly less appealing, but University of Florida specialists note that no repellents are registered for roof rats, and some popular “smell” remedies, such as mothballs and ammonia, are illegal or hazardous when used that way.
Rats do have a keen sense of smell, and that is why scent remedies sound logical. The problem is that a rat looking for food and a dry place to nest will put up with an unpleasant odor, especially as it fades. Below, we test the seven most common odor remedies against the evidence, then cover what does keep rats out of South Florida homes.

Why Smells Seem Like They Should Work
Rats rely heavily on smell to find food and to recognize their surroundings. So it is reasonable to ask whether a strong odor can push them away. In practice, three things work against it:
- Rats adapt. When food and shelter are close, they tolerate odors they would normally avoid.
- Scents fade. Oils evaporate and powders scatter, so any effect is short-lived and needs constant reapplication.
- The cause stays. A smell does not seal a gap, remove fallen fruit or close a garbage can, so the reasons rats came are still there.
The Internet Center for Wildlife Damage Management notes that general animal repellents based on taste or odor are sometimes marketed for rats but generally lack evidence of working on them. UF/IFAS adds that no repellents are registered specifically for roof rats, the most common rat in Florida.
7 Odors People Use Against Rats, and What the Evidence Says
1. Mint and Peppermint Oil
Cotton balls soaked in peppermint oil are the most popular home remedy. There is no good evidence that they keep rats out of an attic or kitchen. The oil evaporates within days, and rats that have a nest and a food source nearby simply route around the smell. Growing mint in the garden does even less. If you like the scent, use it, but do not count on it as rodent control.
2. Mothballs
Mothballs contain naphthalene or paradichlorobenzene and are registered pesticides. According to UF/IFAS, the label allows only one use site, an airtight container, and using mothballs outdoors to repel snakes and wildlife is illegal. A UF/IFAS Extension notice written at the request of FDACS adds that placing them in attics, walls, voids, crawl spaces or gardens violates the label.
They are also dangerous. UF/IFAS warns that one mothball can cause serious harm if a child eats it, that naphthalene can cause hemolytic anemia, and that paradichlorobenzene vapors can cause headaches, dizziness and nausea.
3. Ammonia
The idea is that ammonia smells like the urine of predators. There is no evidence it drives rats out of a house, and the fumes are a real hazard to you. The CDC explains that high levels of ammonia can burn the eyes, nose, throat and lungs, and that household ammonia can release gas when mixed with other cleaning products, including chlorine bleach; its advice is never to mix household cleaners. Bottle caps of ammonia in a closed attic or under a sink are the wrong place for it.
4. Chili Powder and Cayenne
Hot pepper irritates noses and skin, including yours, your children’s and your pets’. Sprinkled in corners and openings, it is quickly tracked around, blown away or washed out by humidity and rain. It does not close the opening it is sprinkled in, and rats can still pass through.
5. Bergamot and Citrus
Cut fruit placed around the house is more likely to attract pests than repel them. Roof rats in particular love fruit: UF/IFAS describes citrus hollowed out through a hole about the size of a quarter or half dollar as typical roof rat damage in Florida. Leaving fruit out is the opposite of rat prevention.
6. Eucalyptus
Eucalyptus oil and plants have the same limits as peppermint. A tree in the garden will not stop a rat from walking past it to reach your soffit, and a sprayed scent fades quickly outdoors in South Florida’s heat and frequent rain.
7. Cloves
Ground cloves or clove oil near suspected nests may mask odors for a short time, but there is no evidence they prevent nesting or entry. As with every scent, the effect ends when the smell does.
| Odor remedy | Proven to keep rats out? | Main problem | Better alternative |
|---|---|---|---|
| Peppermint and mint | No | Fades within days; rats adapt | Seal entry points |
| Mothballs | No | Illegal off-label use; poisoning risk | Seal entry points and trap |
| Ammonia | No | Toxic fumes; dangerous with bleach | Remove food and water |
| Chili powder | No | Irritates people and pets; washes away | Clean up food sources |
| Bergamot and citrus | No | Fruit attracts roof rats | Pick up fallen fruit |
| Eucalyptus | No | Scent fades outdoors | Trim trees away from roof |
| Cloves | No | Short-lived masking only | Sanitation and trapping |
Need help with pests in South Florida?
Toro Pest Management has protected homes and businesses since 1969. Get a free inspection and $25 off your first service, backed by our 110% Satisfaction Guarantee: if the pests come back, so do we, at no extra cost.
What About Ultrasonic Devices and Other Gadgets?
Plug-in ultrasonic repellers are the electronic cousin of smell remedies. UF/IFAS says there is no evidence that ultrasonic or electromagnetic devices drive rodents from their home range, and that they may cause hearing loss in pets, especially dogs. The Internet Center for Wildlife Damage Management also states that ultrasonic devices have not been proven to provide rat control.
Cats are not a reliable answer either. UF/IFAS describes cats and dogs as generally poor rat controllers. Barn owls and nonvenomous snakes, such as rat snakes, are useful predators, so leave them alone when you see them.
What Actually Prevents Rat Infestations
The approach that works is less exciting than a scent, but it lasts: deny rats a way in, then deny them a reason to stay.
Seal Every Gap
According to UF/IFAS, rats can squeeze through cracks about 1/2 inch wide, and mice through gaps about 1/4 inch wide. Seal openings with rodent-resistant materials such as heavy sheet metal, hardware cloth with openings no larger than 1/4 inch, cement mortar or concrete. Pay attention to:
- Roof vents, soffits and the gap where the roof meets the wall
- Pipes, cables and AC lines entering the house
- Garage doors with worn bottom seals
- Dryer vents and crawl space vents
Our step-by-step guide to finding rodent entryways in your home helps you inspect methodically.
Remove Food, Water and Shelter
- Keep garbage in cans with tight lids and empty them often.
- Store pet food and bird seed in sealed containers and bring bowls in at night.
- Pick ripe fruit and clean up fallen fruit every few days.
- Fix dripping spigots and irrigation leaks.
- Clear clutter in garages and debris piles in the yard.
UF/IFAS stresses that sanitation has to be ongoing, because a once-a-year cleanup generally does not work.
Cut the Roof Rat Highways
In South Florida, most rats in attics are roof rats, which travel along branches, vines, fences and utility lines. Trim branches and vines away from the roof and walls, and remove the dead frond skirts on palms where rats nest. Read more about how rats get in from above.
Trap the Rats Already Inside
Snap traps placed along walls and runways, at right angles to the path, remain a dependable tool. UF/IFAS notes that rats are wary of new objects, so leave traps unset for a few days with bait until the rats take it, then set them. Any rodenticide should be placed only in tamper-resistant bait stations, according to the label. For a deeper look at prevention for the larger ground-dwelling species, see Norway rats and how to prevent infestations.
When to Call a Professional
If rats keep returning, you hear them most nights, or you cannot find how they get in, the infestation has outgrown home remedies. Toro’s rodent control service starts with a free inspection from the roofline to the foundation to identify the rodent and every entry point. Technicians then remove the rodents with trapping and baiting placed according to the label, seal the entry points, and offer dropping and urine disinfecting and sanitation.
Toro has served Miami-Dade, Broward, Palm Beach and the Keys since 1969, responds within 24 hours, and new customers get $25 off the first service.

Contact Toro today
A free inspection & $25 off your first service
A trained Toro technician inspects your home or business, explains what was found and gives you a clear plan and quote, backed by our 110% Satisfaction Guarantee.
305-594-4767Frequently Asked Questions
What smell do rats hate the most?
Does peppermint oil get rid of rats in the attic?
Is it legal to put mothballs in my attic for rats?
Do ultrasonic rat repellers work?
What attracts rats to a house in the first place?
Sources
- The Facts about Mothballs (EDIS PI289), UF/IFAS Extension
- Moth Balls Prohibited Outside, UF/IFAS Extension Pinellas County
- Control of Roof Rats in Fruit Trees (EDIS SSWEC120), UF/IFAS Extension
- Roof Rat Prevention and Control Methods, Internet Center for Wildlife Damage Management
- Ammonia, Centers for Disease Control and Prevention
- Rat and Mouse Control (EDIS ENY-224), UF/IFAS Extension
Educational content. This article is for general information about pests in South Florida and is not medical, legal or professional advice. If you have a bite, sting or allergic reaction, contact your doctor; in an emergency, call 911. Pest problems vary from home to home, so a licensed professional should inspect before treatment. When using any pesticide, always read and follow the product label.




