Home Gardening To get rid of ants, put small piles of cornmeal where you see ants. They eat it or take it home to the others. They cant digest it so it kills them. It may take a week or so, especially if it rains, but it works and you dont have the worry about pets or small children being harmed!