You can get rid of ants without putting your pets at risk by using a combination of physical barriers, vinegar sprays, diatomaceous earth, and simple pantry ingredients. Most conventional ant baits and sprays contain chemicals that are harmful if your dog or cat licks, sniffs, or walks through them. The good news is that the most effective pet-safe methods work just as well, and many cost almost nothing.
Start With Physical Barriers
The simplest pet-safe ant control doesn’t involve any chemicals at all. If ants are getting into your pet’s food, a water moat is the most reliable fix. You can buy purpose-built products like the Antser or Sani-Moat, which are platforms you fill with soapy water and set your pet’s food bowl on top of. Ants can’t cross the water barrier. Some designs, like the Mote, use a curved lip instead of water to block ants from climbing up.
You can also DIY a moat by placing your pet’s food bowl inside a larger shallow dish filled with a thin layer of soapy water. Change the water every few days to prevent mosquito breeding. A thin line of petroleum jelly around the outside rim of the food bowl works too, since ants can’t cross the sticky surface.
Beyond food bowls, seal the entry points ants are using. Caulk gaps around windows, doors, and baseboards. Even a thin bead of silicone in the right spot can stop a trail permanently, with zero risk to your pets.
Vinegar Spray to Erase Ant Trails
Ants follow invisible chemical trails left by scouts. When you see a line of ants marching across your kitchen counter, they’re all following the same scent path. Vinegar disrupts these trails, making it hard for ants to navigate back to the food source.
Mix equal parts white vinegar and water in a spray bottle. That’s the basic version, and it works. For a stronger solution, use one cup warm water, half a cup white vinegar, and a tablespoon of dish soap. Spray it directly along ant trails, around entry points, and on surfaces where you’ve seen activity. The smell fades once it dries, and the solution is completely safe around dogs.
Vinegar won’t kill ants or destroy the colony. It’s a disruption tool. Use it to break active trails while you address the root problem with other methods below.
Food-Grade Diatomaceous Earth
Food-grade diatomaceous earth (DE) is a fine powder made from fossilized algae. To ants, it’s lethal. The microscopic particles scratch through their waxy outer coating, causing them to dehydrate and die. To mammals, it’s essentially inert powder.
Dust a thin layer along baseboards, behind appliances, around door frames, and anywhere you’ve spotted ant activity. A little goes a long way. You want a barely visible dusting, not piles. It works best in dry areas, since moisture reduces its effectiveness.
The main safety concern with DE is inhalation, not ingestion. According to the National Pesticide Information Center, breathing in diatomaceous earth can irritate nasal passages and lungs. The food-grade form contains mostly amorphous silica, which the body clears relatively quickly. But crystalline silica, found in small amounts even in food-grade products, can cause respiratory problems with long-term exposure. Apply it in areas with good ventilation, keep it away from spots where your pet sleeps or plays on the floor, and avoid creating dust clouds during application. Once it settles, the risk drops significantly.
Baking Soda Bait for Pet Households
If you need to actually kill ants and not just repel them, a baking soda and powdered sugar mix is one of the safest bait options for homes with pets. Combine two parts powdered sugar with one part baking soda and add just enough water to make a paste. Place small amounts near ant trails in spots your pet can’t easily reach, like behind the refrigerator or inside a cabinet.
Ants are attracted to the sugar and ingest the baking soda along with it. The baking soda reacts inside them and kills them. This method won’t wipe out an entire colony the way commercial baits can, but it will reduce the number of foraging ants in your home without any toxic risk to your dog or cat.
Different ant species prefer different foods. Odorous house ants (the tiny ones that smell like coconut when crushed) go for sweets. Carpenter ants prefer protein. If the sugar bait isn’t attracting them, try adding a small dab of peanut butter to the mix.
Why Borax Needs Caution
Borax is the most commonly recommended DIY ant killer online, and it does work extremely well. A classic bait recipe mixes two tablespoons of sugar with one tablespoon of borax and enough hot water to dissolve it into a syrup. Ants carry it back to the colony and it kills the queen.
The problem is that borax (and its close relative, boric acid) is not harmless to pets. Boric acid is classified as low toxicity if eaten in small amounts, but signs of poisoning in animals can appear within two hours of ingestion. Symptoms include nausea, vomiting, stomach pain, and diarrhea. If you use borax baits, place them in enclosed bait stations or in locations your pet absolutely cannot access, like inside sealed cabinets, behind heavy appliances, or in crawl spaces. Never leave open borax bait on the floor.
Essential Oils: Safe for Dogs, Risky for Cats
Peppermint, citrus, and tea tree oils all disrupt ant scent trails and work as repellents. A common recipe is 10 to 15 drops of peppermint oil mixed with one cup of water and a teaspoon of dish soap, sprayed along entry points.
This is generally safe around dogs. Cats are a different story. Cats lack a key liver enzyme that breaks down certain compounds found in essential oils, particularly tea tree oil, citrus oils, and eucalyptus. Even diffusing these oils in a room can cause respiratory distress in cats, and direct skin contact can be toxic. If you have cats, skip essential oils entirely or use only the vinegar and water solution without added oils.
Commercial Pet-Safe Products
If your ant problem is severe, especially with fire ants in the yard, commercial bait products applied as directed pose very low risk to pets. According to Texas A&M’s AgriLife Extension, broadcast-applied fire ant baits are unlikely to harm pets because the active ingredients are used at extremely low concentrations and applied at low rates across a large area. The active ingredient spinosad, derived from a naturally occurring soil bacterium, is one of the lowest-toxicity options available and is actually used in some flea medications for dogs.
When using any commercial product, follow the label directions exactly. Most granular baits are designed so that the amount an individual ant carries is far too small to hurt a larger animal. Keep pets indoors during application and until the product has been absorbed or dispersed, typically a few hours.
Cutting Off the Food Source
No repellent or bait will solve an ant problem permanently if the food source remains. Store pet food in sealed containers between meals rather than leaving it out all day. Wipe down counters and floors daily, especially after cooking. Take garbage out frequently. Fix any dripping faucets or pipes, since ants need water as much as food, and a single leaky pipe under a sink can sustain a colony for months.
If ants are entering from a specific crack or gap, a temporary seal with painter’s tape can stop the immediate trail while you apply a more permanent fix like caulk. Sprinkling cinnamon, coffee grounds, or chalk dust across entry points can also deter scouts from establishing new trails, though these lose effectiveness once disturbed.