Tired of bugs invading your home or garden? You’re not alone—and you don’t need a cabinet full of chemicals to fight back. From sneaky ants in the kitchen to slugs chewing through your lettuce, pests can be a real nuisance. But here’s the good news: some of the most effective pest solutions are already in your pantry or fridge.
In this article, we’ll walk through 20 smart, natural pest control hacks that are simple to make, safe to use, and surprisingly powerful. Whether you’re a seasoned gardener or just trying to keep your countertops clear, these DIY remedies will help you reclaim your space—naturally.
1. Garlic Spray for Aphids & Caterpillars
Garlic isn’t just for warding off vampires—it’s a powerhouse in the garden too. The strong smell confuses pests by masking your plant’s natural scent, making it harder for them to locate their next snack.
To make it, blend 2–3 cloves of garlic with 2 cups of water. Let it sit overnight, strain, and pour into a spray bottle. You can spray it directly onto the leaves, especially where you see aphids or caterpillars hanging out.
Tip: I’ve found it helps to spray in the early morning or late afternoon so the leaves don’t burn in the sun. And yes, your garden might smell like an Italian kitchen for a bit, but it’s worth it.
2. Chili Pepper Spray for Ants & Beetles
Red chili flakes aren’t just great on pizza—they can also repel ants and beetles. Boil 2 tablespoons in 1 cup of water for 10 minutes, cool it down, strain it, and pour it into a spray bottle.
This works best along ant trails or on leaves that beetles have been chewing. Be careful not to spray this on windy days—it can irritate eyes and skin.
Tip: I wear gloves when making and using this spray. One time, I forgot and rubbed my eye afterward—let’s just say I didn’t forget again.
3. Banana Peel Trap for Aphids
This one is almost too simple: chop banana peels and bury them just under the soil near your plants. Aphids don’t like the potassium, and the peels enrich the soil as they break down.
It’s a quiet, behind-the-scenes solution, but it really works. Plus, it’s a nice way to use kitchen scraps.
Tip: I usually cut the peels into small squares and scatter them near the base of roses and tomato plants. I’ve seen a noticeable drop in aphids over a few days.
4. Coffee Grounds Barrier for Slugs & Cats
Used coffee grounds make an excellent barrier around plants. Slugs hate the texture, and cats don’t love the smell, which makes this a double win.
Just sprinkle a ring around the base of your plants. Not only does it deter pests, but it can also improve your soil slightly as it breaks down.
Tip: I collect used coffee grounds in a container throughout the week. Just make sure they’re dry before sprinkling—wet clumps can get moldy.
5. Dish Soap & Water Spray for Whiteflies
If whiteflies or mites are causing chaos, this simple mix can help. Combine 1 teaspoon of mild dish soap with 1 liter of water, shake it up, and spray directly on the pests.
The soap breaks down their protective coating and makes it harder for them to survive. It’s surprisingly satisfying to watch them disappear.
Tip: Don’t go overboard—too much soap can hurt your plants. I usually test a small area first before spraying everything.
6. Lemon Peel Spray for Mosquitoes & Ants
If you’ve ever sat on your porch in the evening only to be swarmed by mosquitoes or invaded by ants, this simple citrus spray can help. Simmer lemon peels in a cup of water for about 10 minutes, let it cool, strain, and pour into a spray bottle.
The oils in the lemon peel act as a natural repellent. Just spray around windowsills, doors, or patio furniture. It smells fresh, too.
Tip: I keep a small spray bottle near the front door in the summer. It’s a great alternative to chemical repellents, especially around kids or pets.
7. Salt Barrier for Slugs & Snails
Slugs and snails may be slow, but they can do serious damage overnight. A simple line of table salt around pots or garden beds can stop them in their tracks.
Salt draws moisture from their bodies, which they instinctively avoid—so they won’t even try to cross it.
Tip: I use salt sparingly and only where rain won’t wash it into the soil, since too much salt can harm plants. Around the base of my raised beds works well.
8. Onion Water Spray for Insects
Not a fan of chopping onions? Your garden pests aren’t either. Chop up an onion, soak it in water overnight, and then strain it into a spray bottle.
This spray repels soft-bodied pests like aphids and beetles, and it doesn’t hurt the plants. Plus, it’s a great way to use up onions that are starting to go soft.
Tip: I usually make a batch after prepping dinner—toss the leftover onion ends into a jar and let it sit overnight. The smell isn’t pleasant, but the bugs hate it even more than I do.
9. Rice Jar Trap for Fruit Flies
Fruit flies in the kitchen or garden? Try this: put a tablespoon of cooked rice in a jar, cover it tightly with plastic wrap, and poke a few holes in the top.
As the rice ferments, it gives off a scent that attracts fruit flies. Once they crawl in, they can’t get back out.
Tip: I discovered this trick during a summer heatwave when fruit flies showed up out of nowhere. It worked within hours—and it was oddly satisfying to check the jar and see it full of tiny freeloaders.
10. Basil Plants to Repel Flies & Mosquitoes
Basil isn’t just for pasta. Its strong aroma naturally deters flies, mosquitoes, and even some caterpillars like tomato hornworms.
Plant it near windows, doors, or the corners of your garden for a beautiful and functional border.
Tip: I keep a couple of basil pots right by the kitchen window. It’s a win-win—I get fewer bugs inside, and I always have fresh basil when I’m cooking.
11. Cucumber Slices for Cockroaches
Cockroaches are persistent little pests, but surprisingly, a few slices of cucumber can help keep them at bay. Fresh cucumber, especially in contact with aluminum or placed in tight corners, gives off a bitter smell that cockroaches really don’t like.
Try placing cucumber slices or peels under the sink, behind the fridge, or wherever you’ve seen them scurrying.
Tip: I first tried this under my kitchen sink when I noticed droppings, and within a couple of days, the roaches had vanished. Just be sure to replace the slices every day or two to keep the scent strong.
12. Apple Cider Vinegar Trap for Fruit Flies
Fruit flies seem to appear out of nowhere, especially when you’ve got ripe produce on the counter. A bowl of apple cider vinegar with a drop of dish soap is one of the easiest and most effective traps you can make.
The vinegar draws them in, while the soap breaks the surface tension so they sink and don’t escape.
Tip: I usually leave one of these bowls near my fruit basket during summer. If you cover it with plastic wrap and poke tiny holes, it works even better and avoids that vinegary smell spreading too much.
13. Diatomaceous Earth for Crawling Insects
This fine powder might look harmless, but it’s a nightmare for ants, fleas, and other crawling insects. Diatomaceous earth (make sure it’s food-grade) works by drying out their exoskeletons, killing them without toxins.
You can sprinkle it along baseboards, behind appliances, or around the base of plants in your garden.
Tip: I use it around my back door and near pet bowls to keep ants from sneaking in. Just don’t use it when it’s windy—it’s a fine powder and can get messy fast.
14. Lemon Juice to Deter Ant Trails
Ants don’t just wander aimlessly—they follow scent trails. Lemon juice can mess with those trails and make your home far less appealing to them.
Squeeze lemon juice along entry points, windowsills, and anywhere you’ve seen them march in.
Tip: I like to keep a small spray bottle of lemon juice and water on hand. I’ll wipe down the kitchen counters with it, and it helps keep things smelling fresh while keeping the ants away.
15. Bay Leaves to Repel Pantry Pests
Ever opened a bag of flour and found tiny bugs inside? Pantry pests like weevils and moths are more common than you think. Luckily, they hate the smell of bay leaves.
Tuck a few dried bay leaves into food containers or tape one inside your pantry corners.
Tip: I now keep bay leaves in every container of rice, oats, and flour. Haven’t seen a pantry pest in years—and it’s the easiest fix ever.
16. Marigolds to Repel Garden Pests
Marigolds aren’t just cheerful and colorful—they’re also a natural pest repellent. Their strong, distinctive scent keeps away a wide range of garden troublemakers like aphids, mosquitoes, nematodes, and even rabbits.
Plant them around the edges of your garden beds or near particularly vulnerable plants.
Tip: I started using marigolds around my tomato plants a few summers ago, and the drop in pests was noticeable. Plus, they add a beautiful pop of color to the garden.
17. Essential Oil Spray for Ants & Spiders
Certain essential oils, like peppermint and tea tree, are more than just pleasant-smelling—they’re also excellent for repelling ants, spiders, and other crawling insects.
Just mix 10 drops of your chosen oil with 1 cup of water and a dash of dish soap in a spray bottle. Spray along windows, doors, and baseboards where bugs tend to sneak in.
Tip: I love using peppermint—it leaves the room smelling fresh. I spray it lightly around the front door every couple of days and haven’t seen an ant line since.
18. Beer Trap for Slugs
It turns out slugs can’t resist the smell of beer. Bury a shallow container—like a jar lid or small dish—so that the rim is level with the soil, then fill it with beer.
The slugs are drawn in, fall into the dish, and don’t make it back out.
Tip: I use the cheapest beer I can find and place a few traps around my lettuce and hostas. It’s surprisingly effective—just be prepared to empty and refresh the traps every day or two.
19. Garlic & Chili Oil Spray for Leaf-Eating Bugs
When beetles and caterpillars start chewing through your plants, this spicy spray can come to the rescue. Soak crushed garlic and chili flakes in vegetable oil overnight. The next day, strain it and dilute with water before spraying on your plants.
It’s strong-smelling, so pests stay away, and it doesn’t harm the plants.
Tip: I recommend testing this spray on a small leaf first—some sensitive plants might react. And wear gloves—trust me, the chili oil lingers on your skin!
20. Baking Soda & Sugar Mix for Roaches
Roaches are sneaky, but they’ve got a sweet tooth. This homemade mix is a clever trap: sugar lures them in, and baking soda does the rest by reacting inside their digestive system.
Mix equal parts baking soda and sugar, then place small amounts in shallow lids or bottle caps where you’ve seen roaches.
Tip: I hide these traps under the fridge and near garbage bins. It’s a simple trick I learned from my grandmother, and it still works like a charm today.
Final Thoughts
Whether you’re protecting your garden, kitchen, or backyard, these natural pest solutions can make a real difference—without exposing your home to harsh chemicals. The best part? Most of these remedies use things you already have on hand.
Try a few and see what works best in your space. And if this list helped you out, pass it along to someone else who might be fighting the same battles. Sometimes the simplest tricks are the most effective.