Updated Nov 23, 2026
How to Get Rid of Ants in Potted Plants for Good
Tell whether ants are nesting in your potted plant or feeding on honeydew, then use a soap soak, bait, or pest treatment, and keep them from coming back.
If ants are nesting in the soil, take the pot outdoors and soak it in insecticidal soap and water, or place a bait by their trail. If they're only visiting, look for aphids, mealybugs, or scale on the plant. Ants come for the sugary honeydew those pests leave, so get rid of the pests and the ants move on. Ants rarely eat the plant itself.
Looking for more guidance? Take a look at our Maintenance overview.
Why Are Ants Attracted to My Potted Plants?
Ants are usually in your plants for one of two reasons:
- A Great Place to Live: Potting soil is protected, moist, and soft enough to tunnel through easily. If you see little mounds of dirt or ants disappearing into holes in the soil, they’ve likely set up a nest.
- A Delicious Food Source: More often than not, ants are visiting your plant because it’s a reliable food source. They aren't eating the plant itself but are "farming" other tiny pests like aphids, mealybugs, or scale insects. These pests feed on your plant's sap and leave a sugary, sticky substance called honeydew. In return for the food, the ants protect the pests from predators.

Step 1: Check the Plant and the Pot
Grab gloves and a flashlight.
- Examine the Plant and Pot: Carefully inspect the entire plant—the stem, the tops and undersides of the leaves, and the soil surface.
- Follow the Trail: Look for a visible trail of ants. Where are they coming from? Where are they going? Check the floor, shelf, or ground around the pot. This can help you determine if the nest is in the pot or somewhere else nearby.
- Check for Other Pests: Look closely for the tiny insects that produce honeydew. Aphids are small, pear-shaped bugs, often green or black. Mealybugs look like tiny white cottony spots. Scale can look like small, hard bumps on the stems and leaves. If you see these, you've likely found the source of the ant's food.
- Look for a Nest: Do you see ants emerging from a specific hole in the soil? Is there fine, disturbed soil on the surface? This is a strong indicator that the ant colony has moved in.
Once you know whether the ants are nesting in the soil or just visiting for food, you can choose the right treatment plan.
Step 2: How to Get Rid of Ants Nesting in the Soil
You have several options, depending on whether the plant is indoors or outdoors.
The Soak (Best First Choice)
The University of California suggests taking infested pots outdoors and submerging them in insecticidal soap and water.
- Carry the pot outside, in a bag or on a tray so ants don't spill on the way.
- Mix insecticidal soap and water in a bucket as the label says. Check that the label allows your plant.
- Lower the pot in until the soil is covered, and leave it for about 20 minutes. Use a stick to open the soil so the water gets in.
- Let it drain fully before you bring it back, and rinse the soil with plain water.
For a plant that can't stand wet roots, repot it outdoors in fresh mix instead and shake off the old soil.
For Indoor Plants
Natural Method: Diatomaceous Earth (DE)
Diatomaceous earth is a fine powder made from fossilized algae. It dries ants out. Use one labeled for ants, and put it down gently, because the dust irritates lungs and eyes. A mask is sensible.
- Let the Soil Dry Slightly: DE works best when it's dry. If possible, wait a day after watering so the top layer of soil is not damp.
- Apply a Thin Layer: Sprinkle a light layer over the entire soil surface, as the label directs.
- Mix it In: Use a small trowel or a fork to gently mix the DE into the top half-inch of soil.
- Wait to Water: Avoid watering for at least 12-24 hours to give the powder time to work.
Chemical Method: Ant Bait
Baits contain a slow-acting poison mixed with food. The ants carry it back to the nest and share it with the colony and the queen.
- Choose an Indoor Bait: Make sure you use a bait specifically designed for indoor use, which usually comes in a liquid or gel form.
- Place It by the Trail: Set the bait station or drops beside the pot or along the trail, where the label allows. Don't put it in the soil of herbs or anything you eat.
- Safety First: Keep children and pets away from it, and follow the label.
- Clean Up: Wash your hands thoroughly with soap and water after handling the bait.
For Outdoor Plants
Natural Method: Soapy Water Drench
If the pot is too big to submerge, pour the mix through instead.
- Mix the Solution: Mix insecticidal soap with water as the label says. Dish soap and detergent can burn roots and leaves.
- Drench the Soil: Pour it slowly over the soil until it runs out of the bottom, and over any ant tunnels.
- Wait and Rinse: Let it sit for about 30 minutes, then rinse the soil with plain water.
- Create a Barrier: Once the area is dry, sprinkle a ring of diatomaceous earth on the ground around the base of the pot to prevent ants from re-entering.
Chemical Method: Granular Ant Bait
- Safety Gear: Put on gloves before handling the product.
- Choose the Right Bait: Pick one labeled for ants outdoors.
- Apply the Granules: Scatter them on the ground around the pot in the amount the label gives. Use it inside the pot only if the label says so, and never around food plants unless it lists them.
- Follow the Label on Water: Some baits must stay dry and others are watered in. Keep pets and children away for the time it gives.

Step 3: What If the Ants Are Just Visiting for Food?
If your inspection revealed that the ants aren't nesting but are farming other pests, your focus should shift. Get rid of the food source, and the ants will move on.
- Treat the Honeydew-Producing Pests: Use a ready-made insecticidal soap, tested on one leaf first. Thoroughly spray all surfaces of the plant—especially the undersides of leaves and stems. This will kill the soft-bodied pests like aphids and mealybugs.
- Clean Up the Plant: After treating the pests, wipe down the leaves and stems with a damp cloth or a cotton swab to remove any remaining honeydew residue. This sticky substance can lead to sooty mold, so it's good to get it off.
- Remove Other Attractants: Make sure there are no other food sources near your plant. Clean up any fallen leaves or debris from the soil, and move the plant away from pet food bowls, fruit baskets, or trash cans.
Step 4: Prevent Future Invasions by Improving Drainage
Ants love moisture, and soil that stays soggy for long periods is a prime target. Poor drainage is also a leading cause of root rot, so fixing this is a win-win for your plant.
- Check for Drainage Holes: Does your pot have holes in the bottom? If it's sitting inside a decorative pot (a cachepot), take it out and check. Water needs a way to escape.
- Add More Holes: If your pot doesn't have holes, move the plant to one that does, or drill a plastic pot with the plant out of it.
- Repot with Fresh Soil: The best long-term solution is to repot your plant. Use a high-quality, well-draining potting mix. You can amend it with perlite or orchid bark to increase aeration. This creates a less hospitable environment for ants and a healthier one for your plant's roots.
- Water Correctly: Allow the top inch or two of soil to dry out between waterings. This simple change can make a huge difference in preventing pest problems.
Step 5: Monitor and Follow Up
Check on your plant daily for the next week or two. Look for any new ant activity. If you used a treatment like diatomaceous earth that gets washed away with watering, you may need to reapply it. If you're still seeing many ants after that, they may be coming from a nest in the house, and a pest control company can find it. If the ants are in another room too, see how to get rid of ants in your bathroom.
What Does a Pro Cost?
If ants keep returning after a few rounds, Thumbtack data puts the national average for ant extermination at $110 to $272. Ask whether the visit covers the plants and the entry points outside.
