The early Buddhist texts describe yogic and meditative practices, some of which the Buddha borrowed from the śramaṇa tradition. The Pali canon contains three passages in which the Buddha describes pressing the tongue against the palate for the purposes of controlling hunger or the mind, depending on the passage. However, there is no mention of the tongue being inserted into the nasopharynx as in true khecarī mudrā. The Buddha used a posture where pressure is put on the perineum with the heel, similar to even modern postures used to stimulate Kundalini. Some of the major suttas that discuss yogic practice include the Satipatthana sutta (Four foundations of mindfulness sutta) and the Anapanasati sutta (Mindfulness of breathing sutta).
Later developments in the various Buddhist traditions led to new innovations in yogic practices. The Theravada school, while remaining relatively conservative, still developed new ideas on meditation and yogic phenomenology in their later works, the most influential of which is the Visuddhimagga. The Indic meditation teachings of Mahayana Buddhism can be seen in influential texts like the Yogācārabhūmi-Śāstra (compiled c. 4th century). Mahayana meditation practices also developed and adopted new yogic methods, such as the use of mantra and dharani, pure land practices which aimed at rebirth in a pure land or buddhafield, and visualization methods. Chinese Buddhism developed its own methods, such as the Chan practice of Koan introspection and Hua Tou. Likewise, Tantric Buddhism (also Mantrayana, Vajrayana) developed and adopted tantric methods, which remain the basis of the Tibetan Buddhist yogic systems, including the Six yogas of Naropa, Kalacakra, Mahamudra and Dzogchen.