Nekkhamma (; naiṣkrāmya) is a Pāli word generally translated as "renunciation" or "the pleasure of renunciation" while also conveying more specifically "giving up the world and leading a holy life" or "freedom from lust, craving and desires." In Buddhism's Noble Eightfold Path, nekkhamma is the first practice associated with "Right Intention." In the Theravada list of ten perfections, nekkhamma is the third practice of "perfection." It involves non-attachment (detachment).
In the Pali Canon, in a discourse in which the Buddha describes antecedents precipitating his Awakening, the Buddha divided his thoughts between those that impair discernment, cause affliction and deter one from Nirvana on the one hand, and those that have the opposite effect. In the former category, he included thoughts permeated with sensuality, ill-will and harmfulness; in the latter, thoughts permeated with renunciation, non-ill will and harmlessness:
"Whatever a monk keeps pursuing with his thinking & pondering, that becomes the inclination of his awareness. If a monk keeps pursuing thinking imbued with renunciation, abandoning thinking imbued with sensuality, his mind is bent by that thinking imbued with renunciation. If a monk keeps pursuing thinking imbued with non-ill will, abandoning thinking imbued with ill will, his mind is bent by that thinking imbued with non-ill will. If a monk keeps pursuing thinking imbued with harmlessness, abandoning thinking imbued with harmfulness, his mind is bent by that thinking imbued with harmlessness."
These latter three types of thought content — renunciation, non-ill will and harmlessness — comprise the traditional triadic definition of the Noble Eightfold Path's notion of "Right Intention" (Pali: ; Skt.: ). For each of the former types of thought content — sensuality, ill will and harmfulness — the Buddha stated:
"Whenever thinking imbued with sensuality [or ill will or harmfulness] had arisen, I simply abandoned it, destroyed it, dispelled it, wiped it out of existence.