Imperforate anus is a defect that is present from birth (congenital) in which the opening to the anus is missing or blocked. The anus is the opening to the rectum through which stools leave the body.