Based on data for 812 Chinese farmers and a conditional mixed process (CMP) approach, this paper investigates the impact of farmers' e-commerce participation on their awareness of green production. Main results include: (1) e-commerce participation increases farmers' overall awareness of green production by 0.771 (i.e. 0.88 standard deviations); meanwhile such impact is more evident for old-generation, low-income and small-scale farmers; (2) risk awareness is most affected among three sub-dimensions; (3) three influencing channels are confirmed, which are improving information acquisition, str...