Not only does peppermint oil repel ants, it also repels spiders. In fact, peppermint keeps most pests away, including aphids, beetles, caterpillars, fleas, flies, lice, mice and moths.