The Kāyagatāsati Sutta (Skt. Kāyasmṛti; Mindfulness Immersed in the Body, MN 119) is a Pali Buddhist Sutta which outlines the development of mindfulness through contemplation of the body in order to reach Jhana.
Summary of the Pali version
The Kayagatasati sutta stresses the need for constant awareness of the body's position, "When walking, the monk discerns, 'I am walking.' When standing, he discerns, 'I am standing.' When sitting, he discerns, 'I am sitting.' When lying down, he discerns, 'I am lying down." 
The Sutta also outlines the practice of "reflections on repulsiveness of the body" (Patikulamanasikara). In this practice a meditator reflects on various parts of the body (nails, hair, bodily organs, fluids) and noting their impurity. The Sutta also recommends meditation on the impermanence of the body and death by contemplating human corpses in various states of decomposition. "Furthermore, as if he were to see a corpse cast away in a charnel ground — one day, two days, three days dead — bloated, livid, & festering, he applies it to this very body, 'This body, too: Such is its nature, such is its future, such its unavoidable fate'".
Sutta then explains the attainment of the first four rupa Jhanas, states of calm concentration reached through meditation.
Finally, the Sutta outlines the ten benefits of these practices which are as follows:
- Conquering displeasure & delight
- Conquering fear & dread
- 3. Resistance to temperature, pain and the elements.
- Attainment of the four Jhanas
- "Manifold supranormal powers" (ex. walking on water, walking through walls)
- Supernatural hearing
- Psychic powers - knowing the "awareness of other beings"
- Recollection of past lives
- Seeing "by means of the divine eye, purified & surpassing the human"
- "Through the ending of the mental effluents, he remains in the effluent-free awareness-release & discernment-release, having known and made them manifest for himself right in the here & now."
Chinese Agama version
There is a parallel text in the Chinese canon called Sutra on Mindfulness of the Body in the Madhyama Agama, which is attributed to the Sarvastivada school. According to Tse Fu Kuan, the list of practices in this text are:
- "understanding the four postures and the states of being asleep [and/or] awake"
- "full awareness of daily activities"
- "extinguishing evil unwholesome thoughts with wholesome dharma thoughts"
- "with teeth clenched and the tongue pressed against the palate, restraining one mental state with [another] mental state"
- "mindfulness of breathing"
- "the rapture and pleasure born of seclusion pervading the body (the first jhana)"
- "the rapture and pleasure born of concentration pervading the body (the second jhana)"
- "the pleasure born of the absence of rapture pervading the body (the third jhana)"
- "pervading the body with the pure state of mind (the fourth jhana)"
- "attending to the conception of light, and developing a bright mind"
- "grasping the reviewing-sign and recollecting what he attends to"
- "reviewing the body as full of various kinds of impurity"
- "reviewing the body by way of the six elements"
- "contemplating a corpse in different states of decomposition"
- Anapanasati (Breath Mindfulness)
- Metta Sutta
- Kayagatasati Sutta
- Anapanasati Sutta
- Satipatthana Sutta, also called the Four Satipatthanas
- Bojjhanga (Seven Factors of Enlightenment)
- Buddhist Meditation
- Satipatthana Sutta (Four Foundations of Mindfulness)
- Satipatthana (Four Foundations of Mindfulness)
- Kayagata-sati Sutta.
- Tse-fu Kuan (2011). Mindfulness in Early Buddhism: New Approaches through Psychology and Textual Analysis of Pali, Chinese and Sanskrit Sources (Routledge Critical Studies in Buddhism). pp. 82-83.
- Bhikkhu Nanamoli and Bhikkhu Bodhi (trans.), The Middle Length Discourses of the Buddha: A Translation of the Majjhima Nikaya, 1995, Somerville: Wisdom Publications ISBN 0-86171-072-X.