Double-Sided Adhesive Tape
A genius way to stop ants from crawling on to your food is to surround it with adhesive tape – sticky side up (double-sided would work best). The ants will get stuck and won't be able to reach their prize.
Can ants walk on double-sided tape?
As the ants' march into the kitchen, there is a good chance that they will stick to the tape instead. You don't want the ants to go under the tape, so using double-sided tape is a good option.
Can ants go through tape?
The tape method: Lining problem areas in your home with tape, adhesive side up, can also help to cut down on the number of ants in your home. Because there is a possibility that some of the tiny ants will be able to sneak their way underneath the tape you have put down, it is best to use double-sided tape.