It has been said that white vinegar or essential oils can be used in a diluted solution to repel ants. Unfortunately, these natural options don’t really have a lasting effect, and need frequent usage to maintain any repellent qualities.