This study investigates the impact of perceived packaging pollution risk (PPRP) on online takeout purchase intention in China. An expanded Theory of Planned Behavior (TPB) model incorporating CPR was tested using data from 336 respondents. PPRP negatively affected attitudes, subjective norms, and perceived behavioral control (PBC), which partially mediated the relationship between PPRP and purchase intention. Educational level moderated several relationships within the model. Findings offer insights for the online takeout industry and sustainable food consumption.