Peppermint and spearmint oils have strong scents that spiders find unpleasant and are known to deter spiders from entering a space. Tea tree oil is a natural insecticide and has antimicrobial properties that can help repel spiders.
eBay