How to Get Ants Out of Flower Pots (And Keep Them Out)

Ants in flower pots are usually nesting in the soil itself, drawn by the warm, loose, moist environment that potting mix provides. Getting rid of them takes a combination of flushing out the existing colony and removing the reasons they moved in. Most methods are simple and won’t harm your plants if done correctly.

Why Ants Move Into Flower Pots

Potting soil is ideal nesting material for ants. It’s loose enough to tunnel through, stays warm in the sun, and retains moisture. But the biggest draw is often not the soil itself. It’s what’s living on the plant above it.

Many ant species have a symbiotic relationship with aphids, scale insects, and other sap-sucking pests. Ants herd aphids to the juiciest parts of a plant, where the aphids feed on sap and secrete a sugary liquid called honeydew. The ants harvest this honeydew as food. They’ll even protect their aphid “herds” from predators like ladybugs and carry aphid eggs to new colonies. If you see ants streaming up and down the stems of your potted plant, check the undersides of leaves for clusters of tiny soft-bodied insects. The ant problem and the aphid problem are often the same problem.

Even without aphids, ants may nest in pots simply because the conditions are right. Dry soil is especially attractive, since it’s easy to excavate and the pot walls provide shelter.

How Ants Actually Harm Potted Plants

A few ants passing through won’t hurt anything, but an established colony is a different story. Research from the University of Florida found that when ants build tunnel networks around plant roots, the plants show higher baseline water stress. They’re essentially closer to drying out because the tunneling disrupts the structure around the roots that helps retain moisture. In those experiments, ant nesting reduced photosynthesis by more than half and limited the plant’s ability to store energy, which stunted sapling growth significantly.

In a flower pot, where roots have nowhere else to go, that tunneling effect is concentrated. You may notice your plant wilting faster than usual between waterings, or looking generally weak despite proper care. That’s reason enough to deal with the colony rather than ignoring it.

Flush the Colony With Water

The fastest first step is to drown the nest. Place the entire pot in a bucket, basin, or bathtub and fill it with water until the surface of the soil is submerged by an inch or two. Let it soak for 15 to 30 minutes. This forces ants out of their tunnels and kills many that can’t escape. Drain the pot thoroughly afterward so you don’t waterlog the roots.

For larger pots that are difficult to move, water the soil slowly and deeply several times in a row, letting it drain between rounds. This is less effective than full submersion but still disrupts the colony enough to make them relocate. Adding a small amount of liquid dish soap (a few drops per gallon) to the water reduces surface tension, making it harder for ants to survive the flooding.

Apply Diatomaceous Earth to the Soil

Food-grade diatomaceous earth (DE) is a powder made from fossilized algae that works mechanically, not chemically. The tiny particles scratch through the waxy coating on an ant’s body, causing it to dehydrate and die. It’s nontoxic to plants and safe around pets and children, though you should wear a dust mask when applying it to avoid inhaling the fine particles.

Dust a thin layer across the top of the soil, focusing on the areas around the base of the plant where ants enter and exit. You can also mix it into the top inch of soil to target ants tunneling just below the surface. The key limitation: DE stops working when wet. You’ll need to reapply it after every watering or rain. For outdoor pots that get rained on frequently, DE works best as a supplement to other methods rather than a standalone solution.

One caution: DE kills beneficial insects too, including pollinators that land on the soil surface. If your flower pot is outdoors in a pollinator-friendly garden, keep the application to the soil and avoid dusting it on blooms.

Use Bait to Kill the Colony

Flooding and DE deal with the ants you can see, but bait is what eliminates the queen and the rest of the colony underground. The principle is simple: ants carry poisoned food back to the nest and share it, which collapses the colony from the inside over a few days to a week.

You can buy commercial ant bait stations or make your own. A common homemade recipe mixes borax with sugar or honey to attract foraging ants. Spread the mixture on a small piece of plastic, a tile, or in shallow bottle caps placed near the pot, not in the soil itself. Borax contains boron, which can be toxic to plants in high concentrations, so keeping the bait outside the pot protects your flowers. If the bait dries out, just add a little water to reactivate it. Placing an overturned pot or cover over the bait with small gaps underneath keeps pets and wildlife from reaching it while still letting ants pass through.

Give bait stations at least a week to work. You’ll often see ant activity increase at first as more foragers discover the bait. That’s a good sign: it means they’re carrying it back to the nest.

Deal With Aphids and Honeydew

If aphids or scale insects are the reason ants keep returning, no amount of ant treatment will solve the problem long term. The ants will come back as long as the honeydew supply exists.

Inspect the undersides of leaves and along stems for small clusters of soft-bodied insects. A strong spray of water from a hose knocks most aphids off. For heavier infestations, wiping the affected areas with a cloth dipped in soapy water (a teaspoon of dish soap per quart) removes both the insects and the sticky honeydew residue. Neem oil sprayed on foliage disrupts aphid feeding and reproduction without harming the plant. Repeat treatments every few days until the aphids are gone, and the ants will lose their reason to visit.

Repot as a Last Resort

If a colony is deeply established and other methods haven’t worked, repotting gives you a clean start. Remove the plant from the pot and shake or rinse as much old soil off the roots as you can. Discard the infested soil away from your garden area. Clean the pot with soapy water before refilling it with fresh potting mix.

To prevent reinfestation, cover drainage holes with fine mesh or a piece of landscape fabric. This lets water pass through while blocking ants from entering through the bottom, which is their most common access point. Elevating pots on feet or stands also helps, since it eliminates the ground-level contact ants rely on to find the pot in the first place.

Keeping Ants Out Long Term

Once the colony is gone, a few habits keep ants from coming back. Avoid letting soil stay bone-dry for long stretches, since parched potting mix is the easiest material for ants to tunnel through. Consistent watering makes the soil less hospitable for nesting. A thin layer of DE on the soil surface between waterings acts as an ongoing barrier.

Cinnamon, ground black pepper, and coffee grounds are commonly recommended as ant deterrents for pot surfaces. These won’t kill a colony, but their strong scent can discourage scouts from investigating. Sprinkling them around the rim of the pot or on the soil surface adds a low-effort layer of prevention after you’ve already cleared the infestation.

If your pots sit on a patio or deck, wiping down the surface around them removes the scent trails ants use to navigate. A single disrupted trail can redirect foragers away from your plants entirely.