Will Mothballs Keep Squirrels Away? Safer Options
In this article
No, mothballs are not an effective or safe way to keep squirrels away, and using them outdoors is illegal in many places. While the strong odor of naphthalene or paradichlorobenzene may temporarily deter a squirrel, the effect wears off quickly, and the chemicals pose serious health risks to people, pets, and the environment. Instead, use physical barriers, taste repellents, or humane exclusion methods that actually address the squirrel's motivation for being in your yard or attic.
Why People Try Mothballs for Squirrels
Mothballs are a common household product designed to kill fabric pests like clothes moths and carpet beetles in sealed containers. Because they release a pungent, volatile gas, many homeowners assume the smell will repel any animal, including squirrels. This logic seems simple, but it ignores how mothballs actually work and how squirrels behave.
Squirrels are driven by food, shelter, and nesting sites. A mothball's odor may make a small area unpleasant for a few hours or days, but it does not remove the food source (birdseed, fruit, nuts) or block the entry point (a hole in the roof, a gap in the soffit). Once the scent dissipates or the squirrel becomes accustomed to it—which can happen quickly—the animal will return. Mothballs are also not registered as animal repellents by the Environmental Protection Agency (EPA). Using a pesticide for a purpose not listed on the label is illegal under federal law in the United States.
How Mothballs Work (and Why They Fail Outdoors)
Mothballs work by sublimation: the solid chemical turns directly into a toxic gas. In a sealed container, the gas concentration builds up and kills insects. Outdoors or in open spaces, that gas disperses rapidly, so the concentration near the ground is usually too low to repel a squirrel for more than a short time. Rain, wind, and sunlight also break down the chemicals or wash them away.
Even if you place mothballs in a burrow or nest, the effect is temporary. Squirrels have a strong sense of smell, but they are also highly adaptable. A persistent squirrel may simply move the mothballs out of the way or ignore them after a few days. The only reliable way to keep squirrels away is to remove what attracts them or block their access.
Health and Safety Risks of Mothballs
Mothballs are toxic. The active ingredients—naphthalene or paradichlorobenzene—can cause headaches, nausea, dizziness, and eye or throat irritation in humans. Inhaling high concentrations can lead to more serious effects, especially in children or pets. If a dog or cat eats a mothball, it can cause vomiting, seizures, or liver damage, and veterinary treatment is often needed.
Outdoor use also contaminates soil and water. The chemicals can leach into the ground, harming beneficial insects, earthworms, and plants. In the United States, the EPA requires that mothballs be used only in airtight containers to kill fabric pests. Putting them in a garden, attic, or garage is a misuse that can result in fines and, more importantly, real harm to your family and local wildlife.
What to Use Instead: Physical Exclusion
The most effective and humane way to keep squirrels away is to make it impossible for them to enter or access the area. For a garden or bird feeder, that means:
- Install a squirrel-proof bird feeder with a weight-activated cage or a baffle above and below the feeder.
- Use metal or heavy-duty plastic mesh around vegetable beds or fruit trees, buried at least 6 inches deep to prevent digging.
- Trim tree branches that are within 8–10 feet of your roof to block jumping access.
- Seal all gaps, holes, and cracks in your home's exterior with steel wool, caulk, or metal flashing. Pay special attention to rooflines, eaves, and vents.
- Install a chimney cap and cover attic vents with hardware cloth.
If a squirrel is already inside your attic, do not seal the entry point until you are sure the squirrel is out. A trapped squirrel can die or cause more damage trying to escape. Instead, use a one-way exclusion door (a commercially available device that lets the squirrel exit but not re-enter) and then seal the hole after a few days.
Natural and Taste-Based Repellents
For areas you cannot physically block, taste or odor repellents can be part of a broader strategy. These are not guaranteed, but they are safer than mothballs:
- Capsaicin sprays: Made from hot peppers, these deter squirrels by taste and smell. Reapply after rain or every few weeks. They are safe for plants but can irritate your eyes and skin, so apply carefully.
- Predator urine (e.g., fox or coyote): Available at garden stores, these may scare squirrels temporarily, but they wash away and need frequent reapplication.
- Garlic or pepper flakes: Sprinkling these around plants may help, but they are not long-lasting and may need to be refreshed weekly.
- Ultrasonic devices: These emit high-frequency sounds that are supposed to repel squirrels, but results are mixed and many squirrels quickly habituate to the sound.
Remember that repellents only work if the squirrel has an alternative food source or entry point. If you have a bird feeder full of sunflower seeds, no smell will keep a hungry squirrel away for long.
Common Problems with DIY Squirrel Control
One of the biggest mistakes is using a single method and expecting permanent results. Squirrels are intelligent and persistent. They can chew through plastic, squeeze through gaps as small as 1.5 inches, and jump up to 4 feet vertically from a standstill. A repellent that works for a week may stop working once the squirrel learns it is harmless.
Another issue is misidentifying the animal. Rats, mice, raccoons, and birds can cause similar damage. If you see droppings, gnaw marks, or hear scratching in the attic, confirm it is a squirrel before choosing a method. Squirrels are active during the day, so daytime noises are a clue; nighttime noises often point to rats or raccoons.
Finally, never use poison bait for squirrels. Poison can kill non-target animals like owls, hawks, or pets that eat the poisoned squirrel. It is also inhumane and, in many areas, illegal for use on wildlife. Always choose exclusion and repellent methods that do not harm the animal.
Cost and Effort Comparison
Mothballs are cheap—a box costs a few dollars—but they are ineffective and can lead to fines or health issues. In contrast, a squirrel-proof bird feeder might cost $30–$60, and a roll of hardware cloth is about $10–$20. Sealing entry points may cost more if you hire a professional, but it is a one-time investment that solves the problem permanently.
Repellent sprays and granules cost $10–$25 per bottle and need reapplication every few weeks, so they add up over a season. Physical barriers are the most cost-effective long-term solution because they require little maintenance and do not harm the squirrel or the environment.
Frequently Asked Questions
Will mothballs kill squirrels if they eat them?
Mothballs are toxic if ingested, and a squirrel could die from eating enough. However, squirrels rarely eat mothballs because they are not food. The bigger risk is to pets and children who might mistake them for candy or treats. Even if a squirrel does not eat one, the fumes can cause respiratory distress.
Can I put mothballs in my attic to get rid of squirrels?
No. Mothballs in an attic will not effectively drive out a squirrel, and the fumes can contaminate your home's air, making it unsafe for you and your family. You need to find the entry point, use a one-way door, and then seal the hole.
What smell do squirrels hate the most?
Squirrels are deterred by strong, pungent odors like capsaicin (hot pepper), garlic, and predator urine. However, these are not long-lasting and need to be reapplied frequently. No smell is a permanent solution.
Do coffee grounds keep squirrels away?
Coffee grounds are sometimes suggested as a squirrel repellent, but there is no strong evidence they work consistently. They may help slightly because of the odor, but they are not reliable. If you use them, mix them into the soil around plants, but expect to reapply often.
Is it legal to use mothballs outdoors?
In the United States, it is illegal to use mothballs for any purpose other than what is on the label, which is killing fabric pests in sealed containers. Outdoor use is a violation of federal pesticide law and can result in fines. Always read and follow the label.
How do I get rid of squirrels in my yard permanently?
There is no permanent way to keep squirrels out of an open yard, but you can reduce their presence by removing food sources (like fallen fruit or birdseed), using squirrel-proof feeders, and trimming branches. For your home, sealing all entry points is the only permanent solution.