Human intestinal tissue samples are barely accessible to study potential health benefits of nutritional compounds. Numbers of animals used in animal trials, however, need to be minimalized. Therefore, we explored the applicability of in vitro (human Caco-2 cells) and ex vivo intestine models (rat precision cut intestine slices and the pig in-situ small intestinal segment perfusion (SISP) technique) to study the effect of food compounds. In vitro digested yellow (YOd) and white onion extracts (WOd) were used as model food compounds and transcriptomics was applied to obtain more insight into which extent mode of actions depend on the model. The three intestine models shared 9,140 genes which were used to compare the responses to digested onions between the models. Unsupervised clustering analysis showed that genes up- or down-regulated by WOd in human Caco-2 cells and rat intestine slices were similarly regulated by YOd, indicating comparable modes of action for the two onion species. Highly variable responses to onion were found in the pig SISP model. By focussing only on genes with significant differential expression, in combination with a fold change > 1.5, 15 genes showed similar onion-induced expression in human Caco-2 cells and rat intestine slices and 2 overlapping genes were found between the human Caco-2 and pig SISP model. Pathway analyses revealed that mainly processes related to oxidative stress, and especially the Keap1-Nrf2 pathway, were affected by onions in all three models. Our data fit with previous in vivo studies showing that the beneficial effects of onions are mostly linked to their antioxidant properties. Taken together, our data indicate that each of the in vitro and ex vivo intestine models used in this study, taking into account their limitations, can be used to determine modes of action of nutritional compounds and can thereby reduce the number of animals used in conventional nutritional intervention studies.