WD-40 can kill carpenter bees, and it works because roughly 35% of its formula is petroleum-based oil. Petroleum oils have well-documented lethal effects on many insect species, suffocating them on contact by coating their breathing pores. Spraying it directly into nest holes or onto the bees themselves is a quick DIY approach that many homeowners reach for, though it has some real limitations worth understanding before you grab the can.
Why WD-40 Works on Carpenter Bees
Carpenter bees breathe through tiny openings along their bodies. When petroleum-based sprays coat these openings, the bees essentially suffocate. WD-40’s oily formula clings to surfaces inside the tunnel and to any bee it contacts directly, making it at least somewhat effective at clearing an active nest. It also leaves a residual petroleum smell inside the wood that may discourage bees from returning to that specific hole in the short term.
That said, WD-40 wasn’t designed as a pesticide. It won’t have the lasting residual killing power of actual insecticidal dusts, and it won’t reach bees deep inside a tunnel the way a dust formulation can. If a carpenter bee avoids direct contact with the spray, it can simply bore a new entrance nearby.
How to Apply WD-40 to Carpenter Bee Holes
The approach is straightforward. Wait until after dark, when adult bees have returned to their tunnels for the night. Aim the WD-40 straw nozzle directly into each entry hole and give a sustained spray for a few seconds to push the product deep into the gallery. The entry holes are roughly half an inch in diameter and perfectly round, usually on the underside or end grain of exposed wood like deck rails, fascia boards, and porch ceilings.
Keep a healthy distance from the spray and avoid breathing the fumes. Don’t spray near heat sources or open flames, since WD-40 is flammable. You may need to repeat the application over a couple of days if you see continued activity.
Sealing the Holes After Treatment
Once you’re confident the bees inside are dead (give it at least a day or two after your last treatment), you need to seal the holes. This step is critical. Open tunnels invite new carpenter bees the following spring, and existing galleries can extend several inches or even feet into the wood, making the damage worse each year.
Use cork plugs or short wooden dowels to seal the holes, not caulk or expanding foam. The goal is to block the entrance tightly while keeping the interior space intact. Caulk tends to crack and pull away over time, and expanding foam is too soft to stop a determined bee from chewing back through. A snug-fitting cork or dowel glued in place, then sanded flush and painted over, gives you the most durable seal.
When WD-40 Isn’t Enough
If you’re dealing with more than a few holes, or if bees keep returning year after year, WD-40 alone probably won’t solve the problem. Insecticidal dusts are the standard recommendation from university pest management programs because they coat the entire length of the tunnel. A bee walking through the treated gallery picks up the dust on its body, which continues working even after the initial application dries. These dusts are applied with a bulb applicator puffed directly into the hole.
Some dust products are available to homeowners at hardware stores, while others are restricted to licensed pest control professionals. If you go this route, the same timing applies: treat at night, wait a day or two to confirm the bees are dead, then seal the tunnels.
Preventing Carpenter Bees From Coming Back
Carpenter bees strongly prefer bare, untreated, softwood surfaces. Painting or staining all exposed wood is one of the most effective long-term deterrents. Bees are far less likely to bore into wood that has a solid coat of paint, because the finish makes the surface harder to grip and chew, and the chemical smell of the coating is unappealing to them. Pay special attention to end grain, undersides of railings, and the bottoms of fascia boards, since these are favorite nesting spots.
Carpenter bee traps can also help reduce populations around your home. These are simple wooden boxes with pre-drilled entry holes that mimic nest openings, leading into a glass or plastic jar the bees can’t escape. Place them near areas of past activity. If you’re using traps preventively before an infestation starts, location matters even more: hang them in sunny spots on the south or west side of structures where bees naturally scout for nesting sites. Placing a dead carpenter bee inside a new trap can help lure others in.
Citrus-based repellent sprays made with lemongrass and citronella oils offer another layer of prevention. These won’t kill bees, but spraying them on vulnerable wood surfaces creates a scent barrier that carpenter bees tend to avoid. Reapply after rain or every few weeks during peak season (typically April through June in most of the U.S.).
The Trade-Off With WD-40
WD-40 is cheap, widely available, and genuinely does kill carpenter bees on contact. For a homeowner with one or two active holes who wants a fast solution from something already in the garage, it’s a reasonable first step. But it leaves an oily residue on wood that can interfere with painting or staining later, it has no residual insecticidal effect once it dries, and it won’t reach bees deep in a long tunnel the way a dust will. Think of it as a stopgap. If the bees come back next spring, or if you’re seeing ten or more holes, a more targeted insecticidal dust combined with sealing and painting will give you longer-lasting results.