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.

Curated articles for you, from our pest experts.

A Modern Living Room With A Large Flat-Screen Tv Displaying A Space-Themed Image, Set On A Wooden Media Console. To The Left, A Tall Wooden Bookshelf Is Filled With Colorful Books, Wine Bottles, And Decor. A Potted Green Palm Plant Stands Beside The Shelf, And A Closed Wooden Door Is On The Right. The Space Has A Clean, Organized Look With A Tiled Floor And Minimal Clutter.

Why Do Bugs Gather Around My TV or Monitor?

You settle in for an evening of television when movement near the screen catches your attention—several small insects crawling across the display and others hovering in the glow of your mounted TV. Despite maintaining a clean living room and rarely eating near your...

Sep 12, 2025
A Close-Up Image Of A Silverfish Insect On A Gray Stone Surface.

What Kind of Bugs Eat Clothes in Closets?

You reach for your favorite cashmere sweater to prepare for the season's first cold snap, only to discover a collection of small, irregular holes scattered across the front panel. The damage wasn't there when you carefully folded and stored the garment months ago,...

Sep 2, 2025
A Metallic Green And Gold Beetle Perched On A Green Leaf, With A Shiny Exoskeleton And Blurred Leafy Background.

How Do Insects Breathe Without Lungs?

Insects are among the most diverse and adaptable creatures on Earth, and understanding how insects breathe reveals a great deal about their biology and survival. Unlike mammals, they do not rely on lungs to deliver oxygen to tissues. Instead, they use a specialized...

Sep 2, 2025
A Modern Apartment Lounge With White Sofas, Decorative Crystal Floor Lamps, And A Mirrored Side Table, Set Against A Brick Accent Wall With Large Windows Overlooking Tall Buildings.

How Do Bugs Get into a Closed Apartment?

You maintain meticulous cleanliness in your third-floor apartment, keep windows sealed, store food in airtight containers, and ensure your entry door locks securely each evening. Despite these precautions, you continue discovering unwelcome visitors—a cockroach...

Aug 28, 2025
Four Outdoor Garbage Bins In Blue, Brown, Gray, And Green Placed Side By Side, Marked With The Number 23. The Bins Are Against A Red Wooden Fence With Gardening Tools Resting Inside One Of The Bins.

What Happens When You Skip Taking the Trash Out

You're rushing out the door for work when you notice the kitchen trash bag bulging slightly over the rim. "I'll take it out tonight," you tell yourself, already running late for an important meeting. By evening, you've forgotten completely, and the bag sits...

Jul 11, 2025
A Close-Up Image Of A Brilliant Metallic Green Damselfly Perched On A Stalk Of Dry Grass. The Insect'S Slender Body, Dark Translucent Wings With Visible Venation, And Large Compound Eyes Are Sharply Focused Against A Softly Blurred Green Background.

Do Dragonflies Sting?

If you've encountered dragonflies around water sources or in your garden, you might wonder whether these large, fast-flying insects pose any threat to humans. With their impressive size, powerful flight capabilities, and predatory nature, dragonflies can appear...

Jul 7, 2025
A Woman With Glasses Is Organizing Jars Of Dry Goods And Preserves On Wooden Shelves In A Bright, Sunlit Kitchen.

5 Things in Your Pantry That Attract Insects

You might clean your kitchen counters religiously every night, take out trash regularly, and sweep floors until they sparkle. However, if you're not carefully monitoring your pantry storage areas, you could be overlooking one of the most significant vulnerabilities...

Jun 30, 2025
A Close-Up Image Of A Large, Colorful Caterpillar—Possibly An Acherontia Or Related Species—Clinging To The Underside Of A Green Stem. The Caterpillar Features Black And Yellow Striping Along Its Body, Red-Orange Eye Spots, And Long White Hairs.

Why Do Some Bugs Play Dead?

Have you ever touched an insect only to watch it suddenly freeze, roll onto its back, and appear completely lifeless? This behavior, known as thanatosis or death-feigning, is a fascinating survival strategy employed by various insects and other arthropods. While it...

May 22, 2025
A Detailed Image Of A Minimalist Bedroom With Wooden Furniture, Including A Bed Frame, Dresser, And Bench. A Potted Green Plant Sits On A Small Wooden Stool Beside A White Wall, With Soft Natural Light Coming Through A Window With Beige Curtains.

What Are Those Tiny Holes in Your Wooden Furniture?

If you've noticed small, round holes appearing in your wooden furniture, you might be dealing with wood-boring pests. These tiny openings aren't just cosmetic damage—they often indicate that pests have already been active inside the wood, potentially causing...

Mar 17, 2025
A Detailed Image Of A White-Framed Window With Slightly Foggy Glass Panes, Overlooking A Green Outdoor Landscape. The Windowsill Holds A White Porcelain Teapot In The Center, Flanked By Two White Vases Filled With Artificial Flowers And Greenery.

What Are the Tiny White Bugs on Your Windowsill?

If you've noticed tiny white bugs gathering on your windowsills, you're not alone. These small pests, often mites or similar insects, are a common sight in many homes. While they might seem harmless, their presence usually indicates specific conditions in your home...

Mar 17, 2025

Take back your home with pest control today.