Reader-supported · As an Amazon Associate we earn from qualifying purchasesFull disclosure
Backyard HummersField notes for the American backyard

how-to · Hummingbirds

How to Keep Ants Out of a Hummingbird Feeder (5 Fixes)

Keep ants out of a hummingbird feeder with a water-filled ant moat, no drips, and no bridges — plus a DIY moat, what to avoid, and what to do if ants get in.

By Backyard Hummers Editorial6 min read

The most reliable way to keep ants out of a hummingbird feeder is a water-filled ant moat hung between the hook and the feeder. Ants walking down the hanger reach the water and cannot cross it. Keep the moat full, stop any nectar drips, and make sure no branch, wall, or railing gives ants a way around the moat, and the problem usually ends within a day or two.

At a glance

Best fix
A water-filled ant moat above the feeder
Keep it working
Top up the moat at every nectar change
Also do
Stop drips, remove bridges, wipe the trail
Never use
Oil, petroleum jelly, or insecticide on the feeder

Why ants find your feeder

Ants are after the same thing the hummingbirds are: sugar. A scout that finds nectar lays a scent trail back to the nest, and the rest of the colony follows it. That trail usually runs one of two ways — down the hook or pole the feeder hangs from, or across a branch, wall, or eave that touches the feeder or its hanger.

Drips make it worse. A drop of nectar on the outside of the feeder, or on the ground under it, is easier to find than nectar inside the ports. Every fix below either blocks the trail or removes what is drawing ants to it.

Fix 1: Add an ant moat

An ant moat is a small cup of water between the hanger and the feeder. Ants cannot swim across it, so they turn back before they reach the nectar. There are two kinds.

  • Built-in moats are part of the feeder, usually a well in the center of a saucer feeder’s cover. The Aspects HummZinger Ultra AD is a common example.
  • Hanging moats are separate cups that hook on above any feeder, so you can keep the feeder you already have.
Research-based pick · Hanging ant moatSongbird Essentials Nectar Protector (18 oz)

The Songbird Essentials Nectar Protector is a clear hanging ant moat that holds 18 oz of water and attaches between your hanger and any feeder with its top loop and the included S-hook.

Check price ↗

Paid link. Price and availability accurate as of the date shown and subject to change.

A larger hanging moat holds more water, so it takes longer to dry out than the shallow moats built into most feeders. A smaller Nectar Protector Junior in red AD also fits any feeder. For feeders with a moat built in, see our guide to hummingbird feeders with ant moats and bee guards.

Fix 2: Keep the moat full — with plain water

A dry moat is just a cup, and ants walk straight through it. In hot, dry weather a small moat can evaporate in a day or two, so check it every time you change the nectar and top it up.

Change the moat water every few days rather than only topping it up. Standing water is where mosquitoes breed, and fresh water also clears out any drowned ants and debris.

Fix 3: Stop the drips

If nectar is leaking, ants will find it even with a moat, because the drips are on the feeder or the ground rather than behind the water.

  • Do not overfill. Leave a little room at the top of a bottle feeder.
  • Check the seal. Tighten the base and replace worn gaskets.
  • Hang bottle feeders in shade. In direct sun the air inside an inverted bottle expands and pushes nectar out of the ports. Saucer feeders do not drip this way.
  • Rinse the outside after every refill so no sticky film is left on the ports or base.

Fix 4: Cut off the bridges

A moat only protects the route that runs through it. If the feeder or its hanger touches anything else, ants simply go around.

  • Trim branches and leaves so nothing touches the feeder, the hook, or the chain.
  • Keep the feeder a few inches clear of walls, eaves, and railings.
  • Hang it from a freestanding pole or shepherd’s hook rather than from a tree branch where ants are already foraging.
  • Some birders hang feeders from fishing line, on the reasoning that the smooth line is hard for ants to climb. It is a common suggestion rather than a tested one, but it costs nothing to try alongside a moat.

Fix 5: Wipe out the scent trail

Once ants have found a feeder, the trail stays even after you block it. Take the feeder down, wash it, and wipe the hook, chain, and pole with warm soapy water, then rinse them well. Moving the feeder a few feet at the same time helps too — the old trail leads nowhere, and hummingbirds find the new spot quickly.

How to make a DIY ant moat

If you would rather not buy one, a moat is easy to make. Texas Parks and Wildlife describes this method in its nongame wildlife FAQ:

  1. Find a cup. An old plastic prescription bottle or the upturned cap of an aerosol can both work.
  2. Make a hole in the center of the bottom.
  3. Thread the hanging wire up through the hole, so the cup sits on the wire like a cup, open side up, above the feeder.
  4. Seal the hole around the wire with non-toxic hot glue so the cup does not leak.
  5. Fill it with about an inch of water.

Check that the seal holds water before you hang the feeder, and treat it like any moat: top it up and change the water every few days.

What not to use

You will find plenty of suggestions online that put something sticky or toxic in the ants’ path. Skip these:

  • Petroleum jelly, cooking oil, or grease on the hook, wire, or feeder. A hummingbird that brushes against it can get it on its feathers.
  • Insecticide sprays, ant baits, or ant chalk on or near the feeder. Anything that kills ants is not something you want near the nectar birds drink.
  • Permethrin-based ant guards. They work by repelling ants with an insecticide. A water moat does the same job without it.
  • Mint, cinnamon, or bay leaves. These come up often, but there is little evidence they keep ants off a feeder for long. If you try them, keep them away from the ports and nectar.

Already have ants in the nectar?

Do not leave it out for the birds. Take the feeder down, pour the nectar away, and wash the feeder thoroughly — every port, the base, and the reservoir. Our feeder cleaning guide walks through it. Then refill with fresh nectar mixed at the usual four parts water to one part sugar, add or refill the moat, and hang it back up once the hook and pole are wiped down.

Common questions

Are ants harmful to hummingbirds? Ants do not attack hummingbirds, but they contaminate the nectar. A feeder full of drowned ants spoils faster and is less appealing to birds, so many hummingbirds will avoid it. The fix is to stop the ants reaching the nectar, not to treat the nectar.

Does Vaseline keep ants off a hummingbird feeder? It can stop ants climbing a wire, but it is not recommended. Petroleum jelly does not stay where you put it — it spreads in heat and can end up on a bird’s feathers. A water-filled ant moat blocks the same route without that risk.

Why are there ants in my feeder even with an ant moat? Usually the moat is dry, nectar is dripping onto the outside of the feeder, or ants are reaching the feeder another way, such as a branch or wall. Refill the moat, stop the drips, and check that nothing touches the feeder or its hanger.

Should I put oil in an ant moat? We recommend plain water. Oil evaporates more slowly, which is why some guides suggest it, but birds sometimes drink or dip at moats and oil should not end up on feathers. Topping up the water at every nectar change does the same job.

Do ant moats attract mosquitoes? Any standing water can, if it sits long enough. Change the moat water every few days rather than only topping it up, and mosquitoes do not get the chance to breed in it.

Sources

Texas Parks and Wildlife Department, Nongame Wildlife FAQ (ant moats and bee guards) · National Audubon Society · Manufacturer specifications from the Songbird Essentials and Aspects listings on Amazon, checked 27 Nov 2026.