Marigolds repel common tomato pests, particularly spider mites and whiteflies, while also attracting beneficial insects that prey on harmful ones

Marigolds are planted alongside tomatoes because they produce a scent that deters several insects that damage tomato plants. The most significant benefit is their effect on spider mites and whiteflies—two pests that feed on tomato leaves and can spread disease. The smell comes from compounds in the marigold's leaves and flowers, which many garden pests find unpleasant enough to avoid the area entirely.

Beyond repelling pests, marigolds also attract beneficial insects like ladybugs and parasitic wasps. These insects feed on the pests that harm tomatoes, creating a natural pest control system within your garden bed. This combination—pushing away the bad insects while inviting the good ones—is why marigolds have been a standard tomato companion for generations.

Key Takeaways

  • Marigold scent repels spider mites and whiteflies, two of the most common tomato pests.
  • Marigolds attract beneficial insects like ladybugs and parasitic wasps that eat tomato pests.
  • Plant marigolds within a few feet of tomato plants for the scent to be effective.
  • Marigolds also help suppress certain soil-borne fungi that can cause tomato root problems.
  • The pest-control benefit works best when marigolds are healthy and flowering throughout the growing season.

How marigold scent actually deters pests

Marigolds contain natural oils and compounds—particularly thiophenes and other volatile organic compounds—that create a smell many insects find repellent. Spider mites, whiteflies, and some aphids detect this scent and tend to move to plants that smell more appealing to them. The effect is not when ready; it builds as the marigold plant grows and produces more flowers and foliage.

The strength of this deterrent depends on how healthy the marigold is and how close it grows to the tomato. A single marigold planted far away will have minimal effect. A cluster of marigolds planted within two to three feet of your tomato plants creates a stronger scent barrier. The benefit increases as the marigolds mature and flower more heavily.

Which pests marigolds actually stop, and which they don't

Marigolds are most effective against spider mites, whiteflies, and some species of aphids. These pests are sensitive to the plant's scent and will often choose to feed elsewhere. Gardeners report noticeably fewer of these insects on tomatoes surrounded by healthy marigolds compared to tomatoes planted alone.

However, marigolds do not reliably deter all tomato pests. Hornworms, for example, are large caterpillars that feed on tomato foliage and are not bothered by marigold scent. Fusarium and verticillium wilts—fungal diseases that attack tomato roots—are also not prevented by marigolds, though some research suggests marigolds may suppress certain soil fungi. If you have had problems with hornworms or fungal diseases in the past, marigolds alone will not solve those problems.

The role of beneficial insects attracted to marigolds

Marigolds flower over a long season and produce nectar and pollen that attract ladybugs, parasitic wasps, and hoverflies. These insects are natural predators of spider mites, whiteflies, aphids, and other soft-bodied pests. By planting marigolds nearby, you are essentially creating a food source that keeps these beneficial insects in your garden bed, where they can hunt the pests that harm your tomatoes.

This is a slower form of pest control than the repellent effect of the marigold's scent. It works over weeks rather than days. But it is also more reliable for long-term pest management, because the beneficial insects stay in the area as long as the marigolds are flowering and providing food.

How to plant marigolds with tomatoes for best results

Plant marigolds within two to three feet of your tomato plants, either in the same bed or in adjacent rows. Space the marigolds close enough that their scent surrounds the tomato area but not so close that they compete heavily for water and nutrients. A common pattern is to plant one or two marigolds for every tomato plant, or to create a border of marigolds around the tomato bed.

Marigolds prefer full sun and well-draining soil, much like tomatoes, so they thrive in the same conditions. Water them when the soil surface feels dry to the touch. Deadhead spent flowers—pinch off the old blooms—to encourage more flowering throughout the season. The more flowers the marigold produces, the more beneficial insects it attracts and the stronger the scent barrier becomes.

Plant marigolds at the same time you plant tomatoes, or even a week or two earlier so they are established and flowering by the time the tomatoes are in the ground. This gives the marigolds a head start in repelling early-season pests.

Other companion plants that work similarly with tomatoes

Marigolds are not the only plant that repels tomato pests or attracts beneficial insects. Basil is another common companion that repels some insects and improves tomato flavor when planted nearby. Nasturtiums act as a trap crop—pests prefer them to tomatoes, so they draw insects away. Borage and alyssum attract beneficial insects much like marigolds do.

Many gardeners plant a combination of these companions rather than relying on marigolds alone. This layered approach—combining scent repellents, trap crops, and beneficial insect attractors—provides more consistent pest control than any single plant can offer.

When marigolds alone are not enough

Marigolds reduce pest pressure, but they do not eliminate it entirely. In years with heavy pest populations, or if you have had serious infestations in the past, marigolds should be part of a larger pest management plan rather than your only defense. This might include removing affected leaves by hand, using insecticidal soap for severe infestations, or rotating where you plant tomatoes each year to break pest cycles.

If your tomatoes develop yellow leaves, spots, or wilting despite marigolds being present, the problem may be a disease rather than a pest. Fungal and bacterial diseases are not prevented by companion planting and require different management—usually removing affected plants or improving air circulation around the tomato bed.

Frequently Asked Questions

Do marigolds actually work, or is companion planting just folklore?

Marigolds do reduce spider mite and whitefly populations in real gardens, though the effect is modest rather than dramatic. Research supports that marigold scent deters these pests and that marigolds attract beneficial insects. However, the benefit depends on the marigolds being healthy and flowering, and on pest pressure not being extremely high. They work best as part of a broader pest management approach.

Can I plant marigolds in pots next to tomato containers?

Yes. Potted marigolds work just as well as in-ground ones, as long as they are close enough to the tomato pot that their scent surrounds it. Keep the marigold pot in the same sunlight as the tomato and water it regularly, since container plants dry out faster than garden soil.

What if I plant marigolds but still get spider mites?

Spider mites can still appear even with marigolds present, especially in hot, dry weather. If you see fine webbing on tomato leaves or tiny moving dots, spray the affected leaves with a strong stream of water to knock the mites off, or use insecticidal soap. Marigolds reduce the likelihood of infestation but do not may provide prevention.

Do I need to deadhead marigolds for them to work?

Deadheading—removing spent flowers—encourages the plant to produce more blooms, which increases the scent and attracts more beneficial insects. Marigolds that are not deadheaded will still provide some benefit, but they will flower less heavily as the season goes on.

Can I eat the marigolds I plant with tomatoes?

Ornamental marigolds (the common garden variety) are not poisonous, but they are not typically grown for eating. Some varieties of calendula marigold are edible and used in cooking, but they are less common in vegetable gardens. Check the seed packet to confirm the variety before eating any marigold flowers.