Enhancing residents' purchasing intention of prepared dishes is crucial for the sustainable development of the prepared dishes industry. Understanding how residents' cognition influences their purchasing intentions can provide valuable insights for developing and refining industry policies. Based on the theory of distributed cognition, this study utilizes questionnaire data from urban residents in Beijing and Shanghai, and employs Structural Equation Modeling to explore the influence of cognition on the continuous purchasing intention of Chinese urban residents towards prepared dishes. The study results reveal that: (1) individual and geographical power significantly positively impact on residents' continuous purchasing intentions of prepared dishes, while cultural power perception does not have a significant effect. (2) Risk perception partially mediates the effect of personal and geographical power on continuous purchasing intention and fully mediates the effect of cultural power on continuous purchasing intention. Recommendations include: (1) The government should enhance standardization and supervision to create a favorable consumption environment; (2) Enterprises should provide more objective and transparent information to improve residents' knowledge of prepared dishes and establish a good reputation.