The best way to prevent ants from entering your home is by sealing any cracks or crevices where they may find their way in, cleaning up food debris around your home regularly, and placing all food items in tightly sealed containers.
The next step is to clean up all spills that may have been missed, Vacuum all carpets and floors thoroughly. Next, sweep or vacuum any leftover debris around baseboards, corners, cabinets, and underneath appliances or furniture. Once you’ve properly cleaned the area, a few common household ingredients can be used to discourage ants from coming back inside.
Mix equal parts Borax and sugar. Place the mixture in areas where ants are likely to be entering your home or near the house’s foundation. Alternatively, you can mix white distilled vinegar and water (1 cup each) in a spray bottle, shake well and spray along doors, windowsills, screens, and foundation cracks.
Peppermint oil and water (1:8 ratio) can be sprayed in the same areas mentioned above, or it can also be used with vinegar to make a more pleasant scent when applying.
A solution of 1 part water and two parts vinegar can be used inside and outside your home. This will break up the scent trails ants use to find their way inside.
Once you have done these steps, there are other options if the ants continue to come back inside after a week or two. You can purchase bait traps at your local hardware store that will kill ants when they eat them. If you prefer not to use pesticides around your home or don’t want to pay for the more expensive bait traps, you can coat a q-tip with cooking oil spray and place them under cabinets or behind baseboards where ants are entering your home.
Boric acid is a very strong pesticide that will kill the ants once they ingest it but should be used with caution because of its strength. You can find boric acid at your local hardware or grocery store. It comes in a powder form and kills the ant when touched.
Ants are very smart insects and will eventually find their way back in no matter how many times you clean or prevent them from doing so. If this happens, you will need help from a professional pest control agency.