The COVID-19 pandemic poses a significant threat to people’s lives. Compliance with preventive behaviors, recommended by public health authorities, is essential for infection control. In the remission stage, one year after the initial COVID-19 outbreak in China, we advanced a moderated parallel mediation model of the link between risk perception and compliance with preventive behaviors as well as a serial mediation model of the link between optimism and compliance with preventive behaviors, explaining the roles of various psychosocial factors in these associations. In January 2021, 200 participants under 50 years of age, located in 80 Chinese cities, participated in an online survey assessing risk perception, compliance with preventive behaviors, fear, anxiety, political trust, government dependency, and dispositional optimism. The results showed that the effect of risk perception on compliance with preventive behaviors was mediated by political trust and fear, and was moderated by government dependency. Anxiety and fear serially mediated the effect of optimism on compliance with preventive behaviors. Our study provided implications for future research to reduce negative emotions, strengthen confidence in the government, and sustain moderate government dependency accompanied by individual self-efficacy.