Due to the increasing number of elderly people, the need to pay attention to their quality of life becomes more important. One of the factors affecting the quality of life is health status and spiritual health is one of its important dimensions that is often neglected. The aim of this study was to determine the relationship between spiritual health and quality of life in the elderly in Qazvin in ten years from 2001 to 2011. This study was cross-sectional and correlational and 300 elderly people living in nursing homes in Qazvin were conducted using systematic random sampling based on the list of names of people in the elderly registration system. Then quality of life was analyzed with Ellison and Palutzian (SWB) short form and spiritual health using the spiritual health questionnaire. Data were analyzed by SPSS 16 software. The version of the quality of life questionnaire consisting of 36 questions and the 30-item spiritual health questionnaire were analyzed. Pearson correlation coefficient, t-test and analysis of variance were used to analyze and interpret the data. The results showed that the average score of quality of life of the elderly was 50 with (11 ± 0.36). In addition, the level of spiritual health of men was high and the mean score of their spiritual health was significantly higher than women. In addition, the results showed that spiritual health has a significant correlation with the quality of life of the elderly (P = 0.006). According to the results of this study, it is necessary to consider the factors related to the quality of life of the elderly in the care of this group. The relationship between spiritual health and quality of life indicates the need to pay attention to this issue in the care of the elderly.