The walnut husk fly is a fruit fly that attacks walnuts by laying eggs inside the green husk, where larvae feed and cause the husk to decay, stain the shell, and potentially ruin kernel quality. It produces one generation per year and is the most damaging insect pest of walnuts in many growing regions of the western United States. If you grow walnut trees, whether a backyard tree or a commercial orchard, understanding this pest’s timing and behavior is the key to protecting your crop.
How to Identify the Walnut Husk Fly
The adult walnut husk fly is about the size of a housefly, roughly 1/4 inch long, with a tawny brown body and large, iridescent greenish eyes. Its most distinctive feature is three dark bands on each wing, one of which wraps around to form a V-shape. A yellow spot sits on the fly’s back just below where the wings attach. These banded wings are what separate it from other flies you might see around walnut trees. Females are slightly larger than males and have a more pointed abdomen, which houses the egg-laying structure they use to pierce the husk.
The larvae are typical fruit fly maggots. Newly hatched, they are white and tiny. As they feed and grow over the next three to five weeks, they turn yellow with dark mouthparts and reach about 1/4 to 1/2 inch long. If you crack open a blackened, mushy husk and find yellowish maggots inside, you’re looking at walnut husk fly larvae.
Life Cycle and Seasonal Timing
Walnut husk flies spend the winter as pupae buried several inches deep in the soil beneath walnut trees. Each pupa is roughly the size and shape of a grain of wheat. Adults begin emerging from the soil as early as May in some areas, but the main emergence window generally starts around July 1. Peak emergence runs from mid-July through mid-August, and in cooler regions adults can continue appearing into September or even October.
After mating, a female fly punctures the green walnut husk and deposits eggs in groups of about 15 just below the surface. These eggs hatch into white maggots within five days. The larvae feed inside the husk for three to five weeks, breaking down the tissue and turning it into a soft, blackened mess. Once mature, they drop to the ground and burrow into the soil to pupate. Most will emerge as adults the following summer, but some stay dormant in the soil for two or more years, which means the pest can persist even after a year of good control.
What the Damage Looks Like
The first visible sign of an infestation is a small, dark puncture mark on the husk surface, sometimes called a “sting.” This is the spot where the female inserted her eggs. Within a week or two, the husk around those stings begins to soften and darken. As the maggots feed, the entire husk can turn black and mushy, clinging tightly to the shell instead of splitting cleanly at harvest.
The real problem goes beyond the husk. The dark, decaying husk material stains the walnut shell, making it unsightly and reducing its market grade. In severe cases, the decay promotes mold growth that can penetrate the shell and affect kernel quality, leaving nuts with off-flavors or discoloration. For backyard growers, this often means a harvest of stained, sticky walnuts that are frustrating to process. For commercial growers, it translates directly into economic loss from downgraded nuts.
Monitoring With Traps
Effective control depends almost entirely on timing, and timing depends on monitoring. Yellow sticky traps are the standard tool. Place traps high in the upper half of the tree canopy by late May or early June, before adults begin emerging. Check them at least twice a week during the flight season.
What you’re watching for is a sharp or steady increase in fly catches over a three-day period. In orchards with low to moderate pest pressure, that sharp increase is the signal to act. In orchards with a history of heavy infestations, treat as soon as any flies appear on the traps rather than waiting for numbers to climb. A degree-day phenology model, available through university extension services, can also help predict the timing of adult emergence, egg laying, and egg hatch based on accumulated heat units in your area.
You can also monitor the nuts themselves. Inspect husks for the small, dark egg-laying stings. If you find even one sting, it’s time to spray. Past guidelines suggested a one-week window after detecting eggs in trapped females, but in practice, checking traps two or three times per week still may not catch the very start of egg-laying in the local population. The current recommendation is to treat as soon as possible once eggs or stings are detected.
Spray Timing and Treatment
Timing is everything with walnut husk fly. The goal is to kill adult flies before they lay eggs, because once larvae are inside the husk, sprays cannot reach them. The standard approach is to apply an insecticide when trap catches spike or when the first egg-bearing female is found.
One widely used option is GF-120, an organic-approved bait spray that combines a feeding attractant with a naturally derived insecticide. Because it attracts and kills flies rather than coating every surface, it can be applied in narrow strips rather than as a full-coverage spray, reducing its impact on beneficial insects. In high-pressure orchards, GF-120 applications start at first fly emergence and repeat every 7 to 14 days. That interval should be shortened during rainy periods (rain washes the bait off) and as fruit ripens, when fly activity intensifies.
Conventional insecticides are also effective and typically require fewer applications, but they carry a greater risk of disrupting natural enemies in the orchard. Regardless of which product you choose, the principle is the same: spray before eggs are laid, not after.
Sanitation and Cultural Practices
Because the pest overwinters as pupae in the soil directly beneath walnut trees, sanitation plays a meaningful supporting role. Prompt harvest is one of the simplest strategies. The sooner you get ripe walnuts off the tree and off the ground, the fewer larvae complete their development and drop into the soil to pupate. If infested nuts fall early, collect and dispose of them rather than leaving them to rot under the tree.
Removing or destroying fallen husks reduces the number of larvae that successfully reach the soil. Some growers use tarps or ground covers beneath trees during the period when mature larvae are dropping, typically late summer through early fall, to intercept them before they can burrow in. Even in a backyard setting, raking up and bagging fallen fruit and husks can reduce the population building up year after year.
The two-year dormancy of some pupae means a single season of good sanitation won’t eliminate the problem. Consistent effort over multiple years is what drives populations down.
Why Early-Harvest Varieties Have an Advantage
Walnut varieties that ripen and are harvested early naturally escape some husk fly pressure simply because the nuts are off the tree before peak fly activity winds down. Late-season varieties, by contrast, hang on the tree longer during the window when females are actively laying eggs, giving the flies more opportunity to attack. If you’re planting new walnut trees in an area with known husk fly pressure, choosing an earlier-ripening variety is a practical long-term strategy that reduces reliance on sprays.
Putting It All Together
Managing walnut husk fly is less about any single tactic and more about layering several together. Hang traps by late May. Watch them closely from early July onward. Spray promptly when catches spike or stings appear, not a week later. Follow up with sanitation after harvest. The flies will always be present in walnut-growing regions, but consistent monitoring and well-timed action can keep damage to a level where you’re still harvesting clean, marketable nuts.