This is a study of breastfeeding length, with and without a community educational program. It was done through home visits to 125 women residing in Vila Marianaís shantytowns in the city of São Paulo. It was found that breastfeeding lasts an average of more than 6 months after the educational intervention. When comparing the group that received education with the one that didnít, it was observed that in the former the percentage of children breastfed for 6 months or longer was 64%, while in the control group it was 17% (p < 0.001). This shows a significant increase in the number of mothers who nursed their children after an educational program promoting breastfeeding.