There are several things you can do to prevent ants from entering your home. The first step is exclusion. Go around the outside of your home and inspect it very carefully from an ant’s point of view. Ants can sense cool air and aromatic odors emanating from your home and will try to gain access. Check around the house at ground level and look for cracks in the foundation, voids around pipes, areas under stucco, weep-holes in bricks and similar areas that ants can use to gain entrance. All these areas need to be sealed, caulked, screened or otherwise altered to prevent ants from using them to get into your home. Check around your windows and doors to make sure they close tightly. If the doors aren’t tight, you may have to install door sweeps on them. Check your bushes, shrubs and trees to make sure you don’t have any branches touching the roof. Don’t stack firewood, bricks or anything else next to your house or ants and other insects may find a good place to nest. If you have bushes or shrubs next to your house, periodically inspect them for aphids, scales and similar bugs as ants are attracted to the honeydew they produce. The ants will get on the plants and eventually find their way into your home. Don’t put flagstone or flat boards on the ground too close to your home or some species of ants will nest under them. On the other hand, mound-making ants will generally stay outside. They rarely leave their complicated and efficient home life in the mound to enter homes. If you don’t want the ants making mounds in your yard, you can flood the nests with club soda or with white vinegar or food-grade diatomaceous earth (DE). If you use the DE, mix 4 tablespoons per gallon of water. You can also use 1 gallon of orange juice diluted with 2 gallons of water and a dash of soap.
You can repel ants with a wide variety of products, including cinnamon, baking soda, Comet Cleanser, cedar oil, medicated baby powder, Tide, talcum powder, chalk, coffee grounds, borax, garlic, broken egg shells, bone meal, black or red pepper, peppermint, paprika, chili powder and mint leaves.
The best way to control them when they get in your home is with baits. Different species have different food preferences. Some species will take a wide variety of baits, while others are more particular. You can use a bait containing half baking soda and half powdered sugar and place it where you see foraging ants. Terro Bait is a very good commercial bait made from boric acid
If you have ants you can’t identify, you can send them to me and I will identify them for you. I can identify almost any ants in the country. I also have an ant control manual available. My email address is firstname.lastname@example.org