Things You'll Need
Cement mix or caulk
Ants are persistent pests that invade your yard and house. Ants that live on and around your house's foundation may pose a health threat. Ants of all kinds can contaminate your food and water. Carpenter ants, like termites, can damage the wood in your house. First, try getting rid of the ants around the foundation of your house with commercial products; if you do not achieve the desired result, call a professional exterminator.
Keep the area around your house free of debris and rotting wood. Ants tend to nest under rocks and in decomposed wood, and can easily spread to your foundation if their nests are near the house.
Video of the Day
Repair cracks or holes in the foundation to prevent ants from entering your house. Use an epoxy-based caulk to fill hairline cracks, or a cement patch mix for larger holes.
Set ant bait traps around the house near the foundation as a first-line chemical defense. Baits may be more likely to get rid of the ant population when you see anthills nearby.
Spray the perimeter of your house foundation with pesticide. Apply the chemical control 2 to 6 feet away from your house in addition to right at the foundation. Treat the foundation itself as well, spraying 2 to 3 feet high.