7 Science-Backed Companion Plants That Actually Repel Pests
Harness the power of nature and botanical chemistry to protect your garden organically.
French Marigold
Tagetes patula
French marigolds are a gardener's best friend due to their roots, which release alpha-terthienyl, a potent chemical compound that deters destructive root-knot nematodes in the soil. Additionally, their vibrant blooms emit a distinct aroma that confuses and repels airborne pests like whiteflies and tomato hornworms. Plant them densely around the perimeter of your tomato and pepper beds for maximum subterranean and surface protection. Ensure they receive full sun and well-drained soil to thrive.
Basil
Ocimum basilicum
Beyond adding incredible flavor to your culinary dishes, sweet basil acts as a powerful aromatic deterrent against thrips, hornworms, and aphids. Its strong volatile oils mask the scent of nearby crops, making it difficult for pests to locate their preferred host plants. Basil thrives in warm, sunny conditions and pairs exceptionally well with tomatoes, both in the kitchen and the garden. Regularly pinch off flower buds to encourage leafy growth and maximize volatile oil production.
Garlic
Allium sativum
Garlic functions as a potent natural systemic repellent thanks to high concentrations of sulfur-containing compounds like allicin. When planted near roses, fruit trees, and brassicas, its pungent odor deters aphids, Japanese beetles, and spider mites. Furthermore, underground fungal pathogens are often inhibited by its natural antimicrobial properties. Plant individual cloves in the autumn or early spring in loose, fertile soil, ensuring they get plenty of sunlight for robust bulb and foliage development.
Nasturtium
Tropaeolum majus
Nasturtiums act as a brilliant trap crop, willingly luring destructive pests like aphids, cabbage loopers, and squash bugs away from your prized vegetables. Both their leaves and flowers contain mustard oils that create a spicy taste deterring many insects, while simultaneously attracting predatory beneficial insects like parasitoid wasps and hoverflies. Plant them on the outer edges of your garden beds. They thrive in poor soils and actually produce more vibrant blooms when neglected.
Rosemary
Salvia rosmarinus
Rosemary is a woody, perennial herb featuring strong essential oils that naturally repel carrot rust flies, cabbage moths, and bean beetles. Its needle-like foliage and intense fragrance create an olfactory barrier that many common garden pests find utterly repulsive. Plant rosemary near the corners of your vegetable garden or alongside brassicas and root crops. It demands full sun, exceptional drainage, and minimal watering once established to prevent root rot.
Catnip
Nepeta cataria
While famous for driving felines wild, catnip contains a chemical compound called nepetalactone that has been scientifically proven to repel aphids, flea beetles, squash bugs, and Japanese beetles far more effectively than many commercial synthetic sprays. Interplanting catnip around your garden perimeter helps secure a pest-free zone. It is a resilient member of the mint family, so container planting is often recommended to prevent it from aggressively taking over surrounding garden beds.
Chrysanthemum
Chrysanthemum morifolium
Chrysanthemums contain natural chemical compounds known as pyrethrins, which attack the nervous systems of a wide variety of crawling and flying insects, including ants, ticks, spider mites, roaches, and aphids. Many commercial organic insecticides are derived directly from these remarkable flowers. Plant them strategically around patios and vegetable borders. They prefer bright, indirect sunlight and rich, moist soil, providing a colorful and functional barrier against unwanted garden invaders.