The types of the eae and espB genes of 178 attaching and effacing Escherichia coli (AEEC) strains isolated from diarrhoeic and healthy ruminants were investigated by PCR. Six types of the eae gene: beta (beta), gamma1 (gamma-1), gamma2 (gamma-2), epsilon (epsilon), zeta(zeta) and iota (iota), and three types of the espB gene: alpha, beta and gamma were identified in the strains studied. Moreover, three strains were negative to all the types of the eae gene tested. The types beta and gamma2 in healthy cattle, beta, gamma2 and epsilon in healthy sheep and goats, and beta in diarrhoeic calves, lambs and goat kids were the most frequent types of the eae gene among the strains studied. Although the eaebeta gene was the most prevalent among AEEC from healthy and diarrhoeic ruminants, the percentages of AEEC strains with this type found in this study in diarrhoeic animals (66.7-100%) were higher than those found in healthy animals (33.3-40.6%). Thus, these data suggest that AEEC strains with the eaebeta gene are associated with neonatal diarrhoea in ruminants. The eaegamma1, eaezeta and eaeiota genes were found in low percentages in the strains studied (4.5, 2.8 and 7.3%, respectively). All the types of the eae gene, except the type iota, showed a close correlation with the types of the espB gene: the eaebeta and eaeepsilon genes with the espBbeta gene, the eaegamma2 and eaezeta genes with the espBalpha gene and the eaegamma1 gene with the espBgamma gene. (C) 2003 Elsevier B.V. All rights reserved.