Maraṇasati is a Buddhist meditation practice that uses various visualization and contemplation techniques to meditate on the nature of death. The cultivation of Maranassati is said to be conducive to right effort and also helps in developing a sense of spiritual urgency and renunciation.
The Satipatthana Sutta and the Kayagata-sati Sutta include sections on the cemetery contemplations which focus on nine stages of corpse decomposition. These are:
A corpse that is "swollen, blue and festering."
A corpse that is "being eaten by crows, hawks, vultures, dogs, jackals or by different kinds of worms."
A corpse that is "reduced to a skeleton together with flesh and blood held in by the tendons."
A corpse that is "reduced to a blood-besmeared skeleton without flesh but held in by the tendons."
A corpse that is "reduced to a skeleton held in by the tendons but without flesh and not besmeared with blood."
A corpse that is "reduced to bones gone loose, scattered in all directions."
A corpse that is "reduced to bones, white in color like a conch."
A corpse that is "reduced to bones more than a year old, heaped together."
A corpse that is "reduced to bones gone rotten and become dust."
The Satipatthana Sutta instructs the meditator to reflect thus: 'This body of mine, too, is of the same nature as that body, is going to be like that body, and has not got past the condition of becoming like that body.' , a subset of mindfulness of the body, the first satipatthana. From an early-20th-century manuscript found in Chaiya District, Surat Thani Province, Thailand. According to the Maranassati Sutta a monk should reflect on the many possibilities which could bring death and then turn his thoughts to the unskillful mental qualities he has yet to abandon. "Just as when a person whose turban or head was on fire would put forth extra desire, effort, diligence, endeavor, undivided mindfulness, & alertness to put out the fire on his turban or head, in the same way the monk should put forth extra desire, effort, diligence, endeavor, undivided mindfulness, & alertness for the abandoning of those very same evil, unskillful qualities."
According to Buddhaghosa's Visuddhimagga, there are eight ways of meditating on death:
meditating on death as a murderer, since it takes away life; meditating on it as the ruin of success; viewing it by comparison with famous persons reflecting that even these great ones eventually died, even the enlightened ones themselves; meditating on the body as the abode of many-many worms as well as the target of many others; meditating on the difficulty of keeping alive; meditating on it as without occasion, since beings die unpredictably; meditating on the shortness of a lifetime; meditating on the fact that, properly speaking, the lifetime of a being is a single moment of consciousness, that one dies every moment, so to speak.
Tibetan Buddhism
Mindfulness of death is a central teaching of Tibetan Buddhism: it is one of the "Four Thoughts," which turn the mind towards spiritual practice. One set of Tibetan Buddhist contemplations on death come from the eleventh century Buddhist scholar Atisha. Atisha is said to have said to his students that if a person is unaware of death, their meditation will have little power. Atisha's contemplations on death:
At the time of death, our material resources are not of use to us.
Our loved ones cannot keep us from death.
Our own body cannot help us at the time of our death.
Other Tibetan Buddhist practices deal directly with the moment of death, preparing the meditator for entering and navigating the Bardo, the intermediate stage between life and death. This is the theme of the popular Great Liberation through hearing during the intermediate state.