Skip to main content
Garden & Home Reviews is reader-supported. We earn affiliate commissions from qualifying purchases — how this works.

How Do You Get Rid of Squash Vine Borers?

Home/Resources/Pest & Weed Control/Squash Vine Borers
Close-up detail of the material being worked in a pest & weed control project, in soft overcast light

Affiliate Disclosure

Some links on this page are affiliate links. As an Amazon Associate, we earn from qualifying purchases — at no extra cost to you. We do not buy, test, or physically handle the products we cover; our rankings come from aggregated owner reviews, ratings and expert consensus. Commissions never change our verdicts. How we rank · full disclosure.

Squash vine borers are nearly impossible to kill once they are inside the stem, so the winning strategy is prevention and timing, not rescue: cover plants with floating row covers until they bloom, watch for the summer moth flight, and use stem surgery only as a last resort on plants already infested. The larva bores into the base of the stem, cuts off the plant’s water flow, and causes the sudden midsummer wilt that gives it away. Growing resistant species like butternut sidesteps much of the problem.

Why is timing everything with this pest?

The squash vine borer is the larva of a day-flying clearwing moth. In early to midsummer the moth lays eggs on the stems and leaf stalks of squash plants; the eggs hatch and the young larvae bore straight into the stem, where they feed for weeks, protected from any spray by the plant tissue around them. That protection is the whole problem: an insecticide or a predator can only reach the borer during the brief window when eggs and newly hatched larvae are on the outside of the plant. Miss that window and the larva is walled in, which is why control has to be front-loaded to before and during the moth flight.

Wide environmental view of a person spraying weed treatment along a garden edge with a pump sprayer, in soft overcast light

How do you prevent them?

Block the moth from the stem and grow plants it dislikes.

TacticHow it helpsNote
Floating row coverPhysically blocks egg-layingRemove at bloom for pollination
Stem collar / foil wrapDeters egg-laying at the baseCover lower few inches of stem
Resistant species (butternut)Solid stems resist boringCucurbita moschata group
Timed / succession plantingDodges peak moth flightLater or second sowings can escape
Fall cleanup and rotationRemoves overwintering pupaeLarvae pupate in soil under plants

Row covers are the single most effective preventive, with the one rule that they must come off when flowers open so bees can pollinate.

Three-quarter view of a person spraying weed treatment along a garden edge with a pump sprayer, in soft early-morning light

How do you catch the moths early?

Because the flight is your action signal, monitoring pays off. Squash vine borer adults are drawn to yellow, so a shallow yellow pan or bowl filled with soapy water, or yellow sticky traps set among the plants, will start catching them as the flight begins. Many state extension offices publish local flight timing. Once you see moths, that is the cue to have row covers in place — or, if you are willing to use one, to begin a labeled insecticide program aimed at the base of the stems, timed to hit eggs and newly hatched larvae before they bore in. Always read and follow the product label, and mind the pre-harvest interval on an edible crop.

What if a plant already has one?

Try stem surgery. Find the entry hole, marked by moist sawdust-like frass, and slit the stem lengthwise there with a sharp, clean knife. Pull out the white grub-like larva — there may be more than one — then mound moist soil over the slit section so the wounded stem can grow new roots and keep the plant alive. Water it well through recovery. Vining, node-rooting squash tolerate this better than single-crown bush types. Destroy any borers you remove. It is a salvage operation with mixed odds, not a substitute for prevention.

Close-up detail of the material being worked in a pest & weed control project, in bright midday sun

Breaking the cycle for next year

Mature larvae leave the stem and pupate in the soil beneath the plants to overwinter and emerge as next summer’s moths. Removing and destroying infested vines at season’s end, cultivating the soil where squash grew, and rotating squash to a new bed the following year all reduce the local population you start with. None of it is a magic fix, but stacked with row covers and a resistant species it makes borer losses far more manageable.

Where to go next

For general garden insect products, best insect killer for yards ranks the labeled options, and if you prefer non-chemical methods, controlling pests and weeds without chemicals covers barriers and cultural controls. To weigh a common DIY spray, see whether dish soap kills aphids. Everything sits under the pest and weed control hub.

We never buy, apply or physically handle the products we rank — recommendations come from aggregated owner reviews and expert consensus, and the method is on how we rank. Follow the label and check your local extension service for regional flight timing.

Straight Answers

Frequently Asked

How do you know if you have squash vine borers?

The classic signs are a plant that suddenly wilts in midsummer despite moist soil, and sawdust-like frass (insect droppings) at the base of the stem near a small hole. Splitting the stem lengthwise reveals a fat, white, wrinkled caterpillar inside. The adult is a clearwing moth with an orange-and-black body that flies in daytime and looks a bit like a wasp. Wilting that does not recover overnight, combined with frass at the stem base, is the telltale combination.

Can you save a plant that already has a borer inside?

Sometimes, with stem surgery. Slit the affected stem lengthwise with a sharp knife at the entry hole, remove the borer by hand, then mound moist soil over the cut section so the stem can root along its length. Keep the plant well watered while it recovers. Success varies and a badly damaged main stem may not make it, but it is worth trying on a valued plant. Vining squash that can root at leaf nodes recovers better than bush types with a single crown.

What is the best way to prevent squash vine borers?

Break the moth’s access to the stem. Floating row covers placed over the plants from the time they emerge until they begin flowering physically block the adult from laying eggs — just remember to remove the covers at bloom so bees can pollinate. Wrapping the lower stem with foil or a similar collar also deters egg-laying. Timing plantings to avoid the main moth flight, and growing more resistant species like butternut, are the other reliable preventive moves.

Which squash are resistant to vine borers?

Species in the Cucurbita moschata group, such as butternut, and Cucurbita argyrosperma, have solid, more resistant stems that borers struggle with, so they are the reliable choice in borer-heavy areas. The most vulnerable are Cucurbita pepo types — zucchini, most summer squash, pumpkins and acorn squash — and hubbard squash. Choosing a resistant species does not guarantee immunity, but it dramatically reduces losses compared with growing only the susceptible ones.

When do squash vine borers attack?

The adult moths typically emerge and lay eggs from roughly early to midsummer, though the exact window shifts with your region and can span June into July across much of the US, with a possible second generation farther south. Because control is far easier before the larva is inside the stem, knowing your local flight timing is valuable — many extension offices track it. Setting yellow sticky traps or a pan of soapy yellow water can help you catch the start of the flight so you can act early.