Sugar ants hate the smell of eucalyptus, cinnamon, garlic, lavender, and peppermint. You can spread these essential oils around your home to keep sugar ants away.