Background: Severe pneumonia (SP) is a common acute and critical illness in internal medicine, with typical symptoms such as cough, fever, generalized aches and pains, loss of appetite, weakness, and shortness of breath. Patients feel threatened by the disease and are prone to negative emotions, resulting in reduced compliance with treatment, which in turn affects treatment outcome. The purpose of this study is to analyze the risk factors of negative emotions in patients with SP and their impact on prognosis, to provide a reference basis for improving the prognosis of patients.Methods: We retrospectively analyzed 243 patients with SP admitted to our hospital from June 2017 to June 2021. The general characteristics of the study subjects were compiled using a general information questionnaire designed by the researcher. The t-test, ANOVA, and chi-square test were used to analyze the relationship between the negative emotions of patients and prognosis. Binary logistic regression and multiple linear regression were used to analyze the independent risk factors for the occurrence of negative emotions and poor prognosis.Results: Binary logistic regression analysis showed gender, fertility or not, spouse or not, APACHE II score, and complications such as infectious shock and hemoptysis were independent risk factors for anxiety, whereas a history of underlying disease, monthly household income, fertility or not, spouse or not, APACHE II score, and complications such as bronchodilation and hemoptysis were independent risk factors for depression. Multiple linear regression analysis showed albumin, CRP, duration of mechanical ventilation, and negative emotions were independent risk factors for patient prognosis.Conclusions: SP patients have serious conditions and are prone to complications and psychological disorders such as anxiety and depression, which affect treatment outcome. Therefore, the negative emotions of patients and independent risk factors should be identified in a timely manner in clinical work, and targeted and effective measures should be actively taken to improve the prognosis of patients.