While cockroaches are not inherently attracted to dirty or unclean environments, unsanitary conditions can aggravate the problem. These scavenging insects enter homes and buildings to look for food, moisture, and warmth. Restricting access to these basic necessities is the most effective way of preventing a cockroach infestation. Here are some tips for prevention: Clean and vacuum the home regularly to eliminate crumbs and other food remnants. Store food and pantry items in tightly sealed containers. Promptly wiping up spills, getting rid of the trash daily, and keeping dirty dishes from accumulating in the sink will also help prevent cockroach infestations. To keep the pests from entering the home or locating ideal hiding places, caulk and seal crevices and other tiny openings in the walls and floors, and repair leaky faucets as well as any cracks in the plumbing. Make sure cupboards remain dry, and use a dehumidifier to reduce the amount of excess moisture around the home in order to create an inhospitable environment for cockroaches. In cases of severe infestation, contact a pest control professional with experience in dealing with cockroach infestations effectively and successfully.