Vinegar is a natural deterrent for ants. A combination of half apple cider vinegar (although normal vinegar works just as well) and half water in a spray bottle works perfectly to repel those pests. … While vinegar is an effective item you can use to get rid of ants, you will need to reapply, as it wears off.