Aging is defined as a collective process that alters organism's functional capacity and appearance over the course of life. Apart from an increase in susceptibility to many diseases, aging affects the cellular system that is responsible for decoding painful stimuli. Yet, aging-associated molecular mechanisms of pain perception remains elusive. Using Drosophila, we showed a decrease in temperature tolerance and a reduction in high temperature thermal avoidance with aging. Locomotor activity assay demonstrated that the age-dependent changes in heat nociception did not stem from the general decline in muscular activity. However, we identified pain-related gene expression alteration with aging. We anticipate that our findings would help opening a new window onto developing the optimal pain treatment for the elderly.