Important differences were observed between the gut microbiota of children living under distinct socioeconomic and environmental conditions within the same city. Our findings suggest that children of high socioeconomic status have less favorable gut microbiota than do children who live in poverty.