Garden pest · Insect
Spotted wing drosophila: how to spot them and stop them
Spotted wing drosophila is an invasive vinegar fly from Asia that lays its eggs in ripening, unblemished soft fruit, unlike most vinegar flies, which use overripe or damaged fruit. Look for tiny puncture scars and soft, sunken spots that turn into collapsed, mushy fruit with small white maggots inside.
Drosophila suzukii · Also called SWD, spotted-wing drosophila · From university extension guidance, checked October 2026
How to identify spotted wing drosophila
- Adult: a tiny fly, 1/16 to 1/8 inch (about 2 to 3 mm) long, with red eyes and a light brown body with dark bands on the abdomen.
- Male: a dark spot near the tip of each wing and two dark bands on each front leg.
- Female: no wing spots, but a large, saw-toothed egg-laying organ (ovipositor) that is visible with a hand lens.
- Larva: a white to cream legless maggot up to about 1/8 inch (3 to 4 mm) long. One to several can be found in a single fruit.
The damage they do
- Tiny puncture scars on healthy, ripening fruit, where females laid 1 to 3 eggs under the skin.
- Soft, brown, sunken spots around the scars as larvae feed. Smooth-skinned fruit like cherries and blueberries may leak juice.
- Fruit collapses and turns mushy, and fungi and bacteria often move in through the wounds.
- On raspberries and blackberries, especially fall-bearing types, damage can mean complete crop loss.
Crops they attack
Also: currant, gooseberry, nectarine, apricot, plumcot, Asian pear, wild blackberry, honeysuckle, dogwood, pokeweed.
Life cycle
A generation can take as little as 8 to 9 days in moderate temperatures, so there can be up to 10 generations a year; eggs hatch in 1 to 3 days and larvae pupate in the fruit or leaf litter. In Wisconsin, activity starts in early summer and builds into early fall, so fall-bearing crops face the most pressure; in California's inland valleys, adults are most active in spring and fall.
How to prevent them
- Use fine exclusion netting with mesh of about 0.98 mm or smaller, secured to the ground. Put it on after fruit sets and before it ripens, so flies aren't trapped inside and pollinators can still reach the flowers.
- Harvest often. Start as early as you can and pick fruit as soon as it ripens.
- Pick up fallen, damaged, and overripe fruit. Seal it in a plastic bag for the trash, or leave sealed bags in full sun for several days. Don't compost it, because flies can breed there.
- Refrigerate harvested fruit right away to slow SWD development.
- Choose earlier-bearing crops, such as June-bearing strawberries and black raspberries, which tend to see less pressure. Some yellow raspberries may be less attractive to the flies.
- Monitor with traps when fruit starts to ripen. Use a clear 32-ounce container with ten 3/16-inch holes, baited with 1 tablespoon of yeast and 4 tablespoons of sugar in 12 ounces of water (or 1 to 2 inches of apple cider vinegar) and a drop of unscented dish soap. Check weekly for males with spotted wings. Traps are for monitoring, not control.
How to get rid of them
- Spinosad is the most effective organic option. Spray when fruit starts to color, about 2 to 3 weeks before harvest, and repeat 7 to 10 days later if needed. Follow the label and its preharvest interval.
- Sprays prevent new egg-laying but do not kill larvae already inside fruit. Pyrethrins work less well than spinosad, and insecticidal soaps and neem perform poorly.
- Spray after bloom, when fruit is coloring, to protect pollinators. Malathion is very toxic to bees and natural enemies. Follow the label.
- Trapping alone has not been shown to reduce backyard populations. Rely on netting, frequent harvest, and sanitation.
Spotted wing drosophila: common questions
How do I check berries for spotted wing drosophila larvae?
Use a salt water test. Put a sample of fruit in a sealed bag or glass dish, crush it lightly, cover it with 1/4 cup salt dissolved in 4 cups of water, and wait an hour. Larvae float out and are easiest to see with light behind the container.
What mesh size keeps out spotted wing drosophila?
Very fine mesh, about 0.98 mm or smaller, the size used to screen out no-see-ums. Secure it to the ground and put it on before fruit ripens.
Why are my raspberries soft and mushy with tiny worms inside?
Spotted wing drosophila is the likely cause. Unlike common fruit flies, it lays eggs in ripening fruit, and the larvae make berries collapse, especially on fall-bearing raspberries.
Plan a garden that's harder to attack
Rotation, trap crops and flowers for predators all start with the plan. Gardentasia checks companions and rotation as you plant, each with the reason.
Open the free plannerFree, in your browser. No account, no download.
Sources
From university extension services and other horticultural authorities, checked October 2026: