PurposeBuying directly from farmers online has become increasingly popular in recent years. This study aims to investigate the effect of the interaction between various consumption values that drive consumers to buy directly from farmers online. The proposed conceptual framework suggests that consumers who buy online directly from farmers are driven by an interaction of weighted individualistic consumption value (i.e. an integration of values such as saving money, getting quality and fresh produce) and collectivistic values (pro-environmental behaviour and ethnocentric perception).Design/methodology/approachData were collected using a representative sample of 576 consumers via an online access panel and analysed using AMOS SEM.FindingsA weighted individualistic consumption value affects consumer attitudes and, consequently, consumers' intention to buy agri-food products directly from farmers. Nonetheless, individualistic consumption value is more effective in enhancing attitudes among consumers with high pro-environmental behaviour. Moreover, ethnocentric perception lowers the effect of individualistic consumption value on attitudes and enhances the positive effect of attitudes on buying intention.Originality/valueThis study contributes to the literature on consumer online behaviour when buying food products directly from farmers. Its originality lies in the effect of interacting individualistic and collectivistic consumption values to explain consumer motivation for this behaviour.