PurposeThis study investigates how food safety trust works as a critical moderator in the Chinese online fresh agricultural market based on an extended technology acceptance model.Design/methodology/approachThe authors propose a research model that integrates attributes from the technology acceptance model, perceived product quality, logistics service quality, risk, and food safety trust. Structural equation modeling was applied to estimate the causal relationships using data from 851 Chinese customers.FindingsThe results indicated that perceived usefulness, product quality, and logistics service quality significantly enhance Chinese customers' intention to shop online for fresh agricultural products. Further, the positive effects increase when customer trust in food safety changes from low to high. In contrast, perceived risk reduces Chinese customers' willingness to engage in online shopping, but the negative influence is weaker for customers with high trust in food safety than for those with low trust. However, perceived ease of use plays an insignificant role in predicting online purchase intention and the impact does not vary depending on food safety trust.Originality/valueThis study suggests managers should consider the important moderating role of food safety trust to make effective strategies for fresh agricultural e-commerce development in China.