What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
The “worms” in apples are almost always insect larvae, most often codling moth caterpillars or apple maggots, the maggot stage of a fly. They hatch from eggs laid on or just under the skin of a developing apple and feed inside the fruit. For shoppers, the practical signs are visible damage, texture and overall fruit quality. Extension publications on these pests explain how the insects work, but they do not set a rule for whether a partly affected apple is safe to eat, and no label such as organic, local or a particular variety guarantees fruit free of larvae.
What the “worms” actually are
Apple larvae are not earthworms or any other true worm. They are the feeding stage of insects that have completed their egg stage and not yet become adults. Two pests account for most of the larvae people find in apples: the codling moth (Cydia pomonella) and the apple maggot (Rhagoletis pomonella). Both are common in orchards that grow apples, and both can also reach fruit on home trees.
Codling moth
The adult codling moth is a moth. It lays eggs singly on developing fruit or on nearby leaves. Newly hatched larvae usually enter through the calyx (the open end of the apple opposite the stem) or through the side of the fruit, then tunnel toward the core, feeding on seeds and the flesh around them. The larvae are white to pinkish with a brown head.
A common sign is brown frass, a mix of insect droppings and chewed food, pushed out of an entry or exit hole. Apples Extension (2019) reports that codling moth larvae feed inside fruit for three to five weeks, and that the moth typically has two to three generations a year, depending on summer temperatures.
Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →#1 Best Overall
- Control diseases and insects in your garden with Captain Jack’s Fruit Tree Spray Concentrate! Use on a variety of listed fruits, nuts and citrus plants.
- Prevent and control common fungal attacks on plants including powdery mildew, blight, black spot, mold and more.
- Captain Jack’s Fruit Tree Spray controls and repels many common garden insects and mites. Repel aphids, gnats, beetles, grasshoppers and other listed insects.
- Cold Pressed Neem Oil acts as an effective fungicide, insecticide, miticide and nematicide when used as directed. Approved for organic gardening, this product can be used up to time of harvest.
- This product arrives ready-to-mix with water. To use, mix according to label instructions and shake well. Apply to affected plants as a foliar spray or a soil drench. For full use instructions, please see product label.
Apple maggot
The apple maggot is the larval stage of a fly, not a moth. The female deposits eggs under the apple skin. The larvae tunnel through the flesh, leaving winding brown trails rather than a clean run to the core. The fruit may dimple, decay, become distorted or drop from the tree. The UC Statewide IPM Program reports that the pest generally has one generation a year, with a partial second generation in some years, and that larvae feed for about three to four weeks. Its life cycle and distribution vary by region.
Telling them apart
The clues below are useful for identification, but they are not a definitive diagnosis. Other pests can also damage apples, and a local extension office can identify a pest from a photo or a specimen.
Rank #2
- Control diseases and insects in your garden with Captain Jack’s Fruit Tree Spray Concentrate! Use on a variety of listed fruits, nuts and citrus plants.
- Prevent and control common fungal attacks on plants including powdery mildew, blight, black spot, mold and more.
- Captain Jack’s Fruit Tree Spray controls and repels many common garden insects and mites. Repel aphids, gnats, beetles, grasshoppers and other listed insects.
- Cold Pressed Neem Oil acts as an effective fungicide, insecticide, miticide and nematicide when used as directed. Approved for organic gardening, this product can be used up to time of harvest.
- This product arrives ready-to-mix with water. To use, mix according to label instructions and shake well. Apply to affected plants as a foliar spray or a soil drench. For full use instructions, please see product label.
| Feature | Codling moth | Apple maggot |
|---|---|---|
| Adult form | Moth | Fly |
| Where eggs are laid | Singly on fruit or nearby leaves | Under the apple skin |
| Damage pattern | Tunnel running toward the core, feeding on seeds and nearby flesh | Winding brown trails through the flesh; dimpling, decay or distortion |
| Frass at entry or exit holes | Often present | Usually absent |
| Generations per year | Two to three, depending on summer temperatures (Apples Extension, 2019) | Generally one, with a partial second in some years (UC Statewide IPM Program) |
| Larval feeding period | Three to five weeks (Apples Extension, 2019) | About three to four weeks (UC Statewide IPM Program) |
A tunnel that runs to the core with frass at a hole points toward codling moth. Meandering trails through the flesh without frass at the entry point point toward apple maggot. Neither clue alone settles the question, and the timing and regional pattern also differ, so identification comes before any treatment decision.
What it means for the apples you buy
Judge a shop apple by what you can see and feel. Extension material describes apple maggot damage as making fruit unpalatable once the flesh decays, and describes heavily infested fruit as distorted and inedible. Those are quality descriptions. They are not a general food-safety ruling for every apple with a small damaged area, and the publications behind this guidance do not establish one.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Rank #3
- FOR A SOOTHING AMBIENCE: Aira Mist Apple Cinnamon Room Spray brings the best out of organic ingredients & pure essential oils; Features the fruity, exhilarating scent of apples with warm, soothing cinnamon, clove & vanilla
- THERAPEUTIC ESSENTIAL OILS: This office & home fragrance spray packs a special blend of eucalyptus, spearmint & peppermint essential oils that bring on board a soothing fragrance profile; Stress relief spray with essential oil blends
- SYNERGETIC INGREDIENTS: Aira Mist Room Sprays are built on a unique base of certified organic aloe, witch hazel & rosemary seed extract that offers natural aromatic longevity, stability & synergy; Home & office room spray with vitamin E
- FILLS THE ROOM, LASTS LONG: Unlike ordinary essential oil sprays that dissipate in a matter of minutes, this room spray keeps making its presence felt for a long time after spraying; Diffuses easily even in larger rooms; Shake well before using
- NO ALCOHOL, NO PARABENS: All Aira Mist Room Sprays are 100% natural & free of alcohol, parabens & other harsh chemicals; Safe for the skin & clothes; Introduce positive vibes in your home & workplace, click ‘Add to Cart’ to order today
That gap matters. Published sources on these pests cover identity, damage, orchard management and general produce washing. They do not say whether an apple with a localized internal tunnel is safe to eat, and they do not give a fixed threshold for trimming versus discarding. For a specific food-safety decision, check with a food-safety authority or your national or local food safety agency.
A practical shopping checklist
- Look for entry holes with brown frass, and for dimpling or sunken spots that may mark a feeding site.
- Be wary of soft, decaying or visibly distorted fruit, which extension sources associate with heavy apple maggot damage.
- Treat a small surface mark differently from a tunnel that reaches the core or fruit that is rotting. The sources give no universal trim-or-discard rule, so judge by condition.
- Do not assume that organic, local or heirloom labels protect against larvae. The available sources do not show that these labels reduce the likelihood of larvae.
- Rinse all apples under cold running water before eating. FoodSafety.gov advises against washing produce with soap, bleach, sanitizer, alcohol or other chemicals. Rinsing cleans the surface but does not remove larvae that are already inside the fruit.
Prevention for home orchards
This section is for people who grow apples. Larvae in fallen or infested fruit can continue their life cycle, so extension guidance recommends removing fallen and infested fruit promptly. For codling moth, bagging developing fruit shortly after petal fall can protect it. The UC Statewide IPM Program says apple bagging also controls apple maggot. Sticky traps, in red sphere or yellow forms, are used to monitor or reduce apple maggot flies.
Timing depends on your location. OSU Extension Lane County published a response in May 2024 covering dates and degree-day timing for Eugene-Springfield and the south Willamette Valley, in that season only. Its advice applies to that region and year. Erica Chernoh, Assistant Professor of Practice in Community and Commercial Horticulture with OSU Extension Lane County, wrote: “When and what to spray depends on what pest you are trying to control.” She added: “If the timing of the spray isn’t correct, then it won’t be effective and you may end up harming beneficial insects and pollinators instead.” Identify the pest first, then follow your current local extension guidance and the pesticide label.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Figures and what they measure
No reliable national figure exists for how many apples in shops contain larvae, so no percentage should be quoted as if it were one. The figures that are available describe insect biology and come from specific sources:
- Codling moth larvae feed inside fruit for three to five weeks (Apples Extension, 2019).
- Codling moth typically has two to three generations a year, depending on summer temperatures (Apples Extension, 2019).
- Apple maggot females lay about 300 eggs over a 30-day lifespan (UC Statewide IPM Program, page accessed October 8, 2026). This describes the insect, not how many apples are infested.
- Apple maggot eggs hatch in about two to 10 days (UC Statewide IPM Program, page accessed October 8, 2026).
- Apple maggot larvae feed for about three or four weeks (UC Statewide IPM Program, page accessed October 8, 2026).
- Apple maggot generally has one generation a year, with a possible partial second generation in some years (UC Statewide IPM Program, page accessed October 8, 2026).
Several of these sources are regional. The UC page reflects California conditions, UNH Extension reflects New Hampshire, the Oregon dates reflect one region and one year, and Minnesota and Penn State material reflects their own local settings. Treat the timing and frequency figures as local rather than universal.
Best Value
- INSTANT FRESHENING: Give your home a quick spritz-me-up with our non-aerosol Room Freshener. Adds instant freshening and a nice scent for those in-between-cleaning days
- TESTED & TRUSTED: Mrs. Meyer's products are made with essential oils and other thoughtfully chosen ingredients that are cruelty-free and Leaping Bunny Certified
- GARDEN-INSPIRED SCENTS: A welcoming cup of Apple Cider enjoyed just home from the orchard. The scent is sweet and crisp, with a little touch of spice to really warm things up. With scent notes of: mulled apple, cinnamon, orange rind, and ginger
- CLEAN WITHOUT COMPROMISE: Made without propellants, parabens, phthalates, or artificial colors
- PLANT SOME GOOD EVERYDAY: For homes that feel cared for, cultivated with intention, and cleaned with some garden goodness
Bottom line on apples with worms
Apple larvae come from moths or flies that lay eggs on developing fruit, and the damage they cause is mostly a matter of quality and appearance. Inspect each apple, avoid fruit that is soft, decaying or heavily tunneled, and rinse everything under cold running water. Beyond that, ask a food-safety authority rather than assuming an apple with a small internal tunnel is either safe or unsafe.
Quick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.




