In a national study of births to farmers in Norway, grain farming was associated with short gestational age (21-24 weeks). An impact of selective fertility and maternal heterogeneity on the association was suspected but could not be assessed further in a traditional birth-based design. Thus, analyses based on the mother as the observational unit were performed. A total of 45,969 farmers with a first birth in 1967-1981 were followed for subsequent births and perinatal mortality. A perinatal loss increased farmers' likelihood to continue to another pregnancy, but this selective fertility was less dominant than in the general population due to a higher baseline fertility. The effect of the mother's reproductive history on the grain farming-midpregnancy delivery association was analyzed in 59,338 farmers with more than one single birth in 1967-1991. A history of preterm birth (