DIY Pest Repellent: Make Your Own Bug Spray
In this article
Make your own pest repellent with a few pantry staples and essential oils. For a basic all-purpose spray, mix 1 cup (240 ml) water, 1 cup (240 ml) white vinegar, and 20 drops of peppermint or eucalyptus oil in a spray bottle; shake well and spray around doors, windows, and baseboards. This works for ants, spiders, and many crawling insects, but it won't stop mosquitoes or roaches—those need different ingredients (see below).
Choose the Right Repellent for the Pest
The first step is knowing what you're fighting. A vinegar-and-peppermint spray repels ants, spiders, and some beetles because the strong scent disrupts their trails. For mosquitoes, you need a repellent that masks your skin's carbon dioxide and lactic acid—that's where essential oils like citronella, lemongrass, or eucalyptus come in. Roaches and bed bugs are tougher; they often need a professional-grade treatment, not a DIY spray.
Here's a quick guide:
- Ants: Wipe counters with a 50/50 vinegar-water solution, then spray peppermint oil along entry points.
- Spiders: A vinegar spray with a few drops of eucalyptus or tea tree oil works as a deterrent on windowsills and corners.
- Mosquitoes: Use a body-safe repellent with 10-30% picaridin or DEET for outdoor time; DIY sprays are less reliable but can help for short periods.
- Flies: A spray of water, vinegar, and a drop of dish soap can kill flies on contact.
Mix a Basic All-Purpose Spray
This is the spray you'll use most often. It's safe for most surfaces (test on a hidden spot first) and smells better than straight vinegar.
Ingredients:
- 1 cup (240 ml) water
- 1 cup (240 ml) white vinegar
- 20 drops peppermint or eucalyptus essential oil
- A spray bottle (16 oz / 480 ml works well)
Steps:
- Combine water and vinegar in the spray bottle.
- Add the essential oil drops. Shake well before each use.
- Spray along baseboards, door frames, window sills, and cracks. Reapply every few days or after cleaning.
This spray works by leaving a scent trail that confuses ants and repels spiders. It won't kill insects, so it's a deterrent, not a pesticide.
Make a Mosquito Repellent That Actually Works
For mosquitoes, you need something that masks your skin's attractants. A spray with 10% picaridin or 20-30% DEET is proven to work for hours, but if you prefer a DIY option, use a blend of essential oils known to repel mosquitoes: citronella, lemongrass, eucalyptus, and lavender.
DIY Mosquito Spray:
- 1/2 cup (120 ml) witch hazel or rubbing alcohol
- 1/2 cup (120 ml) water
- 30 drops total of citronella, lemongrass, and eucalyptus essential oils
Mix in a spray bottle, shake well, and spray on clothing and exposed skin (avoid eyes and mouth). Reapply every 1-2 hours, especially if you're sweating. This is less effective than DEET, so for long evenings outdoors, consider a commercial repellent.
Important: Essential oils can irritate sensitive skin. Do a patch test on your inner arm before using. For children under 3, avoid essential oils on skin; use a fan or protective clothing instead.
Keep Pests Out With Barriers and Traps
Sprays only work if you also close the doors. Caulk cracks around windows and pipes, install door sweeps, and keep food in sealed containers. For fruit flies, make a trap: fill a small jar with apple cider vinegar, add a drop of dish soap, and cover with plastic wrap poked with holes. The flies go in but can't get out.
For ants, wipe up trails with soapy water to remove the pheromone scent, then spray your vinegar mix along the entry point. For spiders, reduce clutter and vacuum regularly to remove webs and egg sacs.
Where DIY Repellents Fail (and What to Do Instead)
DIY sprays won't handle a full infestation. If you see roaches during the day, bed bugs, or termites, call a licensed pest control professional—these pests need targeted treatments that are unsafe to DIY. Also, never mix bleach with vinegar or other cleaners; the fumes are toxic. Always ventilate the area when spraying and keep pets away from treated surfaces until dry.
Another common mistake is expecting a spray to work on all pests. For example, a peppermint spray won't repel mosquitoes, and a citronella candle won't stop ants. Match the repellent to the pest, and reapply regularly because the scent fades.
Pest Repellents for Kids and Pets
If you have children or pets, choose ingredients that are safe around them. Essential oils like peppermint and eucalyptus are toxic to cats and dogs if ingested or absorbed through skin. Keep sprays out of reach and avoid spraying on pet bedding. For a pet-safe option, use plain vinegar water (no essential oils) around baseboards, and keep pets away until dry. If a pet shows signs of poisoning (drooling, vomiting, tremors), call your veterinarian immediately.
DIY Repellents for Large Areas and Outdoor Spaces
For patios and porches, make a larger batch: 2 cups (480 ml) water, 2 cups (480 ml) vinegar, and 40 drops of citronella or eucalyptus oil in a garden sprayer. Spray around the perimeter, but avoid spraying directly on plants—vinegar can kill them. For a natural mosquito repellent for your yard, remove standing water (buckets, plant saucers) and keep grass short. Citronella candles work for a small area, but they're not as effective as a fan or a commercial repellent.
If you're dealing with a specific pest and this guide didn't cover it, try searching for that pest by name (e.g., "DIY ant repellent" or "DIY fly spray")—the right recipe depends on the pest's habits.