The preterm intestine is immature and responds differently to total parenteral nutrition (TPN) and enteral nutrition, compared with the term intestine. We hypothesised that in preterms, diet composition and feeding route affect mucosal morphology, enterocyte mitosis and apoptosis, and the distribution of laminin-1, fibronectin and collagen IV (extracellular matrix proteins (ECMP)). Preterm piglets (93·5 % of gestation) were delivered via caesarean section and birth weight-matched allocated to one of the four experimental groups: the piglets were either euthanised immediately after delivery, after 3 d of TPN or after 2 d enteral feeding with colostrum or milk formula, following 3 d of TPN. We combined immunohistochemistry, image analysis and stereological measurements to describe the intestinal mucosal layer. No significant changes occurred after 3 d of TPN. Feeding colostrum or milk replacer for 2 d after TPN was associated with an increased crypt depth. Only enteral feeding with colostrum resulted in an increased villus height and mitotic index. Neither TPN nor enteral feeding changed the distribution pattern of ECMP or the occurrence of bifid crypts. The immature distribution pattern of ECMP in TPN-fed piglets, coupled with unchanged enterocyte mitosis and apoptosis indices, illustrates that feeding preterm pigs 3 d TPN does not lead to mucosal atrophy. Despite the invariable distribution of ECMP, colostrum was associated with crypt hyperplasia resulting in an increased villus height. These data illustrate that some mechanisms regulating cell turnover are immature in preterms and may in part explain the abnormal gut responses to TPN and enteral feeding in prematurely born pigs.