Pests, such as pavement ants, are attracted to moisture. To prevent black pavement ants, eliminate standing water around the home. Keep tree branches and other plants cut back from the house. Sometimes pavement ants use these branches to get into your home. Make sure that there are no cracks or little openings around your house. Ensure firewood and building materials are not stored next to your home because pavement ants like to build nests in stacks of wood. Indoors, clean up spills and crumbs on counter tops and kitchen floors.