Pepper plants are a popular choice for home gardeners and farmers alike, thanks to their versatile culinary uses. They’re tasty in salads, preserved, or to add some spicy heat to delightful culinary dishes.
I always get a thrill when my plants start producing and I can anticipate that amazing hot pepper jam I make every year.
It’s not so enjoyable when I discover that something tiny has invaded the fruits, and now they’re unusable.
You’ve come across the annoying, troubling pepper maggot. Here’s what to know about this pest.
Table of Contents
What Are Pepper Maggots?

Pepper maggots (Zonosemata electa) are the larvae of small flies that belong to the Tephritidae family. They’re a close relative of the apple maggot (Rhagoletis pomonella) and cause similar damage.
It’s commonly found in eastern North America, where fields, gardens, and crops of pepper plants grow. They attack both sweet peppers and hot (chlli) peppers.
Though we call them pepper maggots, they can also infest other nightshades such as tomatoes, eggplants, and potatoes.
Characteristics and Habitat
The larvae are about a half inch in size, with a stout body, and a lack of distinctive head capsule. Though they are small, the impact of this pest is not to be underestimated.
As adults, they are flies that are slightly smaller than houseflies, with yellow-orange stripes on their thorax and distinctive dark bands on their wings. These bands are helpful in identification, as they can be confused with other fly species. They also have green eyes.
They prefer warm and humid climates, making regions with hot summers ideal for reproduction and growth. Since peppers require hot climates, they go hand in hand.
The adult lays eggs in the skin of the pepper, leaving behind a little dimple. The white, cylindrical eggs are just pin-pricks in size and generally hatch in around 10 days. Hatching times vary because maturating is linked to the growth rate of the fruit the eggs are laid on.
Then, the maggots emerge and tunnel inside the plant to eat. They feast on the flesh and cause damage to the internal structure.
In the summer months, pepper crops are at their peak, providing an abundant food source for the maggots to feed on.
The larvae go through several instar stages, molting their exoskeletons to accommodate their increasing size. Once they mature, they become yellow-brown and exit the bottom of the fruit to pupate. Then, they drop to the soil and tunnel into the ground to pupate.
The pupae don’t feed but instead, focus on metamorphosing from maggots to flies. This stage takes two to three weeks before the fully formed pepper maggot adult fly emerge. The ideal temperature for pupating and emerging is around 90°F.
Pepper maggots can stay in the pupae phase if born late in the season to overwinter in the soil.
Adults are active fliers, meaning they can easily move between plants and vegetable beds. They live in weeds or forested areas and visit pepper plants to lay eggs.
They can infest multiple plants once mated. Mating generally occurs a few days after pupating. She will be able to lay her fertilized eggs for about 6 days.
Pepper maggots are drawn to the scent of ripening peppers, making them more likely to infest plants that are in the later stages of growth. The adults can lay for weeks at a time, though there is only one generation per year.
Signs of a Pepper Maggot Infestation
Whether you’re a home grower with just one plant or a commercial grower with large fields, knowing the signs and symptoms of a pepper maggot infestation is crucial.
The damage this pest can do to the fruit of its host plant can render it inedible and unsellable.
Rotting fruit might also attract slugs and birds.
1. White Spots
What may appear to be tiny white marks on the fruit of the host plant are more likely to be eggs. They are grouped together in clusters and located close to the stem end of the fruit. These eggs may stand out against the bright colors of the fruit they’re attached to.
2. Holes

Holes will be visible on the outer surface of the fruit, and they resemble sting marks or tiny pinpricks. These marks are where the female used her ovipositor to insert the eggs. As the fruit develops, these holes become larger and present as sunken dimples.
As the skin is the protective layer of the fruit, these holes can leave the fruit open to destructive pathogens.
3. Maggots
You won’t usually see maggots on the outside of the fruit unless they are coming out of the base and dropping to the ground. But on opening up the fruit, you might see small brown or white maggots in small tunnels.
These tunnels are the feeding trails of the pepper maggots.
4. Lesions

You might see dark, sunken lesions appear on the fruit surface. This is from the feeding pepper maggots. As they eat, they damage the tissue, causing blackened flesh and skin on the host fruit.
Severe infestations or the presence of numerous larvae in the fruit can expedite the breakdown of the fruit’s layers, making way for lesions, rot, and mold to set in.
5. Wilting or Yellowing Foliage
If untreated, a large infestation can cause the foliage to become symptomatic. The damage caused by pepper maggots allows for the onset of other diseases, which may appear as wilting or discolored leaves.
Any breaching of the plants natural defences will cause a decline in vigor and stretch the plant’s resources. Losing nutrients, particularly in the summer heat, will cause the host plant to wilt.
6. Discoloration
Discoloration frequently occurs on the surface of the invaded fruit.
While the fruit is trying to develop and absorb nutrients for growth, the pepper maggots steal those nutrients. The fruit and plant will struggle to produce properly sized, shaped, and colorful crops.
7. Flies
The presence of the pepper maggot’s adult fruit flies is a clear indication of an infestation.
They stick around the plants themselves and will fly en masse if disturbed. They don’t live on the fruit, but since they leave their eggs there, they can frequently be found hanging out near them.
Prevention and Control
Plant healthy seedlings at the appropriate time and provide appropriate care throughout the growing season. A healthy plant with enough water and food is less likely to succumb to an infestation.
A good organic mulch can be helpful, as when the pepper maggots drop to the ground, they are unable to reach the soil as easily. Birds and other predators might have time to find them and grab them.
As with any pest problem, stopping it from getting out of control in the first place is better than trying to deal with an infestation once it has taken hold.
Taking good preventative measures will also reduce the risk of losing valuable pepper crops and having to take drastic measures in summer when you’d rather enjoy the fruits of your labor.
1. Monitor
Always be on the lookout for the adult fruit flies. Don’t ignore even one fruit fly. Where there is one, there is likely more.
Once you see flies, they may have already started laying eggs, so you need to act quick to protect the rest of your fruits.
You can use lures and traps to help you determine if the adults are present.
2. Crop Rotation
Planting host crops in the same location year after year can increase the chances of pest infestations. Crop rotation breaks the lifecycle because it prevents any overwintering pupae from finding a place to lay when they emerge as adults the next summer.
3. Trap Crops
Plant trap crops near the main growing area to attract the flies away from your more valuable plants. Make sure that those distraction plants are disposed of in a timely fashion; otherwise, you may find this pest migrating.
Plants in the Solanaceae family can all be used as trap crops. So choose some tomatoes and peppers you don’t care about and plant them on the exterior of your garden. The idea is that the flies will choose these rather than venturing further into your garden.
4. Deterrents

In theory, certain plants will deter pests. Some plants have a better track record at deterring pests than others.
Alliums like chives, onions, garlic, and scallions are purported to deter many pest species. Marigolds can also be a deterrent. It certainly can’t hurt to plant these among your nightshades.
However, none of these have been proven to keep the adult flies away, so don’t rely on this method alone.
5. Sanitation
Proper sanitation measures are essential. Remove and destroy infested fruits as soon as possible to keep population numbers down and avoid losing all of your nightshade crops.
6. Traps

The use of sticky traps can capture emerging and mature adult flies.
This not only enables you to approximate the number involved in the invasion, but will also prevent the caught females from laying eggs. Traps won’t stop all of the pests because not all will visit the traps. But it’s a good way to monitor populations.
Adult flies are drawn to the bright color of these traps and get stuck.
7. Biological Control
Encourage natural predators to visit your garden and devour these annoying pests. Many predators will eat all stages of the flies, from adult to eggs. Buy or encourage:
- Spiders
- Predaceous Wasps
- Dragonflies
- Ants
- Birds
- Frogs
- Predatory Mites
8. Row Covers

Get in protection mode and use row covers early on in the season before the flies start seeking out your plants.
You want to create a barrier to protect your susceptible crops from the laying females. But remember, some larvae can overwinter in the soil. When they emerge, they will just fly around under the cover and infest your plants.
This is where crop rotation comes in. Combine this with rotational planting so you can be sure there aren’t hiding larvae overwintering in the soil.
Disturb the ground near the plants to unearth any burrowing larvae or transforming pupae before you put the row covers over the plants. In fact, you should do this before planting.
9. Chemical Treatments

Use natural treatments to avoid harming beneficial insects in the garden.
A product that contains pyrethrins is highly effective against all stages except the eggs. But it will work once the eggs hatch.
Neem oil can also be useful in controlling the adults and larvae. Be sure to saturate the plant thoroughly every week or so.
Diatomaceous earth will kill the larvae, but it won’t impact eggs or adults. Still, it’s a good addition to sprinkle around your plants as a second line of defense. You can also sprinkle it on the soil before erecting row covers. Be sure to renew it after a rain.
10. Nematodes
Beneficial nematodes will devour the larvae, though they don’t impact the adults or eggs. These microscopic roundworms can be a huge boon in the garden. Not only will they kill pepper maggots, but they kill all kinds of other larval pests.











