Skip to content
Grow In Backyard
Bees

How to Keep Bees Away From a Deck or Porch, Safely

Most deck bee problems are carpenter bees, yellowjackets or foraging honeybees, and each needs a different answer. Identify first, then act.

By Zakaria 5 min read Save to Pinterest — opens Pinterest in a new tab
A honey bee working along a spray of small yellow flowers
Photo: Erik_Karits, Pixabay Content License, via Pixabay
On this page

There is no single answer here, because there is no single insect. Carpenter bee, yellowjacket and foraging honeybee are three different problems with three different fixes.

Carpenter bee with a shiny bare black abdomen, fuzzy bumblebee, slim amber honeybee and smooth narrow-waisted yellowjacket compared side by side, each with the fix that suits it
Four insects, four different answers. Only one of them needs keeping away from people.

Which one is it

Telling them apart
Carpenter beeBumblebeeHoneybeeYellowjacket
LookShiny bare black abdomenFuzzy all overSlim, amber-brownSmooth, bright yellow and black
BehaviourHovers, bores woodSlow, on flowersFlower to flowerFast, comes to food
NestRound hole in bare woodGround, cavityHive or wall voidPaper nest, or underground
StingMale: none. Female: rarelyRarelyOnce, defensiveRepeatedly, aggressive
On a deckBoringPassing throughForaging or drinkingAfter your food

The big bee that flies at your face cannot sting you

That is the male carpenter bee defending his patch of air. He has no sting at all, and the whole aggressive display is bluff.

The female does the boring, does have a sting, and almost never uses it.

Carpenter bees

The fix is paint. Everything else is secondary.

  • Paint, stain or polyurethane every exposed surface. They will not bore a finished surface, and strongly prefer bare cedar, redwood, pine and fir
  • Check the undersides — rail bottoms, fascia, joist faces, the underside of handrails. That is where they work, because it stays unpainted
  • Plug old holes in autumn, once the galleries are empty: hardwood dowel and wood filler, not caulk alone, then paint over the repair
  • Hardwood or composite where you are replacing boards
  • Carpenter bee traps hung near affected wood catch females before they bore

Do not plug a hole with the bee inside

She bores a new exit, and you have added a hole rather than removed one.

Plug in autumn or winter, after the season, and confirm the gallery is empty first.

On damage: one season is trivial. The problem is that galleries are reused and extended every year, so a rail worked for a decade can be genuinely weakened — and woodpeckers hear the larvae and tear the wood open to reach them, which does far more damage than the bees.

Yellowjackets

The one that actually justifies caution. This is a wasp, not a bee: it stings repeatedly, it is drawn to protein and sugar, and it gets markedly more aggressive in late summer as the colony peaks.

What works:

  • Cover food and drinks outdoors. A can left open is the classic incident
  • Move bins away from the deck, with tight lids, and rinse them
  • Clear fallen fruit under trees
  • Rinse recycling before it goes out
  • Traps placed at the far edge of the yard, never on the deck — a trap draws them toward it
  • Find the nest and keep everyone away from it

A yellowjacket nest is a professional job

Ground nests and wall nests both produce a large defensive response, and people are stung badly every year trying to deal with one themselves.

Call a professional. If you must act, it is at dusk, in full cover, with a clear exit — and even then, mostly, don’t.

Honeybees and bumblebees

Usually not a problem to solve at all. They are foraging, and they are on your deck for a reason you can remove:

  • Flowers nearby — they are passing through. Nothing to do
  • A pool, hot tub or leaking tap — bees need water, and a pool is the nearest source. Put a shallow water dish with stones out at the far end of the yard and they mostly switch
  • Sweet drinks, fruit, hummingbird feeders — cover or move them
  • A swarm hanging in a cluster is a temporary resting stage, usually gone within a day or two. Call a local beekeeper, who will collect it free
  • A colony inside a wall is a different matter, and needs a beekeeper or specialist removal — killing it in the wall leaves honeycomb that ferments, attracts pests and stains through the plaster

Bumblebee nest under the deck: a colony dies out naturally by late summer and does not reuse the site. If it can be left alone for a few weeks, that is the easiest outcome available.

What does not work

  • Broad-spectrum insecticide sprayed around a deck. Kills pollinators indiscriminately, often illegal on flowering plants, and does nothing about the cause
  • Ultrasonic repellers — no effect
  • Mothballs — no effect, and illegal used this way
  • Fake paper wasp nests. Widely sold, repeatedly tested, no reliable effect
  • Peppermint, citrus and cucumber peel — brief at best
  • Swatting. Crushing a yellowjacket releases an alarm pheromone that recruits others

Things that genuinely help a deck

  • Paint the bare wood — carpenter bees, solved
  • Lidded bins, covered food, cleared fruit — yellowjackets, mostly solved
  • A water source elsewhere — honeybees, mostly solved
  • Fix leaking taps and pooling water
  • Move the strongly scented flowering pots off the deck and to the garden edge
  • Screened porch, if the deck is a losing battle in late summer

Common questions

How do I keep bees away from my deck?

Work out which insect it is first, because the answers are completely different. Carpenter bees bore round holes in bare wood and are deterred by painting or varnishing every exposed surface. Yellowjackets are drawn to food, sugary drinks and bins, and disappear when those are covered and moved. Honeybees and bumblebees on a deck are usually just foraging from nearby flowers or drinking from a pool or a leaking tap, and stop coming once the attractant is removed. Nothing about this is solved by a general insecticide spray.

What are the bees drilling holes in my deck?

Carpenter bees. The females bore a near-perfect half-inch round hole into bare, unpainted softwood, then tunnel along the grain to lay eggs in a series of chambers. The large bee hovering aggressively in front of you is the male, and he has no sting at all — the display is bluff. Damage from a single season is minor, but the same galleries get reused and extended year after year, and woodpeckers chasing the larvae do far more damage than the bees ever do.

Do carpenter bees damage a deck seriously?

Not in one season. A single gallery is a few inches long and structurally trivial, but the tunnels are reused and extended every year, so a rail or fascia board that has been worked for a decade can genuinely be weakened. The larger problem is usually woodpeckers, which hear the larvae and tear the wood open to reach them, turning a half-inch hole into a long ragged gash. Painting the bare wood prevents the whole sequence.

How do I stop carpenter bees without killing them?

Paint or varnish the wood, which is the only thing that reliably works and works permanently. Carpenter bees will not bore into a painted, stained or polyurethaned surface, and they strongly prefer bare softwood — cedar, redwood, pine and fir in particular. Plug existing holes in autumn once they are empty, with hardwood dowel and filler rather than caulk alone, and paint over. Hanging a carpenter bee trap near the affected wood catches the females before they bore.

Are the bees on my deck dangerous?

Mostly no, and identification decides it. Male carpenter bees cannot sting at all, and the females can but almost never do unless handled. Bumblebees and honeybees sting only under real provocation and are not defending anything on a deck. The insect that genuinely warrants care is the yellowjacket, which is a wasp rather than a bee, stings repeatedly, and becomes aggressive near its nest and in late summer — that one is worth keeping people away from while it is dealt with.

What should I not use against bees on a deck?

Broad-spectrum insecticide sprayed around a deck, which kills pollinators indiscriminately, is often illegal on flowering plants, and does nothing about the cause. Ultrasonic devices, mothballs and fake wasp nests are all sold for this and none of them works. Do not seal a carpenter bee hole while the bee is inside, as she will simply bore a new exit, and never try to knock down a yellowjacket nest yourself — that is a call to a professional, at dusk, with an exit route.

Backyard Weekly

Know what to plant, week by week

Join the weekly email for seasonal jobs, fixes for what is going wrong, and gear worth buying.

Not ready to subscribe? The planting calendar is free and needs no email.

By subscribing you agree to our privacy policy. Grow In Backyard will never sell your address.