French marigolds are the most scientifically validated plant for repelling whiteflies, with research showing they release airborne compounds that actively push whiteflies away from nearby crops. Several other aromatic plants, including basil and nasturtiums, are also used as companion plants to deter these persistent pests. Here’s what works, why it works, and how to use these plants effectively in your garden.
French Marigolds: The Strongest Evidence
French marigolds (the compact, bushy variety sold at most garden centers) are the standout choice for whitefly control. A study published in PLOS One found that planting French marigolds alongside tomatoes effectively protected the crop from glasshouse whiteflies. The key is a citrus-scented compound called limonene that marigolds constantly release into the air from both their flowers and leaves. About 24% of the volatile output from marigold flowers is limonene, and the leaves aren’t far behind at 21%.
What makes this finding especially useful is that the protection isn’t subtle. When researchers tested limonene dispensers (essentially mimicking what marigolds do naturally) alongside a tomato crop during a heavy whitefly infestation, the protected plots produced 32% higher fruit yield than unprotected ones. The compound doesn’t just mask the smell of your tomatoes. It actively repels whiteflies, pushing them away from the area. Marigolds also release smaller amounts of other aromatic compounds like alpha-pinene, ocimene, and terpinolene, which may add to the overall deterrent effect.
Other Plants That Deter Whiteflies
Beyond marigolds, several other companion plants are used to keep whiteflies at bay:
- Basil: A classic companion for tomatoes, basil releases strong aromatic oils that interfere with whitefly host-seeking. Planting it between tomato plants pulls double duty, since you’re growing a useful herb while also creating a less inviting environment for pests.
- Nasturtiums: These are commonly planted near tomatoes, squash, and cucumbers to deter whiteflies, aphids, and cucumber beetles. Nasturtiums are edible, fast-growing, and tolerate poor soil, making them an easy addition to most gardens.
Many strongly scented herbs in the mint family, including peppermint, lavender, and catnip, are also cited by gardeners as whitefly deterrents. The logic is sound: whiteflies rely heavily on scent to locate their preferred host plants, and strong, unfamiliar aromas interfere with that process. But the scientific evidence behind these is thinner than what exists for French marigolds.
How Whiteflies Find Your Plants
Understanding what draws whiteflies in helps explain why repellent plants work. Whiteflies are highly sensitive to their olfactory environment. They detect the specific blend of volatile chemicals a plant releases and use that scent profile to decide whether it’s a suitable host. Tomatoes, peppers, squash, and many ornamentals give off signals that whiteflies recognize as “food here.”
Repellent companion plants work by flooding the air around your crops with competing scents. When a French marigold pumps out limonene, it essentially jams the signal whiteflies rely on to navigate toward your tomatoes. The whiteflies don’t land less because they dislike the smell exactly. Their ability to identify and zero in on a host plant is disrupted.
The Trap Crop Approach
Repelling whiteflies is one strategy. Another is pulling them toward a sacrificial plant instead. This is called trap cropping, and it works as a complement to repellent planting. Eggplant is one of the most studied trap crops for whiteflies, particularly in systems growing tomatoes or cucumbers. Whiteflies find eggplant highly attractive, sometimes preferring it to the crop you’re actually trying to protect.
The most effective setups combine both strategies: repellent plants close to your valuable crops pushing whiteflies away, and a trap crop on the perimeter pulling them toward something you don’t mind losing. Researchers call this a “push-pull” system. You can manage the trap crop by removing heavily infested leaves or spraying only the trap plant, keeping pesticide use off your food crops entirely.
Placement Tips for Best Results
Simply having a marigold somewhere in the garden isn’t enough. The repellent effect depends on volatile compounds drifting through the air around your vulnerable plants, so proximity matters. Interplanting, where you place companion plants directly between or alongside your crop rows, is more effective than planting a border several feet away. The closer the repellent plant is to the crop, the higher the local concentration of deterrent compounds in the air.
A few practical guidelines to keep in mind:
- Plant density: One marigold at the end of a 10-foot row won’t do much. Aim to intersperse companion plants throughout the bed, roughly one for every two or three crop plants.
- Start early: Get your marigolds or basil established before whitefly season peaks. The plants need time to grow large enough to produce meaningful amounts of volatile compounds.
- Use multiple species: Combining French marigolds with basil or nasturtiums creates a more complex scent environment, making it harder for whiteflies to locate hosts.
- Consider airflow: In greenhouses or enclosed spaces, repellent volatiles concentrate more effectively. In open gardens with heavy wind, you may need denser planting to compensate for scent dispersal.
Limits of Companion Planting Alone
Companion planting is a genuine tool, not just garden folklore, but it has real limits. One concern researchers have flagged is habituation: over time, whiteflies may get used to a constant presence of limonene or other repellent compounds and begin ignoring them. This effect has been documented in other pest-plant systems, where insects initially deterred by a non-host volatile eventually resumed normal feeding and egg-laying behavior.
For light to moderate infestations, companion planting with French marigolds, basil, and nasturtiums can meaningfully reduce whitefly pressure on your crops. For heavy infestations, you’ll likely need to combine companion planting with other approaches: yellow sticky traps to catch adults, a strong spray of water to knock nymphs off leaf undersides, or introducing natural predators like lacewings and ladybugs. The 32% yield improvement seen in research trials came during a heavy infestation, which suggests companion planting contributes even in tough conditions, but it works best as one layer in a broader strategy rather than a standalone fix.

