Marigolds, nasturtiums, as well as basil, are all plants that repel whiteflies.