The best smells for getting rid of gnats are vinegar, peppermint, vanilla, pine, eucalyptus, lavender, and pine. If you have essential oils, putting a few drops on a cotton ball near where gnats ...