Background and Objectives: Nowadays, spiritual health, as one of the health aspects, can better respond to the current conditions in being faced with anxiety, tension, and restlessness due to injury and disease. The aim of this study is to investigate the spiritual health of inpatients and its association with in-hospital anxiety and depression. Methods: In this descriptive-analytical study, 142 inpatients in Qom Nekoei Hospital were enrolled by stratified random sampling. Demographics and hospital information questionnaire, Paloutzian & Ellison Spiritual Well-Being Scale, and Hospital Anxiety and Depression Scale were completed by the participants. Data were generated and analyzed by SPSS. Results: Linear regression results showed that the score on spiritual health was statistically significantly associated with the level of depression and anxiety such that with 1-point increase in spiritual health score, the mean score on depression and anxiety decreased by 0.145 (p=0.000). In addition, spiritual health score was moderate in the participants (88.44±20). The participants’ religious well-being score (48±8) was higher than their existential well-being score (40±10). Conclusion: Because anxiety and depression levels were lower in the inpatients with higher levels of spiritual health, it can be concluded that people with greater spiritual tendency develop lower levels of anxiety and depression when they are ill, and are comparatively more successfully in coping with suffering due to disease.