Studies investigating association of depression with overall survival (OS) after allogeneic hematopoietic stem cell transplantation (allo-HSCT) yielded conflicting results. A nationwide cohort study, which included all adult patients [n = 7,170; depression group, 13.3% (N = 956); non-depression group, 86.7% (N = 6,214)] who received allo-HSCT from 2002 to 2018 in South Korea, analyzed risk of pre-transplant depression in OS of allo-HSCT. Subjects were followed from the day they received allo-HSCT, to occurrence of death, or last follow-up day (December 31, 2018). Median age at allo-HSCT for depression and non-depression groups were 50 and 45 (p < 0.0001), respectively. Two groups also differed in rate of females (depression group, 55.8%; non-depression group, 43.8%; p < 0.0001) and leukemia (depression group, 61.4%; non-depression group, 49.7%; p < 0.0001). After a median follow-up of 29.1 months, 5-year OS rate was 63.1%. Cox proportional-hazard regression evaluated an adjusted risk of post-transplant mortality related to depression: OS decreased sequentially from no depression (adjusted hazard ratio [aHR] = 1) to pre-transplant depression only (aHR = 1.167, CI: 1.007–1.352, p = 0.04), and to having both depression and anxiety disorder (aHR = 1.202, CI: 1.038–1.393, p = 0.014) groups. Pre-transplant anxiety (anxiety only) did not have significant influence in OS. Additional medical and psychiatric care might be necessary in patients who experienced depression, especially with anxiety, before allo-HSCT.