I tried every home remedy that I could find. Ants kept reinvading my kitchen. I finally gave up and bought Raid Max (Indoor/Outdoor). I went around the outside of my house near the kitchen with it. The number of ants was less. I finally gave up and did the inside of the kitchen with it. I went back with a good cleaner and cleaned the counters, floors and cabinets a couple times before putting food back.
No ants since. The bottle says it lasts for a year.