Does Ammonia Repel Raccoons? How to Use It Safely

Ammonia’s sharp, eye-watering smell can make raccoons avoid a spot temporarily, but it is far from a reliable long-term deterrent. The odor dissipates within hours outdoors, raccoons habituate quickly to repeated stimuli, and the chemical poses real health risks to you, your pets, and local wildlife. Understanding why ammonia falls short and what actually works will save you time and keep everyone safer.

Why Raccoons Dislike the Smell

Raccoons rely heavily on their sense of smell to find food, identify territory markings, and detect threats. Ammonia produces an intensely acrid vapor that irritates the nasal passages and eyes of most mammals. When a raccoon encounters a rag soaked in household ammonia tucked under a deck or near a trash can, the initial reaction is avoidance. The smell registers as something harsh and potentially dangerous, so the animal turns around and looks for an easier path to its next meal.

This is not unique to ammonia. Any strongly pungent substance, from vinegar to commercial predator-urine sprays, can provoke a similar startle-and-retreat response. The problem is that startling a raccoon once is not the same as keeping it away permanently. Raccoons are among the most behaviorally flexible urban wildlife species. They learn quickly which threats are real and which are just unpleasant smells with no actual consequence. A raccoon that encounters ammonia fumes a few times without being harmed will often push through the odor if food is on the other side.

Why It Stops Working Fast

The biggest practical problem with ammonia as a raccoon repellent is how quickly it evaporates. Household ammonia, typically a solution of about 5 to 10 percent ammonium hydroxide in water, loses its potency within a few hours when exposed to open air. Rain washes it away even faster. Wind disperses the vapor so that the concentration near the ground never builds up enough to be truly noxious. You would need to re-soak rags or refill open containers at least daily, and more often in warm or windy weather, to maintain any deterrent effect at all.

Even if you commit to that schedule, habituation works against you. Wildlife biologists have documented that many mesopredators, raccoons included, become desensitized to chemical deterrents over repeated exposures when the deterrent is not paired with an actual negative consequence like a physical barrier or a loud noise. Ammonia alone is a passive signal. It does not chase the raccoon, trap it, or cause enough discomfort to create a lasting aversion. Once the animal learns the smell is just a smell, it stops caring.

Health Risks for You and Your Family

Before you start pouring ammonia around your property, you need to understand what this chemical does to living tissue. Research on ammonia inhalation in animal models paints a sobering picture. In rats exposed to high concentrations of ammonia gas, researchers documented damage across the entire respiratory tract, including swelling and tissue death in the lungs, bronchi, and trachea, along with bleeding and inflammatory cell infiltration.1PubMed. Adverse respiratory effects in rats following inhalation exposure to ammonia: respiratory dynamics and histopathology Those were extreme laboratory concentrations, far higher than what you would generate with a household bottle. But the principle scales down: even at lower concentrations, ammonia irritates mucous membranes, can trigger coughing and throat burns, and poses a particular danger to anyone with asthma or other respiratory conditions.

The risk compounds in enclosed spaces. If you place ammonia-soaked rags in a crawl space, attic, or shed, the vapor can accumulate to levels that are dangerous for anyone who enters without expecting it. A homeowner crawling into an attic to check on an ammonia deterrent setup could inhale enough concentrated fumes to cause serious irritation. Children are especially vulnerable because their airways are smaller and they breathe faster relative to body size.

There is also a critical chemical interaction to watch for. Ammonia mixed with bleach produces chloramine gas, which can be lethal even in small quantities. If you use bleach-based cleaners in the same areas where you have placed ammonia, or if you accidentally combine them while preparing your deterrent setup, you could create a genuinely life-threatening situation. Never store or use ammonia near bleach products.

Risks to Pets and Other Wildlife

Cats are particularly sensitive to ammonia vapor. A study exposing cats to ammonia gas found that even a single short exposure caused pulmonary dysfunction that played out in two phases: an acute reaction that could itself be fatal, followed by secondary effects capable of producing chronic, debilitating respiratory damage.2PubMed. Ammonia inhalation toxicity in cats: a study of acute and chronic respiratory dysfunction If you have outdoor cats, or if neighborhood cats pass through your yard, ammonia-soaked rags left at ground level put them at real risk. Dogs are also susceptible, though their tendency to investigate things with their noses can lead to direct contact with ammonia-soaked material, causing burns to the nasal lining and mouth.

Non-target wildlife faces similar dangers. Research on the California leaf-nosed bat documented that ammonia exposure produced visceral damage, corrosion of skin and mucous membranes, and pulmonary edema.3Journal of Mammalogy. Ammonia Tolerance of the California Leaf-Nosed Bat The raccoon you are trying to deter is one species; the ammonia you leave out does not discriminate. Opossums, skunks, rabbits, ground-nesting birds, and beneficial insects can all encounter it. If your goal is to solve a raccoon problem humanely, introducing a broadly toxic chemical into the environment works against that goal.

Environmental Concerns

Pouring ammonia on the ground or leaving open containers outside introduces a reactive nitrogen compound into your local soil and water system. Ammonia in soil converts to nitrite and then nitrate through bacterial action, which can contribute to nutrient loading in nearby waterways. In small quantities from a few rags, this is unlikely to cause measurable ecological harm. But if you are reapplying frequently, as you would need to for any ongoing deterrent effect, the cumulative input adds up.

Ammonia is also surprisingly ineffective at sterilizing the areas where raccoons have been. Raccoon latrines, the communal defecation sites these animals establish, can harbor roundworm eggs that are extremely resistant to chemical treatment. You might assume that dousing a latrine with ammonia would kill pathogens, but many microorganisms are hardier than people expect. Research has shown that diverse bacterial species, including both spore-forming and non-spore-forming types, can survive exposure to ammonia concentrations as high as 35 percent for months.4Cambridge University Press. Diverse microbial species survive high ammonia concentrations Raccoon roundworm eggs are notoriously tough as well. Ammonia at household concentrations will not reliably decontaminate a latrine site.

If You Still Want to Try Ammonia

Given its limitations, ammonia works best as a very short-term, one-time nudge rather than a permanent repellent strategy. If a raccoon has just started exploring a new area of your property and you want to discourage it before the behavior becomes established, ammonia might buy you a day or two while you set up more effective exclusion measures. Here is how to minimize the risks:

  • Use outdoors only: Never place ammonia in attics, crawl spaces, garages, or any enclosed area where fumes can accumulate. Outdoor placement with good ventilation is the only acceptable option.
  • Soak rags, do not pour: Soaking a rag and placing it in a shallow container limits ground contact and makes cleanup easier. Pouring ammonia directly on soil or surfaces can damage plants and is harder to control.
  • Keep away from pets and children: Place the container somewhere inaccessible to dogs, cats, and kids. Inside a weighted wire cage near the problem area can work, though this adds complexity.
  • Wear gloves and avoid breathing fumes: Handle ammonia in a well-ventilated area. Rubber gloves and avoiding leaning over the open container are basic precautions.
  • Replace daily and remove promptly: Once you have set up physical exclusion measures, remove the ammonia. Leaving it out indefinitely creates ongoing chemical exposure with diminishing returns.
  • Never combine with bleach: This bears repeating because the consequences are severe. Chloramine gas produced by this combination is toxic at very low concentrations.

Think of this approach as a bridge, not a solution. The ammonia is there to make the raccoon hesitate long enough for you to seal the entry point, secure the trash cans, or install motion-activated deterrents.

What Actually Works to Keep Raccoons Away

Raccoons are motivated almost entirely by food and shelter. The most effective deterrents address those motivations directly rather than trying to overwhelm the animal’s nose.

Securing food sources is the single most impactful step. Use trash cans with locking lids or bungee cords. Bring pet food bowls inside at night. Clean up fallen fruit from trees. If you have a compost pile, use an enclosed tumbler rather than an open heap. A raccoon that finds nothing to eat in your yard will move on regardless of what your yard smells like.

Physical exclusion is the gold standard for keeping raccoons out of structures. Heavy-gauge hardware cloth over openings, chimney caps, and one-way exclusion doors over active entry points are all far more reliable than any chemical repellent. If a raccoon has already established a den in your attic or under your deck, a one-way door lets it leave but prevents re-entry. Once you are sure the animal has exited (and that there are no babies trapped inside, which is critical during spring and early summer), seal the opening permanently.

Motion-activated deterrents add a startle element that ammonia lacks. Motion-activated sprinklers blast the animal with water, pairing the surprise with an unpleasant physical sensation. Motion-activated lights and ultrasonic devices can also help, though raccoons in well-lit urban areas may already be accustomed to artificial light. The sprinkler option tends to be the most effective because the water contact creates a genuine negative experience rather than just a sensory annoyance.

For persistent problems, contacting a licensed wildlife control operator is often worth the cost. These professionals can assess entry points, set humane live traps when legally permitted, and design exclusion plans specific to your property. Many states regulate raccoon trapping and relocation, so DIY trapping can put you on the wrong side of local wildlife laws if you are not careful.

When Raccoons Are in Your Attic or Walls

This is the scenario where people most often reach for ammonia, and where it is most dangerous to use. An attic concentrates ammonia vapor, creating respiratory hazards for you, your family, and any pets in the house. It also does not address the core problem: the raccoon has already found a way inside and may have young with her.

Between March and June in most of North America, a raccoon in your attic is very likely a female with a litter. Sealing the entry point while babies are inside will result in them dying in the walls, creating a far worse problem than the original intrusion. The humane and practical approach is to wait until the young are mobile enough to leave on their own (usually by about eight weeks of age), then install a one-way exclusion door, and seal all entry points once the family has departed.

If you cannot wait, or if the situation involves property damage or health risks from raccoon droppings, a wildlife control professional can perform a hands-on removal of the litter and mother, relocating them together. This is not a job for ammonia, mothballs, or loud radios. The stakes for the animals and for your home’s air quality are too high for improvised chemical warfare in an enclosed space.

Raccoon Latrines and Disease Risk

Raccoons designate specific spots as communal latrines, and these sites accumulate feces over time. The primary health concern is Baylisascaris procyonis, a raccoon roundworm whose eggs can survive in soil for years and cause serious neurological disease in humans if accidentally ingested. Young children playing in contaminated soil are most at risk.

As noted earlier, ammonia does not reliably kill these eggs. The CDC recommends removing raccoon feces carefully with disposable gloves, a mask, and disposable bags, then treating the area with boiling water or fire (a propane torch on a concrete surface, for example) to destroy eggs. Contaminated soil may need to be removed entirely. Enzymatic cleaners and household disinfectants, ammonia included, have not been shown to inactivate Baylisascaris eggs effectively.

If you find a raccoon latrine on your property, cleaning it up properly is more important than any repellent strategy. The eggs become infective after about two to four weeks of sitting in the environment, so prompt removal reduces risk. Wear an N95 mask during cleanup to avoid inhaling any eggs that might become airborne with dust, and dispose of contaminated material in sealed bags in the trash rather than composting it.

Commercial Repellents and How They Compare

Several commercial products are marketed as raccoon repellents, typically based on capsaicin (hot pepper extract), putrescent egg solids, or predator urine. These face many of the same limitations as ammonia: they need frequent reapplication, they lose effectiveness in rain, and determined raccoons often push through them. Capsaicin-based sprays have a modest edge because the burning sensation on contact provides a real negative consequence rather than just a bad smell, but they wash off readily and can irritate pets and people too.

Predator-urine products (coyote urine is the most common) rely on the raccoon’s fear of natural predators. In theory, this should trigger a stronger avoidance response than an unfamiliar chemical odor. In practice, urban raccoons may already coexist with coyotes and have learned that the smell of coyote urine does not always mean a coyote is nearby. Rural raccoons in areas with active coyote populations may respond more strongly, but even then, habituation sets in.

The honest assessment is that no chemical repellent, whether homemade or commercial, provides reliable raccoon control on its own. They all work best as supplements to physical exclusion and food-source management. If someone is selling you a spray as a standalone raccoon solution, they are overselling it. The spray might help at the margins, but the trash cans, the sealed entry points, and the motion-activated sprinkler are doing the real work.

Latasha Booker

With a degree in history from Drew University, Latasha Booker is a senior writer at Biology Insights reporting on homestead management and livestock pests. She brings 12 years of agricultural experience to the site, having managed a family farm and reported for a rural county newspaper before joining the staff.