The yellow jackets circling your trash can are not random visitors — they have found a reliable food source, and they will defend it. The direct answer to yellow jackets in trash cans: seal the food source first (tight-fitting lids, bagged and tied garbage, rinsed cans), set traps to pull foragers away from the area, and remove the scents that keep drawing them back. Kill the attractant and the swarm leaves. No attractant, no yellow jackets.
Why yellow jackets love your trash cans #
Yellow jackets are scavengers. In late summer and fall, their colonies are at peak size and the workers switch from hunting insects to hunting sugar and protein — exactly what your garbage offers. Meat scraps, soda residue, fruit peels, and pet food smell like a banquet to a foraging yellow jacket, and once one finds it, she lays down a scent trail that summons her sisters.
A trash can is nearly perfect for them: food, shelter from wind, and often a warm, dark interior. Cans near patios, grills, or play areas are the worst combination, because that is where people — and stings — happen. Note that yellow jackets are wasps, not bees: they can sting repeatedly without losing a stinger, and they get more aggressive as the season wears on. If someone does get stung, see yellow jacket sting treatment.
Before you start, check whether there is a nest nearby. Foragers around a can are one thing; a steady stream of yellow jackets flying in and out of a hole in the ground, a wall, or a shed means you are dealing with a nest, and that changes the plan (see Step 4).
Step 1: make the cans unattractive #
This is the step that matters most. Traps without sanitation just catch yellow jackets while more keep coming.
- Get tight-fitting lids and keep them closed. Replace cracked or warped lids. Bungee cords work as a quick fix. An open or gaping can is an invitation.
- Bag everything and tie bags shut. Loose garbage leaks juices that smell for blocks. Double-bag meat, fish, and fruit scraps, especially in warm weather.
- Rinse cans regularly. A quick hose-out every week or two removes the sticky residue that keeps attracting scouts even between pickups. A splash of vinegar in the rinse water helps cut odors.
- Wipe down the area. Hosed-off spills under and around the cans matter as much as the cans themselves.
- Move cans away from gathering areas. If the cans sit right next to the patio or grill, relocate them to the far side of the yard or a garage (with the garage door kept closed).
- Freeze smelly scraps until trash day. Meat and fruit waste in a sealed bag in the freezer produces zero odor until pickup morning.
Do the sanitation work early in the morning or after dark, when yellow jackets are least active. Wear shoes, long sleeves, and gloves — a disturbed forager will sting.
Step 2: traps that actually work #

Traps catch foraging workers and reduce pressure around the cans. They do not eliminate a colony, but they make your yard livable.
- Commercial yellow jacket traps (the ones with a lure cartridge) are the easiest option. Hang them 10–20 feet away from the cans and from anywhere people sit — you want to pull yellow jackets away, not toward the patio.
- DIY bottle traps work well: cut the top off a plastic bottle, invert it into the base like a funnel, and bait the bottom with something sweet (sugar water, juice, or flat soda). In late summer, protein bait (a piece of tuna or chicken) can catch even more. Add a drop of dish soap to the liquid so trapped insects sink.
- Empty and rebait traps weekly. A full, rotting trap becomes its own attractant.
- Start trapping early. The earlier in the season you set traps, the fewer workers the colony produces. Late summer trapping is damage control; spring trapping is prevention.
Keep traps out of reach of children and pets, and never hang a trap directly over the trash cans — that concentrates stinging insects exactly where you stand every week.
Step 3: keep them from coming back #
Sanitation and traps solve this week. These habits solve next month:
- Keep lids closed year-round. Yellow jacket queens scout nesting sites in spring; a yard with sealed cans is less attractive real estate.
- Pick up fallen fruit from trees promptly. Fallen fruit is a top late-season attractant.
- Cover compost bins and keep compost balanced — exposed food scraps in compost draw the same crowd.
- Clean grills and outdoor eating areas after every use. Wipe tables, rinse drink cans before recycling, and keep pet food indoors.
- Watch for a nest. If yellow jackets persist despite sealed cans, look for a ground nest, wall void, or shed nest nearby — the guide to how to find a wasp nest covers the search. A nest near the house may need professional removal; never seal a nest entrance yourself or pour gasoline into it.
Stay safe while you work #

You are doing yard work around stinging insects, so take it seriously. Work in the cool of the morning or evening. Wear closed shoes, long pants, and long sleeves — skip floral perfumes and bright yellow or white clothing, which draw attention. Keep children and pets inside while you rinse cans or hang traps near a hot spot. If you are allergic to wasp stings, carry your epinephrine auto-injector and have someone nearby, or consider hiring the whole job out. And remember: swatting at yellow jackets makes them more aggressive. Move away slowly instead.
Why late summer is peak trash-can season #
Yellow jackets are not equally interested in your trash all year. In spring and early summer, a colony is small and its workers are hunting protein — flies, caterpillars, and other insects — to feed the growing larvae. By late summer, the colony is at its largest, sometimes holding several thousand workers, and the queen has stopped laying the eggs that kept the workers busy. With fewer larvae to feed, the workers switch their cravings to sugar: soda, fruit juice, fallen fruit, meat drippings, and anything sweet or greasy left in an open trash can.
That switch explains why a trash can that was ignored in June becomes a yellow jacket magnet in August and September. The workers are also bolder now. A colony at full strength sends out more foragers, and foragers that find a rich food source lay down a scent trail that brings their nest-mates to the same spot. One scout finding your bin can mean twenty yellow jackets at the same can an hour later. This is also the season when yellow jackets are most likely to sting: they are defending a large colony and a valuable food source, and they are easily provoked around the can.
Knowing the calendar helps you plan. Tighten your trash routine before the late-summer switch — usually by mid-July in most of the United States — rather than after the wasps have already learned where the food is. Once a colony has marked your cans as a feeding site, the workers will keep checking them for weeks, even after you clean up. Breaking the habit takes a few days of airtight cans and no rewards, so start early and stay consistent.
Trash-can traps compared: what actually catches them #
Not all yellow jacket traps work the same way, and the wrong trap in the wrong place can make things worse by drawing more wasps toward your yard. The table below compares the common options honestly, including the ones that look clever but underperform.
| Trap type | How it works | Best for | Watch out for |
|---|---|---|---|
| Baited bottle trap | Sweet liquid lures wasps in through a funnel they cannot exit | Cheap, quick setup near the cans | Needs emptying often; sweet bait also attracts bees if placed near flowers |
| Commercial lure trap | Pre-mixed attractant in a reusable or disposable container | Busy areas where you want a set-and-forget option | Replace the lure on schedule or it stops working |
| Soapy-water drowning trap | Wasps land on sweet bait, fall into soapy water, and cannot fly out | Heavy traffic days, such as a barbecue | Messy to dispose of; keep away from pets and children |
| Sticky trap | Wasps land on a glue surface and stick | Small numbers, indoor or sheltered spots | Fills fast outdoors and catches non-target insects |
Placement matters more than the trap itself. Put traps 20 to 30 feet away from the trash cans and from where people eat or sit — the goal is to pull wasps away from you, not to concentrate them where you stand. A trap hung right next to the can becomes a wasp party at the exact spot you need to visit. If the colony is large, one trap will not dent the numbers; use two or three spread around the yard. Check the traps every day or two in peak season, because a full trap stops catching and starts smelling, which attracts even more insects. And remember that traps control foragers, not the colony — if you are seeing dozens of yellow jackets every day, the nest is nearby, and the yellow jacket ground nest safety guide explains how to handle that situation rather than fighting the workers one by one. If you are not sure the insect at your can is a yellow jacket at all, the red wasp versus yellow jacket comparison helps you tell them apart, because the wrong identification leads to the wrong plan.
When the nest is the real problem (and who to call) #
Trash-can traffic is usually a symptom, not the root problem. If yellow jackets visit your cans every day in large numbers, there is very likely a nest within a few hundred feet — in the ground, in a wall void, under a deck, or inside a hollow tree. Workers rarely fly far from home when food is plentiful, so a busy can means a close colony. Look for flight lines: wasps leaving the can in a straight, purposeful line are heading home, and following that line for a minute often reveals the nest entrance.
Ground nests are the most common and the most dangerous, because they are easy to disturb by accident — a lawnmower, a footstep, or a child playing near the entrance can trigger a mass defensive attack. Never try to dig out, flood, or burn a ground nest yourself; these methods scatter angry wasps and rarely destroy the colony. The same applies to nests inside walls: spraying the visible entrance usually drives the wasps deeper into the house rather than killing them, and a colony trapped inside can chew through drywall into a living space. If the nest is in a wall void or you cannot see the entrance clearly, call a professional pest controller and describe the location and the traffic level — they have the protective gear and the dusts that reach the colony safely.
There are two situations where calling a professional is not optional: a nest near a door, play area, or walkway that people use daily, and any nest when someone in the household has a known sting allergy. While you wait for the professional, keep everyone — especially children and pets — away from the area, keep the trash cans tightly closed so the wasps have less reason to linger, and make sure your emergency plan is ready. Know how long a sting normally hurts, because a sting during nest removal is a real possibility: the guide to how long a yellow jacket sting lasts sets realistic expectations. If several people are stung at once, the multiple wasp stings first aid guide explains why quantity changes the response. And if the wasps come back next year, check whether they are reusing the old site — the guide on whether wasps reuse nests explains what to look for before the colony rebuilds.
Warning signs: when to seek care #
Call 911 immediately if you develop trouble breathing or swallowing, swelling of the face, lips, tongue, or throat, widespread hives, dizziness or fainting, or a racing heartbeat after a sting. Use epinephrine right away if it has been prescribed, then call 911 even if you feel better.
See a doctor or urgent care if a sting shows spreading redness, red streaks, pus, or fever (possible infection), if swelling keeps growing after 48 hours, if you receive multiple stings, or if the sting is on the face, eye, mouth, or throat. Anyone with a known wasp allergy should seek care after any sting, even a mild-looking one.
Frequently asked questions #

Why are yellow jackets only bad around my trash in late summer? #
Colony behavior changes with the season. Early in the year, workers hunt insects to feed larvae. By late summer the colony is huge, the larvae are mostly raised, and workers switch to scavenging sugar and protein for themselves — your trash becomes prime real estate. That is also when they are most aggressive.
Will killing the yellow jackets at the can solve the problem? #
Only temporarily. The can is a foraging site, not the colony. Kill a dozen and the nest sends more. Seal the food source and trap foragers away from people — that breaks the cycle. If there is a nest nearby, the colony itself needs addressing.
Are yellow jacket traps safe around kids and pets? #
Mostly, yes, if placed sensibly. Hang traps at least 6 feet off the ground and away from play areas and seating. The bait is sweet and non-toxic in DIY traps, but a hanging bottle of trapped, angry wasps is not a toy — keep it out of reach and empty it regularly.
Can I just spray the trash can with insecticide? #
You can, but it is a poor long-term fix. Sprays kill the insects present today and leave residue near food waste and where you handle the can weekly. Sealed lids, tied bags, and rinsed cans solve the root cause without chemicals. Reserve insecticide for a confirmed nest, and consider a professional for that job.
Can yellow jackets chew through a trash bag? #
Yes, they can chew through thin plastic bags, especially if the bag holds sweet or meaty waste. A bag alone is not a barrier — it is the lid that matters. Use a can with a tight-fitting, weighted, or latched lid, and double-bag food waste inside the can so a chewed bag still leaves the food contained.
Do yellow jackets remember where the trash is? #
In a practical sense, yes. Foragers that find food return to the same spot repeatedly and recruit nest-mates with scent markers, so a can that rewarded them yesterday will be checked again today and tomorrow. That is why a single day of open cans can create a week of visits — and why a few days of airtight cans with no reward is usually needed to break the habit.
Will a trash can with a tight lid really stop them? #
A genuinely tight lid stops most of the problem, because yellow jackets find food by smell and by sight. A latched or bungee-secured lid keeps the smell in and the wasps out. But it only works if the outside of the can is clean too — rinse off drips and spills, because residue on the rim or the side of the can is enough to keep them circling.
Is it safe to take the trash out at night when yellow jackets are around? #
Night is the safest time. Yellow jackets are daytime insects and return to the nest at dusk, so taking the trash out after dark avoids the foragers entirely. Move calmly, avoid shining a bright light directly at the can if wasps are still active, and do not disturb a nest entrance you cannot see clearly in the dark.
Medical and editorial note #
This article is general information about yellow jacket prevention and sting safety, not medical advice. It cannot assess your allergy risk or diagnose any reaction. If you are stung and develop concerning symptoms, or if you have a known sting allergy, see a healthcare professional promptly.