Objective-To assess the relations between breast feeding and infant illness in the first two years of life with particular reference to gastrointestinal disease.Design-Prospective observational study of mothers and babies followed up for 24 months after birth.Setting-Community setting in Dundee.Patients-750 pairs of mothers and infants, 76 of whom were excluded because the babies were preterm (less than 38 weeks), low birth weight (less than 2500 g), or treated in special care for more than 48 hours. Of the remaining cohort of 674, 618 were followed up for two years.Interventions-Detailed observations of infant feeding and illness were made at two weeks, and one, two, three, four, five, six, nine, 12, 15, 18, 21, and 24 months by health visitors.Main outcome measure-The prevalence of gastrointestinal disease in infants during follow up.Results-After confounding variables were corrected for babies who were breast fed for 13 weeks or more (227) had significantly less gastrointestinal illness than those who were bottle fed from birth (267) at ages 0-13 weeks (p<001; 95% confidence interval for reduction in incidence 6-6% to 16-8%), 14-26 weeks (p<0-01), 27-39 weeks (p<005), and 40-52 weeks (p<005). This reduction in illness was found whether or not supplements were introduced before 13 weeks, was maintained beyond the period of breast feeding itself, and was accompanied by a reduction in the rate of hospital admission. By contrast, babies who were breast fed for less than 13 weeks (180) had rates of gastrointestinal illness similar to those observed in bottle fed babies. Smaller reductions in the rates of respiratory illness were observed at ages 0-13 and 40-52 weeks (p<005) in babies who were breast fed for more than 13 weeks. There was no consistent protective effect of breast feeding against ear, eye, mouth, or skin infections, infantile colic, eczema, or nappy rash.Conclusion-Breast feeding during the first 13 weeks of life confers protection against gastrointestinal illness that persists beyond the period of breast feeding itself.