Fresh mint leaves keep bad breath at bay, and they'll do the same for ants. To make a sprayable deterrent, mix two to three tablespoons of peppermint oil with a quart of water. Spray liberally around the ants' points of origin, making sure to hit all the nooks and crannies. As a bonus, your home will smell minty fresh.
Related: 10 Reasons Bugs Love Your Home