Yes, essential oils, including peppermint, geranium, and cloves, are effective deterrents. Soak cotton balls in essential oils and place them in shallow trays around the garden or in planters. It can be used as an effective deterrent. However, it has to be kept away from pets and children.