This can be done as a spot treatment or with baits that are taken back to the colony. Soapy water will knock down workers that are present. Individuals can then be wiped up. Ant baits are the preferred in schools. Workers will take poison back to the nest and feed it to the young and queen.
Some ant baits are for sweet feeding ants, some for protein feeding ants, and some for both types.
Active ingredients will include less toxic products such as boric acid, sulfuramid, abamectin, hydramethylnon and fipronil. Baits come in plastic stations, gels and pelleted baits. Different treatment sites will require different formulations. If colonies are found they can be spot treated. In walls, insecticide dusts containing synthetic pyrethroids, boric acid, drione or silica aerogel can be used.