The herbs pair poorly with basil are sage, thyme, common rue, and rosemary. Each of these wants growing conditions that clash with what basil needs. Putting them in the same bed forces you into a watering and soil compromise that hurts at least one plant.
The root of this basil herb incompatibility comes down to where these plants evolved. Sage, thyme, and rosemary all come from the hot, dry Mediterranean coast. They grew up in sandy, lean soil with very little rain. Basil comes from warm, tropical regions with rich soil and steady moisture. You can't fake both climates in a single garden bed no matter how hard you try.
Think of it like this. You wouldn't put a cactus and a fern in the same pot and expect both to be happy. The same logic applies to your herb garden. Dry-climate herbs want neglect and basil wants attention. When you force them together, one always suffers while the other does fine. You end up wasting time and money on plants that never reach their full size.
I tried this once in a 4-by-4-foot raised bed and it went wrong fast. I planted sage on one end and basil on the other, thinking the distance would help. Within a month the basil needed water every other day. The sage only wanted a drink once a week. I tried to split the difference and watered every three days. The sage got root rot and the basil stayed thirsty. I lost the sage by July.
Sage causes trouble beyond just water needs. Some research suggests it releases root chemicals that slow basil growth. I moved my basil into a bed with parsley the next season and it grew twice as tall with more leaves per plant. That was all the proof I needed to keep these two herbs apart for good.
Your list of herbs not to grow with basil should also include rue and fennel. Rue produces compounds that burn the leaves of nearby plants on contact. Fennel sends out root toxins that block growth of everything near it. Keep both of these at least 10 feet from your basil and any veggies you want to harvest.
Rue is one of the worst basil conflicting herbs because it poisons the ground around it. Even brushing against rue can irritate your skin. If you have rue in your garden, give it its own isolated corner where it won't touch anything else you grow.
The fix is simple once you know the rule. Set up two separate herb beds in your garden. Put sage, thyme, rosemary, and lavender in a dry bed with sandy soil and sharp drainage. Plant your basil, parsley, cilantro, and chives in a rich bed with compost and regular water. Each group gets what it wants and you stop losing plants to bad matches.
If you only have room for one bed, use containers instead. A 10-inch pot per herb lets you control the water for each plant on its own schedule. Your sage gets a drink once a week. Your basil gets watered every other day. Line the pots up together and they look like a single herb garden. This trick works great on patios, decks, and small balconies where your space is tight. You'll keep every herb happy without any of the conflicts that come from mixing them in shared soil.
Read the full article: Best Companion Plants for Basil