Spider-repellent plants include houseplants and outdoor plants grown in containers or outdoor beds.

Spider-deterrent plants are most effective in critical locations near doors, windows, and other entryways.

Here is a list of plants that repel spiders.

Basil plant with bright green leaves an purple flower stems in sunlight

The Spruce / Evgeniya Vlasova

Basil is a cold-sensitiveherb that can be grown indoorsas a perennial during cool months.

Tip

Unless otherwise noted, these watering instructions are for plants growing in garden soil.

If grown in containers outdoors, plants need morefrequent and deep wateringdue to direct sun exposure and increased evaporation.

Basil plant with small leaf blooms clumped together

The Spruce / Evgeniya Vlasova

Lavender

If you use lavender (Lavandulaspp.

)primarily to repel spiders, chooseEnglish lavenderbecause it has the strongest scent of all lavender varieties.

Lavenders are perennials, but they must be overwintered indoors in cooler climates.

Lavender stems with purple flower spikes in garden

The Spruce / Evgeniya Vlasova

Lavender can be toxic to pets like dogs and cats.

Mint

Peppermint is the cold-hardiest of all mints (Menthaspp.)

and has the strongest scent, so its best suited to repel spiders.

Mint plant stems with variegated leaves growing in sunlight

The Spruce / Evgeniya Vlasova

Note that mint is toxic to pets when ingested.

But if you give it plenty of light, you cangrow rosemary exclusively indoorsyear-round.

Lemon balm (Melissa officinalis) needs plenty of sunlight to do well indoors.

Rosemary shrubs with small purple and white flowers

The Spruce / Evgeniya Vlasova

Placing mums around your entrance door is pretty and works against spiders.

Chrysanthemums can be toxic to pets.

The blades' lemon scentdeters spiders, mosquitoes, and other insects.

Lemon balm plant with small veined leaves closeup

The Spruce / Evgeniya Vlasova

The plant is a perennial, native to Argentina and Chile, that needs indoor overwintering in cold climates.

Lemon verbena is toxic to animals, such as dogs, cats, and horses.

Chives

A low-maintenance perennial herb whose onion scent works as a spider repellent.

Chrysanthemum flowers with frilly pink petals and yellow centers

The Spruce / Evgeniya Vlasova

Catnip

A hardy perennial that grows and spreads fast.

For better control, catnip (Nepeta cataria)is oftengrown in containers, either outdoors or indoors.

If the plant gets unruly as a houseplant, start with a new seedling.

Citronella grass

Citronella grassKcris Ramos / Getty Images

Many cats love catnip, but it is toxic to them.

It can make some cats sedate while stimulating others.

Marigolds

The strong scent of marigolds (Tagetesspp.)

Lemon verbena plant with spear-shaped leaves and tiny white flower buds on thin stem closeup

The Spruce / Randi Rhoades

Marigolds are grown as annuals in all hardiness zones.

When grown indoors as a houseplant, eucalyptus (Eucalyptus cinerea)grows to only 6 to 10 feet.

Spiders in Your Yard

Not all spiders are nuisances; it depends on where you encounter them.

Sage plant with oval leaves clustered in sunlight

The Spruce / Evgeniya Vlasova

Take the necessary steps tokeep them out of your home, but give them leeway outdoors.

Beneficial spiders in your yard include orb weavers, jumping spiders, and sac spiders.

The most effective way to keep spiders away from the patio is to make it unattractive to them.

Dill plant with feathery green and silver-colored plumes

The Spruce / Evgeniya Vlasova

Remove woodpiles, debris, hidden crevices, and plant overgrowth.

Keep the patio clean with regular sweeping and vacuuming.

Use strong-scented essential oils, such as cedar and citronella, and discourage their appearance with ample lighting.

Chives plant with light purple flowers and buds on thin stems

The Spruce / Evgeniya Vlasova

Protect yourself from poisonous plants.

Centers for Disease Control.

Eucalyptus leaves: more than a delicacy for koalas.Office for Science and Society, McGill University.

Catnip plant with light purple flower spikes

The Spruce / Evgeniya Vlasova

Marigold plant with yellow pom pom-like flowers and buds surrounded with leaves

The Spruce / Evgeniya Vlasova

Eucalyptus branches with silvery-green leaves in sunlight

The Spruce / Evgeniya Vlasova