How to Keep Ants Out of Hummingbird Feeders (and Why Bees Need a Different Fix)

How to keep ants out of hummingbird feeders: a moat, and fixing the drip that drew them. Why bee guards work on bees and barely slow wasps.

By June Hollis · August 12, 2026 · 9 min read

Before the shopping starts, the least popular answer deserves a hearing. Iowa State University's extension service opens its guidance with it: Tolerating insects at a bird feeder may be the most practical and efficient solution to this perceived problem.

If that is not where you want to land, the working answer to how to keep ants out of hummingbird feeders has two parts, in this order: stop the feeder leaking, then hang a moat above it. Bees and wasps are a separate problem with a separate fix, and one of them barely has a fix at all.

Do ants and bees actually harm hummingbirds?

No. This is worth settling first, because the anxiety driving the question is usually about the birds and the actual cost is to you.

Iowa State puts the impact plainly: While these scavenger insects may have little impact on hummingbirds, they do occasionally interfere with the bird-watcher's enjoyment of the backyard feeder.

Audubon's account of the damage is specific and none of it is injury to a bird. Ants can crawl into the sugar-water wells and clog them up, and bees, while useful pollinators, can obstruct your view of the birds and deliver painful stings.

There is a hygiene cost too, and it is the one that matters. Iowa State notes that ants often climb inside a hummingbird feeder and drown creating an unsightly mess that necessitates frequent cleaning and replacement of the solution.

So the honest framing is that this is a maintenance and viewing problem, and the reason to deal with it is that a fouled feeder gets changed less often than it should.

The leak is the cause, not the insects

The same leak is also the commonest reason a feeder is empty by morning.

Ants do not find a sealed feeder the way they find a leaking one. A hummingbird feeder dripping nectar down its own side is advertising, and everything below follows from that.

Audubon quotes Tina Hall, director of Tucson Audubon's Paton Center for Hummingbirds, on the first move: The easiest way to parry these pests is to keep your feeders tidy. The mechanism is named directly on the same page: If the structures are whipped around by the wind or not assembled securely, they can drip nectar, giving insects easy access to the goods.

Three things follow, and they cost nothing:

Hang it somewhere still

Audubon's instruction is to hang the devices in a less-than-breezy area and stow them away in rough conditions. A feeder swinging in wind slops nectar out of the ports by design.

Check that it is actually tight

Saucer and bottle feeders both leak at the seal when a collar is cross-threaded or a gasket has hardened. This is the failure people diagnose as an ant problem.

Wash the outside, not just the inside

Audubon's routine is to mop up spills with a sponge and hot water at least once a week. Sticky glass is the trail.

The refill schedule sits alongside this: Audubon's line is In warm weather, change the filler twice per week, which is the same interval that keeps the nectar itself safe. The full cleaning method for feeders of every kind is in how to clean a bird feeder.

How to keep ants out of hummingbird feeders

Put water or oil between the ants and the feeder, and put it above the feeder rather than on it.

Ants arrive from above, down the hook or the line, which is why the barrier goes at the top. Everything in this section is a variation on that one idea.

What an ant moat actually is

An ant moat for a hummingbird feeder is a small cup that hangs between the hook and the feeder. Fill it, and ants walking down the line reach a gap they will not cross.

Audubon describes the built-in version: Some hummingbird feeders are equipped with moats to drown ants that climb down onto them. If yours has none, you can buy attachable ant guards that trap the invaders.

Iowa State confirms both the retail and the homemade route: moats are available wherever fine bird feeders are sold, and A homemade ant moat could be fashioned from a plastic jar lid and wire or line.

On what goes in it, the two sources describe moats differently. Iowa State's version is a small oil reservoir built into the suspension wire; Audubon's language is about drowning. Plain water works and is what most commercial moats are sold to hold, and it is the one that cannot end up on a bird. It evaporates in heat, so it needs topping up in exactly the weather when ants are worst.

For a pole-mounted feeder the geometry inverts, since the ants climb up instead. Iowa State's suggestion is to treat the pole: If the feeder is hanging from a metal pole you might discourage ants with a sticky trapping compound of the kind used to coat insect traps. The same page offers a lighter version, hanging the feeder on a short length of monofilament line (fishing line) and then coat just the string with vegetable oil, and hedges its own advice about the pole: Presumably, you can use cooking oil on the pole but it must be reapplied frequently.

Note where every one of those goes. The pole, or the string. Never the feeder, and never the ports.

Bees and wasps are not the same problem

How to keep bees away from hummingbird feeders has a real answer. Wasps mostly do not, and the difference is the most useful thing on this page.

The bee guards on a hummingbird feeder are the standard fix. Iowa State describes them and why they work: Bee guards are small red or yellow perforated plastic caps that fit over or into each feeding tube like a grate, and Hummingbirds are able to feed from grated feeders by reaching their slender beaks through the square holes of the grate to the solution deeper within. Insect mouth parts are generally too short to reach the solution.

Then comes the sentence almost no shopping page carries: Bee guards do help keep bees away to some extent. However, wasps are not so easily discouraged and may persist in trying to feed on the sugar water.

That is a genuine limit on the product, published by an extension service that has nothing to sell. If wasps on a hummingbird feeder are your problem, a guard is a partial measure at best.

Iowa State's observation about how it resolves is worth having, since it lowers the stakes: wasps and hummingbirds occasionally argue over feeder tubes, and the birds are persistent enough to find a free port.

Audubon adds the other half of the bee answer, which is that guards do not substitute for a clean feeder: But if the feeder is covered in sugar water, barring bees from the drinking hole won't do much good.

And one detail from the same page that costs nothing at the point of purchase: avoid feeders with yellow decor, as bees are attracted to the sunny color. Worth knowing before you buy, since it cannot be changed afterward.

What the sources do not recommend

Insecticide. Audubon's instruction is to try to maintain an insecticide-free yard, with the reason attached: pesticides can injure, kill, and reduce population numbers of birds, bees, and other animals. Spraying around a feeder puts poison where birds feed.

Greasy or sticky coatings, on any part of it. A widely repeated tip is to smear a greasy substance on the hanging wire, and the extension guidance quoted above does put oil on a pole or on a separate length of line.

We have since found a source that goes further, and we think it wins. Humane World for Animals states plainly: Don't grease up feeder poles or wires to prevent raccoons. If grease gets on a bird's feathers, they can't preen it out, leaving the bird vulnerable to predators, bad weather and disease. That names a mechanism the effectiveness advice does not address, since a feather a bird cannot clean stops insulating and stops shedding water. Where sources differ on a question of harm to birds, take the safer instruction. Use a water-filled moat, which is a physical barrier, rather than a coating. The same reasoning applies to mammals climbing the pole.

Sweeter nectar to keep insects busy elsewhere. The ratio is fixed for a reason, and altering it is on the list of things that should not go in a feeder.

What works against what

Measure Ants Bees Wasps
Fixing leaks and washing the outside Removes the trail Removes the attractant Removes the attractant
Water or oil moat above the feeder The main fix No effect No effect
Sticky or oily coating on pole or line Works, needs reapplying No effect No effect
Bee guards on the ports No effect Helps, per Iowa State Not so easily discouraged
Avoiding yellow parts on the feeder No effect Reduces attraction Unstated
Insecticide Advised against Advised against Advised against

Sticky on the outside and cloudy on the inside usually arrive together, since both are the same overdue change. What the cloudiness itself is telling you is how long the nectar has been out for the temperature.

Nectar is not the only sugar in the yard. Exposed fruit and grape jelly draw the same insects for the same reason, which is part of the upkeep in attracting orioles.

Questions people ask

How do I keep ants out of my hummingbird feeder? Hang an ant moat between the hook and the feeder and keep it filled, and fix whatever is letting the feeder drip. Ants come down the line from above, so the barrier belongs above the feeder.

What do you put in an ant moat? Water is the usual filler and the one with no risk to birds. Some built-in moats are described as oil reservoirs. Water evaporates in hot weather, so check it when you refill the nectar.

Do bee guards actually work? On bees, to some extent, according to Iowa State's extension service. On wasps, the same source says they are not so easily discouraged. Guards also do not help if the outside of the feeder is coated in sugar water.

Why are wasps on my hummingbird feeder and not the neighbor's? Usually a leak, a windy position, or spilled nectar on the outside. Audubon names loose assembly and wind as the causes of dripping, which is what gives insects access.

Do ants and bees hurt hummingbirds? No. Ants clog the feeding wells and drown in the solution, and bees can sting people and block your view. The cost is maintenance and enjoyment, not bird safety.

Can I spray around the feeder? No. Audubon advises keeping the yard insecticide-free and states that pesticides can injure and kill birds and bees.

Does the nectar recipe change if I have an insect problem? No. The ratio and the schedule stay the same, and they are covered in the hummingbird feeder article.

How to keep ants out of hummingbird feeders: the short version

Ants are a symptom. A feeder that leaks, swings in the wind, or wears a film of dried sugar on its outside will recruit them, and no moat compensates for that indefinitely. Fix the drip, wash the outside weekly, then hang a filled moat above the feeder and top it up when you change the nectar.

Bees respond to guards and to not buying yellow. Wasps largely do not respond to anything except a clean, tight, unsweetened exterior, and the published advice is honest enough to say so.

So go and look at the hook. Follow the line down with a finger and see whether it comes away tacky. That is where this problem starts, and it is the one part of it you can settle today. How to keep ants out of hummingbird feeder hardware starts with the drip, and everything else is downstream of it.

This article contains no affiliate links and no product recommendations. Ant moats and bee guards are described here because published guidance describes them, not because we have tested any particular one.