Updated: July 9, 2026

If you’re dealing with raccoon activity, you’ve probably Googled the question, “do mothballs keep raccoons away.” The short answer is that they are not a reliable fix, and they can create new problems in your home. Raccoons come for shelter and food, and the smell from mothballs fades too fast to stop them.

For more help, see our What Mothballs Repel (And Why They Often Fail) for Pests guide.

Do mothballs keep raccoons away? The short answer

Mothballs contain chemicals designed to protect stored items, not to control wildlife. People think the strong odor repels raccoons, but raccoons decide based on safety and access to resources. Even if the scent bothers one animal briefly, it does not solve the underlying attractants or entry pathways.

Why people try mothballs in the first place

Mothballs are easy to buy, inexpensive, and they seem like a quick smell-based deterrent. If you hear raccoons in the attic or see them rummaging at night, the odor feels like a direct way to “make the area unpleasant.” People also associate mothballs with closets and storage, so they assume the same effect will carry outdoors or into attics.

They also offer an illusion of control when you cannot access the entry point right away. Instead of dealing with gaps, doors, or food sources, it feels simpler to place mothballs near likely entry routes.

What raccoons actually respond to

Raccoons are practical. They look for dependable shelter (attics, crawlspaces, chimneys, roof gaps) and food (trash, pet food, bird seed, fallen fruit, compost). If your home provides cover and access, a chemical smell usually does not change the outcome for long.

What works better is removing incentives and blocking the route. Seal entry points after you confirm no babies are trapped, secure trash on a schedule, and fix structural gaps around vents and the roofline. When the space stops being safe or convenient, raccoons move on.

Where the myth comes from

The mothball “repellent” idea spreads because the odor is strong and people notice it changing animal behavior temporarily. In some cases, raccoons may avoid an area right after mothballs are placed, especially in very open or exposed spots. But that reaction is not the same as long-term exclusion.

The myth also ignores how quickly odors disperse and how raccoons can tolerate or route around unpleasant conditions. If the entry point and attractants remain, the problem returns, often with more damage than before.

Why mothballs usually fail in attics and yards

Mothballs are not built for outdoor wildlife control. In real homes, odor disperses and the raccoon’s plan stays the same, enter, nest, and feed. Once an animal establishes a routine, a temporary scent rarely ends it.

Odor dissipates fast in open spaces

In yards and on exterior ledges, airflow and sunlight break down the odor effect quickly. A few mothballs placed on a porch or near a fence line do not create a lasting “barrier,” they just create a short-lived smell patch. Raccoons can also change their routes, use nearby cover, and keep working the same food source while avoiding the strongest scent.

In attics and crawlspaces, the opposite problem happens. The scent can linger in certain pockets, but raccoons may still ignore it if the area is safe enough for resting or nesting. Either way, odor alone does not stop access.

Raccoons are driven by shelter and food, not just smell

If your attic offers a warm, protected space, raccoons will search for it again even when something smells off. The same is true for trash bins, compost, and pet food. A raccoon can tolerate mild discomfort, then return when the scent fades or the animal finds a better route.

Fixing the problem means addressing what brings them in. Remove food access, lock up trash, and seal entry points after the animals leave. When you eliminate both the incentive and the doorway, you stop repeat visits.

Juveniles and nesting mothers can ignore the odor

If a raccoon has babies, the priorities shift to safety and nesting. Nesting mothers may continue using the den area even when the smell changes, because leaving could expose the young. Juveniles also spend time testing and exploring close to where they were born, so they can persist in the space.

This is why scent-based deterrents are risky. You may think the mothballs worked, while the animals keep nesting. Damage and contamination can worsen before you ever seal the entry.

The real risks of using mothballs for wildlife control

Mothballs can harm the people and animals you are trying to keep safe. They also create extra cleanup work and potential fire or air-quality issues, especially in indoor spaces.

Toxicity to people, pets, and indoor air

Many mothballs use naphthalene or similar chemicals that can be toxic if inhaled, ingested, or absorbed through skin. In an attic, the odors can migrate, especially through vents or gaps that connect to living areas. In a crawlspace, heat and airflow can move contamination toward the home interior.

Pets and children are the biggest concern when mothballs are accessible. A dog may chew a softened item, and a child may touch or inhale fumes during an inspection. Using mothballs in living-adjacent areas increases exposure risk.

Illegal or off-label use concerns

Mothballs are intended for protecting stored fabrics, not for wildlife control. That means using them to manage raccoons can fall outside the product’s intended use and labeling. The legal and regulatory risk varies by location, but the safety guidance on the label matters.

If you’re considering this route, treat it as a red flag rather than a solution. The more reliable path is to use proven exclusion methods and prevention steps designed for wildlife conflicts.

Fire, contamination, and cleanup problems

Mothballs are chemicals, not neutral odor blocks. They can leave residue on surfaces, contaminate stored items nearby, and create a persistent smell that is hard to remove. In some setups, people place mothballs in attics, basements, or near insulation, which makes later cleaning more complicated.

If the odor clings, you may end up having to remove insulation or clean contaminated areas after the animals leave. Fire risk depends on storage and materials around the mothballs, but any handling in enclosed spaces raises hazard during cleanup.

What to do instead of mothballs

A safer approach focuses on access and attractants. When raccoons cannot enter and cannot find food, the activity stops without relying on toxic chemicals.

Remove food sources and pet access

Start by taking away the items raccoons use to survive and return. Trash access is the fastest fix, then address pet food and outdoor attractants.

  1. Secure household trash in a closed bin with tight lids, and keep it indoors until collection day.
  2. Bring pet food in after feeding time, and do not leave water bowls outdoors overnight.
  3. Remove bird seed, fruit, and fallen food from the ground, at least during active periods.
  4. Store compost in a locked bin or use a raccoon-resistant tumbler.

Seal entry points the raccoon can actually use

After you confirm there are no babies trapped, seal the routes that match raccoon access. Raccoons can pull up loose vents and squeeze through surprisingly small gaps, so focus on openings around the roofline.

  1. Inspect the roof edge, soffits, fascia, vents, chimney openings, and any plumbing or electrical penetrations.
  2. Repair damaged flashing and close gaps with durable materials, not temporary foam.
  3. Use hardware cloth (1/4 inch or smaller openings) for exterior openings where raccoons can chew.
  4. Fix loose vent covers and install secured chimney caps.

Use bright light, noise, and exclusion carefully

Lighting and sound can discourage exploration, but they are not a stand-alone plan. Use them short-term while you complete exclusion and repairs, and never assume they replace sealing.

  1. If you use motion-activated lights, place them to illuminate the entry route without shining into neighbors’ windows.
  2. Avoid constant high-noise devices that could backfire with neighbors or stop working quickly.
  3. Pair any deterrent with immediate access removal and structural repairs.
  4. Do not seal an active entry until you know babies are not inside.

Call a licensed wildlife professional when babies may be present

If you suspect a den with young, your safest option is professional removal and exclusion timing. Babies change the rules, because sealing too early can trap them inside and create intense odor and health hazards.

Contact a licensed wildlife professional if you hear squealing, find a nest, see repeated entry with a hidden gap, or notice heavy damage that suggests a maternity den. Professionals handle one-way exclusion timing and can advise on cleaning and repairs safely.

How to get raccoons out of an attic safely

Getting raccoons out requires the right sequence. If you seal too early, you can trap babies, and if you skip cleanup, you inherit contamination.

Check for signs of nesting, droppings, and damage

Before any exclusion, look for evidence of active occupancy. Raccoon droppings, strong odor, rub marks, and torn insulation help you understand what is happening.

  1. Search for droppings along the entry route, near beams, and in corners where animals rest.
  2. Look for shredded insulation, gouge marks, and flattened areas that suggest nesting activity.
  3. Identify nesting material, like bits of leaves, fabric, or insulation clumps.
  4. Listen at night for scratching, movement, and repeated travel between the same spots.

Wait until young are old enough before sealing

The timing matters because raccoon moms may keep returning with food. If babies are inside, sealing traps them and creates odor and cleanup problems.

  1. If you suspect a litter, wait until activity decreases and you no longer see adults entering and leaving with urgency.
  2. Confirm through careful observation of entry and exit patterns, preferably over multiple nights.
  3. Plan sealing only after the animals have left the attic.
  4. Use professionals if you cannot confirm that young are gone.

Install a one-way exclusion device when appropriate

A one-way exclusion device lets raccoons exit while preventing re-entry. It is a core tool for humane removal when the den is active and you can’t remove the animals directly.

  1. Choose a properly sized one-way device for the specific opening.
  2. Install it on the exterior side so raccoons can leave through the device.
  3. Keep the opening unobstructed so animals can exit freely.
  4. Seal the entry after you confirm the animal has left and no new activity appears.

Clean and disinfect after the animals leave

Cleanup should happen only after the raccoons are confirmed out. You’re dealing with droppings and materials that can carry pathogens, so treat it as a safety task, not a quick sweep.

  1. Wear protective gear, including gloves, eye protection, and a properly fitted respirator rated for dust.
  2. Remove contaminated insulation and nesting materials when feasible.
  3. Clean surfaces with an appropriate disinfectant, then allow full drying.
  4. Seal cleaned areas and repair damage so the space cannot be used again.

How to make your home less attractive long term

Long-term control comes from prevention. When your property stops offering reliable food and easy shelter, raccoons stop spending time there.

Secure garbage, compost, and outdoor feeding areas

Raccoons learn routines quickly, so change the routine and remove the rewards.

  1. Use raccoon-resistant trash containers with locking lids.
  2. Store trash indoors until just before pickup, then bring it in promptly after.
  3. Cover compost bins and keep them closed, especially overnight.
  4. Do not feed pets outdoors after dusk, and remove uneaten food the same night.

Protect vents, soffits, chimneys, and roof gaps

Raccoons squeeze through openings around the roofline, especially where materials are loose or damaged.

  1. Install or repair chimney caps with secure mesh.
  2. Screen soffit and vent openings with durable hardware cloth.
  3. Fix loose flashing and gaps around pipes and wiring penetrations.
  4. Address roofline weak spots after storms, even if the damage seems minor.

Trim trees and remove easy roof access

If raccoons can reach the roof edge from a nearby branch, they can bypass many ground-level barriers.

  1. Trim tree branches back from the roof so there is no easy landing path.
  2. Remove vines or climbing plants that create routes to gutters and edges.
  3. Keep ladders, yard structures, and tall tools positioned away from the roofline.

Follow up after repairs to catch new activity early

Raccoons test changes and may return to the last known route if a new gap exists.

  1. After repairs, keep night surveillance for at least a couple weeks if activity was recent.
  2. Re-check vents, corners, and exterior seams after heavy rain or wind.
  3. Use exterior lighting to help you notice fresh scratching or new entry attempts quickly.

When to skip DIY and call for help

Some situations are not safe or humane to manage on your own. If you see warning signs, get help before you make the problem worse.

Signs of babies, biting, or aggressive behavior

Biting or aggression is a safety issue, and babies are a humane-timing issue. In both cases, DIY handling can escalate risk and create trapped animals.

  1. If you hear high-pitched squeaking or see infants nearby, stop DIY and call a wildlife professional.
  2. If a raccoon is blocking access, lunging, or acting aggressively, keep distance and get professional help.
  3. Avoid direct contact with any animal, even if it seems calm.

When odor or damage suggests a larger infestation

Strong odor plus heavy damage can mean multiple animals or deeper nesting. That increases cleanup and the chance that another entry remains open.

  1. If the odor is strong and spreads through the home, do not keep waiting it out.
  2. If you find multiple entry points or repeated droppings in different areas, treat it as a larger event.
  3. If insulation removal may be needed, professional assessment is the safer move.

Situations involving insulation contamination or wiring damage

Attic work can expose you to hazardous materials and electrical hazards. Insulation contaminated with droppings needs careful handling, and chewed wiring is dangerous.

  1. If wiring is chewed, exposed, or sparking, shut off power to that area and call for help.
  2. If insulation is saturated with droppings or urine, professional cleaning and removal may be necessary.
  3. If you are not comfortable with attic repairs and protective equipment, skip DIY and get expert support.

Frequently Asked Questions

Do mothballs keep raccoons away at all?

Mothballs can seem like a deterrent at first because the odor is intense. Still, they are unreliable and do not address why raccoons enter your home, which is access to shelter and food. In attics and other enclosed areas, the smell can linger, but raccoons often continue nesting anyway.

They also create safety and odor concerns, especially indoors or near vents. If you want raccoon activity to stop, focus on removing attractants and sealing entry points at the right time.

Will mothballs repel raccoons from an attic?

Not reliably. An attic is enclosed enough that mothball odor may linger, but it also provides the kind of safe space raccoons seek for resting and raising young. If an animal already has a route in, scent alone does not stop it from using the den area.

Raccoons also can tolerate changes and route around the strongest smell. Exclusion methods and structural repairs work better than odor-based deterrents.

Are mothballs safe to use around pets or children?

No. Mothballs can be hazardous if inhaled or touched, and the risk increases when they are stored or handled in places where children and pets can reach them. In a home, vapors and residues can spread beyond the exact spot where you placed them.

Using mothballs as a general wildlife repellent inside or near living spaces is not a safe choice. If raccoons are inside, use removal and prevention steps that do not put household members at risk.

What is the best way to get raccoons out without mothballs?

Remove the attractants and handle entry correctly. Start by taking away trash access and pet food, then figure out whether babies may be present. If animals are actively using an attic, crawlspace, or roof gap, use proper exclusion timing such as sealing after animals have left and installing a one-way device when appropriate.

That approach stops re-entry without relying on toxic chemicals. It also reduces the chance of trapping young animals inside.

How do I keep raccoons from coming back?

Secure food sources and eliminate easy shelter. Lock up trash and compost, bring pet food in at night, and remove outdoor attractants like bird seed on the ground. Then close the routes raccoons use, including roof gaps, soffits, vents, chimneys, and damaged flashing.

After repairs, keep an eye on the area for renewed scratching or entry attempts. Catching new activity early prevents the next round of nesting and damage.

Related Posts:

Mothballs