Their sense of smells is ants’ greatest strength, but also their greatest weakness. Any strong scent such as cinnamon and peppermint can repel them. This no guarantee they will stay away, though.