Our study reveals the relationship between gratitude and death anxiety and the mediating role of optimism. Our results need to be confirmed in a longitudinal study, but point to the importance of assessing optimism in prevention and management of persons with death anxiety.