Quality nursing care and ethical responses to patient pain and suffering are very important in the preoperative period. However, few studies have addressed these variables. This study aimed to examine the relationship between compassionate care and preoperative anxiety from the perspective of hospitalized patients. The current study was a cross-sectional descriptive one. The participants were selected using convenience sampling. The data were collected using a demographic questionnaire, Burnell Compassionate Care Tool, and Amsterdam Preoperative Anxiety and Information Scale (APAIS). The collected data were analyzed with SPSS software (version 22) through descriptive and inferential statistics at a significance level of 0.05 (p < .05). This study was conducted on 704 candidates for surgery in the internal and surgical wards of a large teaching hospital located in the south of Iran from December 2022 to March 2023. The protocol for this study was reviewed and approved by the University Ethics Committee. The patients' average age was 36.61 ± 13.07. The average preoperative anxiety and need for information scores were 13.80 ± 2.66 and 7.44 ± 1.47, respectively. The average score of importance was 3.03 ± 0.19, and the average score of the extent of compassionate care provision was 1.22 ± 0.15. There was a significant relationship between preoperative anxiety with importance and the extent of compassionate care provision (r = 0.68, p < .001), r = -0.72, p < .001, respectively). A comparison of the demographic characteristics, need for information, importance, and provision of compassionate care showed that the extent of compassionate care provision had the greatest contribution in explaining preoperative anxiety (β = 0.50; p < .001). Even though patients' preoperative anxiety was high and providing compassionate care in the preoperative period had a great role in relieving their anxiety, many participants appear to have received little compassionate care. To this end, nursing managers should pay attention to the quality of compassionate care in the preoperative stage. Besides, healthcare staff should receive the necessary training in compassionate nursing care.