Background We assessed the influence of season of birth on duration of breastfeeding and other feeding patterns in three population-based birth cohort studies in the city of Pelotas, Southern Brazil.Methods In 1982, 1993 and 2004, all hospital-born children in the city were enrolled in three cohort studies (n = 5914, 5249 and 4287, respectively). Children and their mothers were periodically visited in the first 2 years of life, to collect information on the duration of breastfeeding and the ages at which different types of foods were introduced on a regular basis. Two independent variables were studied: month of birth and mean environmental temperature in the first month of life. Survival analyses and chi-squared tests were used to evaluate the associations. Temperature-based slope indices of inequality were also calculated.Results Duration of breastfeeding was lower among children born from April to June (months preceding winter) and spending their first month of life in colder temperatures. The influence of season of birth on breastfeeding patterns and the introduction of cow's milk differed according to maternal education, with the strongest effects among children belonging to less educated mothers. Early introduction of fruits (1982 and 1993 cohorts) and vegetables (1982 cohort) were also associated with lower environmental temperature in the first month of life, but not with trimester of birth.Conclusion Colder temperatures adversely affect duration of breastfeeding and feeding patterns in infancy, especially among the poorest. This finding should be considered in breastfeeding promotion programmes.