Carpenter bees are the primary bees that actually bore into and live inside wood. They chew their own tunnels into solid timber using powerful jaws, creating nesting galleries where they raise their young. But they’re not the only bees associated with wood. Mason bees and leafcutter bees also nest in wood cavities, though they move into pre-existing holes rather than drilling their own.
Carpenter Bees: The True Wood Excavators
Carpenter bees (genus Xylocopa) are the only common bees that actively chew into wood to create their nests. These large, robust insects use broad, strong mandibles to excavate precisely rounded galleries inside dead but non-decayed wood. In the wild, they target standing dead trees and dead limbs. Around homes, they drill into fence posts, deck railings, eaves, porch ceilings, and structural timbers.
The female chews a perfectly circular entry hole approximately half an inch in diameter. This hole extends one to two inches straight into the wood, then turns at a right angle to follow the wood grain. The resulting gallery runs parallel to the grain for 6 to 12 inches, though at the extreme, tunnels have been found measuring up to 10 feet long. Inside these tunnels, the female provisions individual chambers with pollen, lays an egg in each one, and seals them off. Females reuse and extend galleries year after year, which is how tunnels reach those extreme lengths.
The eastern carpenter bee (Xylocopa virginica) is the most common species in North America east of the Rockies. Several other species exist in the western U.S. and across the tropics. Despite their intimidating size, carpenter bees are generally docile. Males, which are often the ones hovering aggressively near porches, cannot sting at all. Females can sting but rarely do unless handled directly.
How to Tell Carpenter Bees From Bumble Bees
Carpenter bees closely resemble bumble bees in size and general shape, which causes frequent confusion. The quickest way to tell them apart is the abdomen: carpenter bees have a smooth, shiny black rear end, while bumble bees are covered in dense yellow and black hair all the way down their body. If the bee hovering near your deck has a glossy, almost metallic-looking backside, it’s a carpenter bee.
Their behavior also differs. Bumble bees are social insects that generally nest underground in soil, under debris, or in abandoned rodent burrows. Carpenter bees are solitary. Each female maintains her own tunnel, though several females may nest in close proximity, giving the appearance of a colony.
Mason Bees and Leafcutter Bees
Mason bees (genus Osmia) and leafcutter bees (genus Megachile) both nest in wood, but they never excavate their own holes. Instead, they use pre-existing cavities: old beetle boreholes, hollow plant stems, cracks in wood, or holes in human-made structures. These are the bees that readily adopt the “bee hotels” sold at garden centers, which are simply blocks of wood with drilled holes.
Leafcutter bees are particularly distinctive nesters. They line their pencil-width wood cavities with precisely cut pieces of leaves, typically snipped in near-perfect circles from plants like roses. Each chamber gets a pollen provision, an egg, and a leaf-sealed wall. The final chamber gets a thicker plug. If you’ve noticed tidy round holes cut from your rose bush leaves, a leafcutter bee is the likely culprit, and that’s a sign of a healthy pollinator population rather than a pest problem.
Mason bees use mud instead of leaves to partition their nest chambers, which is how they got their common name. Both groups are highly efficient pollinators, often more effective per individual than honey bees, and neither is aggressive toward people.
Which Wood Types Attract Bees
Carpenter bees are picky about their timber. They strongly prefer softwoods: redwood, cedar, cypress, and pine rank among their favorites. The wood needs to be dead but not rotten, and they’re especially drawn to old, unpainted, and weathered surfaces. Bare wood on the underside of deck boards, porch ceilings, and fascia boards are prime targets because those areas weather quickly and are often left unfinished.
Painted wood is significantly less attractive to carpenter bees. While the protective effect of paint and stain isn’t fully quantified in controlled studies, field observations consistently show that carpenter bees avoid wood treated with oil-based paint. Stained wood offers some deterrence but less than a solid paint coat. The key factor seems to be surface texture: carpenter bees prefer to start their entry holes in rough, exposed grain rather than smooth, sealed surfaces.
Preventing and Managing Wood Damage
Carpenter bees are valuable pollinators, so the goal is usually to redirect them rather than eliminate them. A few tunnels in a remote fence post cause no structural concern. The problem arises when multiple generations of bees reuse and extend galleries in load-bearing or visible wood, or when woodpeckers discover the tunnels and tear into the wood to reach larvae inside.
The most effective prevention is choosing the right building materials. Hardwoods are far less susceptible than softwoods. If you’re building with pine, cedar, or redwood, keeping all exposed surfaces painted is the single best deterrent. Fill any existing depressions or cracks in wood before painting, since these imperfections attract females looking for starter sites. Pay special attention to undersides and end-grain surfaces that weather fastest.
For existing tunnels, timing matters. Wait until after the bees have emerged in spring, then plug the holes with steel wool and cover with metal screen. Soft fillers like wood putty or caulk won’t stop bees from chewing back through. Aluminum, asphalt, or fiberglass materials also work as permanent plugs. Almond oil placed around active nest entrances acts as a repellent, though it requires repeated application.
If carpenter bees have established themselves in a structure you’d rather protect, leaving an alternative nearby can help. An unpainted block of softwood mounted in a less conspicuous location gives females an attractive option. For mason bees and leafcutter bees, which are purely beneficial and cause no structural damage, a simple bee house with drilled holes between 5/16 and 3/8 inch diameter will encourage them to nest in your yard and pollinate your garden.

