It is not clear if peppermint oil repels spiders. It is not clear why spiders avoid essential oils like peppermint oil. One theory suggests that spiders dislike strong odors. They may avoid crawling on fragrant oils because they smell and taste the oil with their legs.