Homemade Fly Repellent: 5 Indoor and Outdoor Recipes (2026)
Keep flies out of your home and away from your patio with these 5 natural, chemical-free fly repellent recipes and traps.
Flies are the one pest that every homemade solution has a legitimate shot at controlling. Unlike mosquitoes or ticks (where commercial repellents are often necessary for safety), house flies and fruit flies respond strongly to scent-based deterrents.
These five recipes cover the main scenarios: indoor spray, outdoor patio protection, fruit fly traps, and yard-level deterrence.
Recipe 1: Peppermint & Eucalyptus Indoor Spray
Best for: House flies, kitchen flies Duration: 4-6 hours per application
Flies have an extraordinary sense of smell, approximately 10x more sensitive than humans. Peppermint and eucalyptus oils overwhelm their olfactory receptors, creating a zone they actively avoid.
Ingredients
- 15 drops peppermint essential oil
- 10 drops eucalyptus essential oil
- ½ cup white vinegar
- ½ cup water
- Spray bottle (glass preferred, essential oils can degrade plastic over time)
Directions
- Combine vinegar and water in the spray bottle.
- Add essential oils. Shake vigorously.
- Spray around doorframes, windowsills, and kitchen counters.
- Reapply every 4-6 hours or after cleaning surfaces.
Pro Tip
Add 5 drops of lemongrass oil for extra potency. Lemongrass contains citral, which has documented fly-repellent properties in agricultural settings.
Recipe 2: Apple Cider Vinegar Fruit Fly Trap
Best for: Fruit flies, drain flies Duration: Works continuously for 3-5 days
This isn’t a repellent, it’s an attractant trap. Fruit flies are drawn to the fermentation scent of apple cider vinegar, fly in, and can’t escape.
Ingredients
- ¼ cup apple cider vinegar
- 1 drop dish soap (breaks surface tension so flies sink)
- Small glass or jar
- Plastic wrap and rubber band
Directions
- Pour ACV into the glass. Add one drop of dish soap. Stir gently.
- Cover tightly with plastic wrap. Secure with rubber band.
- Poke 4-5 small holes in the plastic wrap with a toothpick (holes should be just big enough for a fruit fly).
- Place near the fruit bowl, compost bin, or wherever flies congregate.
- Replace every 3-5 days.
Why This Works
Fruit flies can detect acetic acid (vinegar) from across a room. They fly toward the source, enter through the holes, and can’t handle back out. The dish soap breaks the water tension so they can’t land on the surface, they sink and drown.
Recipe 3: Lavender & Citronella Outdoor Spray
Best for: Patio flies, outdoor dining, horse flies Duration: 1-3 hours per application
For outdoor use, you need a stronger concentration than indoor sprays. This recipe combines three fly-deterrent compounds: linalool (lavender), citronellol (citronella), and geraniol (lemongrass).
Ingredients
- 20 drops lavender essential oil
- 15 drops citronella essential oil
- 10 drops lemongrass essential oil
- 2 oz witch hazel
- 2 oz water
- 4 oz spray bottle
Directions
- Combine witch hazel and essential oils in the spray bottle.
- Add water. Shake well.
- Spray on tablecloths, chair cushions, and around the perimeter of the dining area.
- Reapply every 1-2 hours.
For Clothing
You can spray this directly on clothing (test for staining on an inconspicuous area first). The oils are safe for most fabrics but may leave light marks on white or very light clothing.
Recipe 4: Clove & Lemon Countertop Deterrent
Best for: Kitchen counter flies Duration: 12-24 hours
This is the laziest effective method. No spraying, no mixing, no bottles. Just a lemon and some cloves.
Ingredients
- 1 lemon, cut in half
- 20-30 whole cloves
Directions
- Push cloves into the flesh of each lemon half, pointy end in.
- Place halves on a small plate on the kitchen counter.
- Replace every 1-2 days when the lemon dries out.
Why This Works
Eugenol, the active compound in cloves, is a potent insect repellent. Combined with limonene from the lemon, this creates a concentrated aromatic zone that flies avoid. Studies published in the Journal of Agricultural and Food Chemistry confirmed eugenol’s repellent activity against multiple fly species.
Recipe 5: Herb Garden Window Treatment
Best for: Preventing flies from entering through windows Duration: Continuous (as long as plants are alive)
Certain herbs repel flies simply by growing. Placing them in windowsill pots creates a living barrier that flies avoid flying past.
Most Effective Fly-Repellent Herbs
- Basil, Contains estragole and linalool, both documented fly repellents
- Lavender, Scent overwhelms fly olfactory receptors
- Rosemary, Strong camphor content deters flies and mosquitoes
- Mint, Menthol concentration creates a repellent zone
- Lemongrass, Citral is among the most effective natural repellent compounds
Setup
- Plant 2-3 herb varieties in small pots on each windowsill
- Keep them healthy, stressed or dying plants produce less aromatic compounds
- Brush the leaves occasionally to release more scent into the air
Bonus: You get fresh cooking herbs year-round.
Effectiveness Comparison
| Method | Fly Type | Duration | Effectiveness | Effort |
|---|---|---|---|---|
| Peppermint spray | House fly | 4-6 hrs | ⭐⭐⭐⭐ | Quick spray |
| ACV trap | Fruit fly | 3-5 days | ⭐⭐⭐⭐⭐ | Set and forget |
| Outdoor spray | Patio fly | 1-3 hrs | ⭐⭐⭐ | Reapply often |
| Clove lemon | Kitchen fly | 12-24 hrs | ⭐⭐⭐½ | Zero effort |
| Herb garden | All flies | Continuous | ⭐⭐⭐ | Maintain plants |
When to Call an Exterminator
If you have a persistent fly problem that isn’t solved by traps, repellents, and sanitation, you may have a breeding source, typically:
- A dead animal in the wall (blow flies)
- A broken sewer vent (drain flies)
- Rotting organic matter under an appliance
These require professional treatment to locate and resolve the source. No repellent will solve a breeding-source problem, you’ll just keep making more flies than you can repel.
Related Recipes
- Homemade Mosquito Repellent: 5 DIY Recipes
- Essential Oil Insecticidal Soap Spray
- Garlic Pepper Soap Spray for Garden Pests
Our Rigorous Testing & Review Methodology
At homemadeinsecticidalsoap.com, we take our responsibility to our readers seriously. We believe that to provide the best possible recommendations, we must adhere to a strict, empirical testing methodology combined with extensive industry research.
How We Evaluate
Every product, guide, and informational piece featured on our platform undergoes a multi-step evaluation process:
- Initial Research & Sourcing: Our editorial team begins by scanning the market for the latest innovations, customer sentiment, and verified expert opinions. We actively avoid relying solely on manufacturer claims, choosing instead to cross-reference data with independent lab results and real-world user feedback from verified buyers.
- Hands-On Testing Protocol: Whenever possible, our dedicated experts physically test the products in real-world environments. This allows us to assess durability, ease of use, ergonomics, and long-term value. We put items through rigorous stress tests to uncover potential flaws that standard reviews often miss.
- Data-Driven Analysis: We compile our findings into a comprehensive matrix, scoring items across critical categories such as performance, affordability, aesthetic appeal, and customer support. This quantitative approach ensures our final recommendations are objective and unbiased.
- Continuous Monitoring: The market is always changing. We revisit our top picks and informational guides every 3 to 6 months to ensure that our advice remains current. If a previously recommended product drops in quality or a better alternative emerges, we promptly update our content.
Why You Can Trust Us
Our commitment to E-E-A-T (Experience, Expertise, Authoritativeness, and Trustworthiness) is the foundation of our editorial policy. We do not accept paid placements for our top recommendations. Our revenue is generated through transparent affiliate partnerships, meaning we only earn a commission if you make a purchase through our links—at no additional cost to you. This structure aligns our success directly with your satisfaction.
Our contributors include seasoned professionals, certified experts, and passionate enthusiasts who bring years of hands-on experience to their specialized topics. We mandate that all claims are backed by authoritative sources, which we link to whenever applicable.
If you ever have questions about our methodology or spot an inaccuracy, we encourage you to reach out via our Contact page. We are dedicated to continuous improvement and always welcome community feedback to refine our editorial standards.
Our Commitment to Transparency
Transparency is a core value in everything we publish. We disclose all affiliate relationships clearly at the top of our articles. If a brand sends us a product for free to review, we disclose that information within the review itself. However, accepting a free product never guarantees a positive review. Our allegiance is strictly to our readers. We regularly publish cautionary reviews for products that fail to meet our high standards, regardless of the brand’s industry standing or potential commission rates.
Frequency of Updates
We recognize that information becomes outdated quickly in today’s fast-paced digital world. Therefore, our team conducts quarterly audits of our most popular guides and reviews. During these audits, we check for discontinued products, price fluctuations, and emerging competitors. If a top-rated pick is surpassed by a newer model, we update the article and outline precisely why the change was made in an “Update Log” section. This dedication to freshness ensures that whenever you land on one of our pages, you are reading the most accurate and up-to-date information available.
✓ Certified Master Gardener (UC Davis Extension) with 12+ years of organic gardening experience. I test every recipe in my own half-acre homestead garden in Northern California before publishing. My goal is to help you protect your plants naturally — no harsh chemicals needed.
📚 Related Articles
guidesNatural Pesticides for Vegetable Gardens (2026)
Cornell research shows insecticidal soap kills up to 90% of aphids on contact. These 6 natural pesticides protect your vegetables without synthetic chemicals.
guidesInsecticidal Soap for Stink Bugs (2026)
Stink bugs damage tomatoes, peppers, and fruit while invading homes in fall. Learn whether insecticidal soap works on these shield-shaped pests and what does.
guidesInsecticidal Soap for Scale Insects (2026)
Scale insects look like bumps on stems rather than bugs. Their hard or waxy shells make them tricky to treat, but insecticidal soap works when applied at the right life stage.