IntroductionPatient satisfaction is a crucial metric to gauge the quality of medical services, but the psychological factors influencing patient satisfaction remain insufficiently explored.MethodsThis study examines these psychological factors by applying the theory of bounded rationality to 1,442 inpatients in Hangzhou, China, whose data were collected using a questionnaire. One-way ANOVA, correlation analysis, and hierarchical regression were used to analyze patient satisfaction and its associated factors. Additionally, the path analysis of the structural equation model revealed the mechanisms behind the key psychological factors that influenced patient satisfaction.ResultsMedical risk perception, the social cognition of the medical environment, and social desirability bias had significant positive impacts on patient satisfaction. By contrast, negative emotions had a significant negative impact on patient satisfaction. Notably, patients’ negative emotions had both a suppressive effect and a positive moderating effect on the relationship between medical risk perception and patient satisfaction. Similarly, social desirability bias had a suppressive effect on the correlation between the social cognition of the medical environment and patient satisfaction, albeit with a negative moderating effect.DiscussionThese results suggest that when evaluating and improving patient satisfaction, accounting only for the factors that directly influence medical service quality is insufficient, as the indirect and moderating effects of patients’ negative emotions and the social cognition of the medical environment must also be considered. Medical service providers should thus address patients’ negative emotions, establish good doctor–patient relationships, optimize service environments, provide managers with medical risk education and training on negative emotions, and prioritize patient-centered care. Additionally, the government and relevant health departments should optimize medical policies, enhance fairness and accessibility, and create a positive social cognitive environment through public education and awareness campaigns.