the scent of peppermint oil, lemon, and cinnamon will deter ants. try spraying diluted oils around your kitchen, or sprinkle cinnamon where you've seen ants congregate. "the domestic spice acts as a dermal irritant, which will keep them away," warberg block adds.