Call Now and Ask About the Winter Deal While it Lasts →

Call Now and Ask About the Winter Deal While it Lasts →

Sign-in to Account
Call Us

(855) 948-5816

aptive_pest_control_lockup-white

Find Service Area

Are Flies Attracted to Certain Plants?

Written by Aptive Pest Control June 30, 2025

Many gardeners notice that certain areas of their yard seem to attract more flies than others, often wondering if specific plants are drawing these unwelcome visitors. The relationship between flies and plants is complex—while some plants naturally attract flies through their scents, nectar, or decaying matter, others actually repel them. Understanding which plants attract flies and why can help you make informed landscaping decisions and develop strategies for fly control around your home and garden areas.

What types of plants attract flies?

Several types of plants naturally attract flies through various mechanisms. Flowering plants with strong, sweet fragrances like marigolds, zinnias, and sunflowers draw flies seeking nectar, while fruit-bearing plants including apple trees, berry bushes, and grape vines attract flies to their ripening or fallen fruit. Herbs with pungent odors such as basil, mint, and fennel can attract certain fly species, though they may repel others.

Plants with decaying matter create ideal fly breeding grounds—compost piles, areas with fallen leaves, or plants with rotting vegetation naturally draw flies looking for egg-laying sites. Moisture-loving plants in poorly drained areas also attract flies, as many species require water for reproduction. Additionally, plants that attract aphids or other small insects indirectly draw flies that feed on these pests or the honeydew they produce. Understanding these attractions helps gardeners make strategic planting decisions and implement proper garden maintenance to minimize fly problems while maintaining beautiful landscapes.

Are flies attracted to indoor plants or outdoor plants?

Flies are attracted to both indoor and outdoor plants, but for different reasons and with varying intensity. Outdoor plants typically attract more flies due to their accessibility, larger size, and integration with the broader ecosystem where flies naturally live and breed. Outdoor flowering plants, fruit trees, and gardens provide abundant food sources and breeding sites that support larger fly populations.

Indoor plants attract flies primarily when they create favorable conditions like overwatering that leads to fungal growth, organic matter decomposition in soil, or when they harbor pest insects like aphids or fungus gnats. Houseplants with sweet-smelling flowers or those near windows may also draw outdoor flies inside.

The attraction level depends largely on plant health and maintenance—well-maintained indoor plants pose minimal fly attraction, while neglected plants with standing water, decaying matter, or pest problems become significant attractants. Outdoor plants in gardens with proper drainage and maintenance typically cause fewer fly problems than those in areas with poor sanitation or excessive moisture. Location also matters, as plants near garbage areas, compost, or pet waste will naturally experience higher fly activity regardless of whether they’re indoors or outdoors.

Do flies cause damage to plants?

Most common house flies and related species cause minimal direct damage to healthy plants, as they primarily feed on nectar, decaying matter, and other insects rather than plant tissues. However, certain fly species can cause significant plant damage through their feeding and reproductive behaviors. Root maggots and leaf miners are fly larvae that tunnel through plant roots, stems, and leaves, creating visible damage and potentially killing plants.

Fruit flies and related species damage crops by laying eggs in ripening fruits, causing them to rot and become unmarketable. Fungus gnats, while primarily nuisances to humans, can damage plant roots when their larvae feed on organic matter and root hairs in soil, particularly affecting seedlings and young plants.

Indirect damage occurs when flies spread plant diseases, carrying bacterial and fungal pathogens between plants on their bodies and feet. Large fly populations can also stress plants by constantly landing on leaves and interfering with photosynthesis, though this is less common. 

Additionally, flies can contaminate fruits and vegetables intended for human consumption, making them unsuitable for harvest even when the plants themselves aren’t damaged. Proper identification of fly species helps determine whether they pose actual threats to plant health or are simply nuisances.

How to prevent a fly infestation

Preventing fly infestations around plants requires addressing both attractants and breeding sites. Maintain proper garden hygiene by promptly removing fallen fruit, dead plant material, and organic debris that attract flies and provide breeding opportunities. Ensure adequate drainage around plants to prevent standing water where flies reproduce, and avoid overwatering indoor plants that can create favorable conditions for fungus gnats and other moisture-loving species.

Use companion planting strategies by incorporating fly-repelling plants like lavender, mint, rosemary, and marigolds throughout your garden to naturally deter flies. Install physical barriers such as fine mesh covers over vulnerable crops during peak fly season, and consider timing plantings to avoid periods when specific fly species are most active.

For indoor plants, use well-draining soil mixes, avoid fertilizers that attract flies, and maintain proper ventilation to discourage fly activity. Regular inspection of both indoor and outdoor plants helps identify early signs of fly problems before they become established. Strategic placement of plants away from garbage areas, compost piles, and pet waste reduces fly attraction to garden areas.

What to do if you have a fly infestation

If you’re experiencing a fly infestation around your plants, take immediate action to address both the current population and underlying attractants:

  • Remove attractants: Clean up fallen fruit, dead plant material, and any decaying organic matter around affected plants.
  • Improve drainage: Address standing water issues and reduce overwatering that creates breeding sites for flies.
  • Use targeted treatments: Apply appropriate insecticides or biological controls specific to the fly species affecting your plants.
  • Install traps: Place sticky traps, fruit fly traps, or pheromone traps near affected areas to capture adult flies.
  • Introduce beneficial insects: Release predatory insects like ladybugs or lacewings that feed on fly larvae and eggs.
  • Modify plant care: Adjust watering schedules, improve soil drainage, and remove any diseased or stressed plants that attract flies.
  • Create barriers: Use row covers or fine mesh to protect vulnerable plants during peak fly activity periods.
  • Monitor and maintain: Conduct regular inspections and continue prevention practices to prevent reinfestation after initial control efforts.

When to call a professional

When dealing with fly problems that are damaging your plants or creating persistent issues in your garden, professional pest control services offer the most effective and targeted solutions. At Aptive, our pest control experts can assess the extent of your fly infestation and identify the specific species affecting your plants, which is crucial for determining the most appropriate treatment methods.

If you’ve noticed fly damage to your plants or persistent fly activity around your garden areas, don’t wait—contact Aptive today for a free quote. We’ll help you eliminate the fly problem while keeping your plants healthy and thriving.

FAQs about Flies and Plants

Here are some common questions homeowners often ask when it comes to fly infestations and plants.

Q: How do I protect my plants from flies?

Protect plants from flies by maintaining proper garden hygiene—remove fallen fruit, dead plant material, and organic debris promptly. Ensure adequate drainage to prevent standing water where flies breed, and avoid overwatering. Use companion planting with fly-repelling plants like lavender, mint, and marigolds throughout your garden. Install physical barriers such as fine mesh covers over vulnerable crops, and consider beneficial insects like ladybugs that prey on fly larvae to provide natural control.

Q: What type of flies cause the most damage to plants?

Root maggot flies cause the most severe plant damage, as their larvae tunnel through plant roots and stems, often killing affected plants. Leaf miner flies create visible tunnels in leaves, weakening plants and reducing photosynthesis. Fruit flies damage crops by laying eggs in ripening fruits, causing rot and making harvests unmarketable. Fungus gnats, while less destructive, can damage seedling roots and young plants when present in large numbers, particularly in greenhouse or indoor growing environments.

Q: How do I know if flies are affecting my plants?

Signs of fly damage include visible tunnels in leaves (leaf miners), wilting or stunted growth from root damage (root maggots), and rotting or damaged fruits with small holes where eggs were laid. You might notice increased fly activity around specific plants, yellowing or browning foliage, and small maggots in soil or plant tissues. Indoor plants may show signs of fungus gnat damage through poor growth, yellowing leaves, and tiny flies emerging from soil when watered or disturbed.

Learn more about flies

Are Black Flies and Black Soldier Flies the Same Thing? Are Black Flies and Horse Flies the Same Thing? Black Soldier Flies 101: What Are Black Soldier Flies? Can Flies Bite? Biting and Non-Biting Types Can House Flies Float in Water? Control Drain Flies: Proactive Tips & Identification Do Crane Flies Sting? Do House Flies Carry Diseases? How to Minimize the Risk in My Home Fruit Flies vs Drain Flies: What Are the Differences? Fungus Gnats 101: What Are Fungus Gnats? Gnats 101: What are Gnats? House Fly Breeding: What Homeowners Should Know Hoverflies 101: What Are Hoverflies? How Fast Can a Housefly Fly? How Fruit Flies Detect Fermenting Sugars in the Air How Houseflies Use Memory to Revisit Food Sources How Long a Housefly Lives—and What It Does with Its Time How to Get Rid of Fruit Flies in the Kitchen How to Keep Flies Away From Your Trash Cans How to Keep Fruit Flies Away from Your Home How to Tell a Fungus Gnat From a Fruit Fly Sweatflies vs Hoverflies: What Are the Differences? The Best Ways to Get Rid of Fruit Flies in Your Kitchen The Four Stages of the House Fly Life Cycle The Real Reason Flies Rub Their Legs Together The Short Lifespan of Flies What Are Black Flies? What Do Drain Flies Do in Your Kitchen Sink? What Happens Inside a Fly’s Compound Eyes Why Flies Are More Active in the Summer Why Flies Lay Eggs in Your Trash Cans and How to Interrupt Their Cycle Why Fruit Flies Appear Out of Nowhere Your Guide to House Flies: How to Identify, Prevent, and Eliminate Them

Curated articles for you, from our pest experts.

Close-Up Of A Yellow Jacket Wasp With Yellow And Black Markings, Perched On A Paper-Like Nest, Highlighting Its Body Structure And Nest-Building Behavior.

7 Most Common Pests in Washington State and What to Know

From damp coastal areas to wooded neighborhoods and growing suburbs, many pests in Washington State are simply part of the environment in which homeowners live. But not every pest sighting is a problem. Some pests appear briefly during seasonal changes, while...

Jan 21, 2026
A Close-Up Image Of A Black And Yellow Mud Dauber Wasp (Sceliphron Caementarium) Perched On A Green Leaf. The Wasp'S Slender Body And Long Legs Are Highlighted Against A Dark Background, Showcasing Its Vivid Yellow Patterns And Distinctive Elongated Abdomen.

15 Most Common Household Pests in Tennessee: Homeowners’ Guide

Tennessee’s warm summers and naturally humid conditions make it an active environment for insects and other pests. From suburban neighborhoods to rural properties, pest activity is often influenced by moisture, vegetation, and easy access to shelter. Seeing pests...

Jan 19, 2026
A Close-Up Image Of A Green Grasshopper Perched On A Leafy Plant Stem, Showing Its Textured Body, Long Antennae, And Folded Wings In Sharp Detail.

10 Common Garden Pests in the Midwest​: What Homeowners Should Know

Gardens throughout the Midwest reflect the region’s changing seasons. Along with plants and flowers, these outdoor spaces also support a variety of insect activity. Seeing pests in or around garden areas doesn’t automatically signal a problem. In many cases, it’s a...

Jan 19, 2026
A Close-Up Image Of A Brown Roof Rat Perched On A Weathered Green Metal Lantern, With Its Large Ears, Long Whiskers, And Inquisitive Eyes Facing The Camera. The Background Is Softly Blurred With Dappled Light And Trees.

The Top 5 Most Common Pests in California

California's Mediterranean and semi-arid climates with mild winters, extended warm seasons, and diverse microclimates create ideal conditions for numerous pest species remaining active year-round unlike temperate regions experiencing winter dormancy reducing pest...

Jan 19, 2026
A Close-Up Image Of A Large Spider Guarding Its White Egg Sac With Spiderlings And Unhatched Eggs Inside, Resting On A Mossy Forest Floor.

The Top 10 Most Common Arachnids in the Southeastern U.S.

Warm temperatures, seasonal humidity, and diverse landscapes make the Southeast an ideal environment for a wide range of arachnids. While spotting them indoors can feel unsettling, most species are simply passing through or seeking shelter as conditions change...

Jan 14, 2026
Close-Up Image Of A Jumping Spider With Large, Prominent Eyes, Covered In Fine Hairs, Standing On A White Surface.

The 8 Most Common Pests in Texas and What to Know About Them

Texas hosts an exceptional diversity of pest species due to its vast size, varied climates, and geographic position spanning subtropical Gulf Coast regions to arid western deserts, creating favorable conditions for numerous insects, arachnids, and rodents...

Jan 14, 2026
A Close-Up Macro Photograph Of A Mosquito Standing On The Edge Of A Green Leaf, With Detailed Focus On Its Slender Legs, Wings, And Long Proboscis, Surrounded By Softly Blurred Greenery In The Background.

The 7 Most Common Pests in Florida and What to Know About Them

Florida’s warm climate and lush landscapes make it a beautiful place to live, but they also create ideal conditions for pest activity. For many homeowners, seeing insects or rodents around the house isn’t a sign of neglect. It’s simply part of living in a state...

Jan 14, 2026
Close-Up Of A Japanese Beetle On A Green Leaf With Dew Droplets On Its Back.

4 Pests Living in Your Garden

When noticing unexplained plant damage, wilting foliage, or mysterious holes in garden leaves, identifying the responsible pests in garden environments is crucial for implementing appropriate control measures and protecting your landscape investment.  Gardens...

Dec 17, 2025
A Close-Up Of Several Small Black Ants Crawling Along The Edge Of A Wooden And Tiled Surface.

4 Insects That Are Hard to Get Rid Of

When experiencing recurring pest problems despite repeated pest control attempts, understanding which insects demonstrate greatest persistence is crucial for implementing appropriate comprehensive strategies rather than ineffective quick fixes.  Certain hard to get...

Dec 17, 2025
A Detailed Close-Up Of A Cicada Perched On A Green Leaf, Displaying Its Intricate Wings And Textured Body Against A Vibrant, Blurred Background.

What Is the Definition of Insect?

When encountering small arthropods in homes and attempting to identify them for appropriate control measures, understanding the scientific definition of insect is crucial for distinguishing true insects from other superficially-similar creatures requiring different...

Dec 11, 2025

Take back your home with pest control today.