BioAdvanced 700420A Termite & Carpenter Bee Killer Plus Foam Pesticide, 18 oz, Spray The Foam Expands at a 30:1 Ratio Kills the Termites You See, and the Ones You Don't See Kills Carpenter Bees PLUS Kills Ants, Wood-infesting Beetles and Other Listed Pests Active: 0.05% Imidacloprid Carpenter bees prefer unfinished wood. An easy deterrent is to keep all your wood freshly stained or painted. Woodpeckers also damage your home as they try to get to the carpenter bee larvae.