You are currently viewing The Origin of Yoga in Nepal: History, Legends and Living Traditions

The Origin of Yoga in Nepal: History, Legends and Living Traditions

Yoga did not begin in a single country on a single date. It grew over many centuries across the ancient Himalayan and Gangetic world, a region that had no modern borders. Nepal sits at the heart of that region, and it holds some of yoga’s most important places and lineages: the great Shiva shrine of Pashupatinath, the Nath yogis Matsyendranath and Gorakhnath who shaped Hatha yoga, the birthplace of the Buddha at Lumbini, and the meditation caves of the Vajrayana masters.

This guide separates what history can show from what tradition tells. It follows yoga’s threads through Nepal from the oldest inscriptions to the ashrams of today, and ends with a list of places where you can still see those threads for yourself.

What “the Origin of Yoga” Really Means

When people ask where yoga began, they usually mean one of three different things. Each has a different answer.

The questionThe honest answerHow sure we can be
Where do yogic ideas first appear in writing?In Vedic and Upanishadic texts of ancient northern South Asia, roughly the first millennium BCEFairly sure, though exact dates are debated
Who taught yoga first?Tradition says Shiva, called Adinatha or Adiyogi, the first teacherA sacred story, not a historical claim
Where did Hatha yoga, the physical yoga most people practise, take shape?Among medieval ascetic groups across northern South Asia, including the Nath yogis who were deeply rooted in NepalWell supported by texts and living lineages

So any claim that yoga was “invented in Nepal” is too simple, and so is the claim that it belongs only to India. The ancient world that produced yoga included the hills and plains of present-day Nepal. Several of the people and places that shaped it are here.

Shiva, the First Yogi, and the Himalaya

Yogic tradition begins with Shiva. In the opening verse of the Hatha Yoga Pradipika, the 15th-century manual that most modern Hatha yoga traces back to, the author Svatmarama bows to “Adinatha”, the first lord, who taught the science of Hatha yoga. In the Nath tradition, Adinatha is Shiva.

Shiva is the god of the mountains. In story after story he sits in meditation on Himalayan peaks, smeared in ash, perfectly still. That image of the ascetic yogi deep in the mountains has shaped how South Asia pictures yoga for well over a thousand years.

Nepal has its own Shiva stories. At Gosaikunda, a high lake in Langtang, pilgrims say Shiva struck the mountainside with his trident to make water to cool his throat after he swallowed poison. Thousands of pilgrims still walk there for the Janai Purnima full moon. These are sacred stories rather than history, but they explain why so many yogis and sadhus have made their way into Nepal’s hills for centuries.

Shiva’s best-known mountain home, Mount Kailash, actually lies across the border in Tibet, not in Nepal. But for centuries Nepal has been the gateway to it. Pilgrims and yogis heading for Kailash and Lake Manasarovar have long passed through Kathmandu, and many still travel there through Nepal today, either by road via the Kerung border or by flying into the far west and walking through Humla. Along those routes, Nepal’s hill shrines served as resting places, and the traffic of wandering ascetics helped keep yogic traditions moving between the plains and the high Himalaya.

Scholars have also long debated a small seal from the Indus Valley civilisation that shows a seated figure, sometimes called a “proto-Shiva” or “Pashupati” seal. Some read it as an early yogi; many others think that reading goes beyond the evidence. It is a fascinating question, but not proof that yoga is 5,000 years old.

Pashupatinath: Nepal’s Oldest Living Link to Yogic Shaivism

If one place in Nepal ties yoga to verifiable history, it is Pashupatinath, the great Shiva temple on the Bagmati River in Kathmandu. Its name means “Lord of creatures” (pashu), and in Shaiva philosophy those creatures are souls bound by ignorance, waiting to be freed.

The oldest firm evidence for Shiva worship in the Kathmandu Valley is a group of Sanskrit inscriptions on linga pedestals from the Licchavi period, dated between 466 and 645 CE. Research on those inscriptions shows that Pashupatinath was already a key centre of Shaiva practice at that time, and that local groups of Pashupata ascetics appeared around it. The Pashupatas were one of the earliest organised orders of Shaiva renunciants, with their own disciplines of practice and withdrawal from ordinary life.

By the early 7th century, the ruler Amshuvarman was calling himself “favoured by the venerable Lord Pashupati” in his inscriptions. Pashupati has remained the protector deity of Nepal’s rulers ever since. Local chronicles claim the shrine is even older, but those claims can’t be checked against inscriptions.

Today, Pashupatinath sits inside the Kathmandu Valley World Heritage Site. Sadhus still live and practise on its terraces, and during Maha Shivaratri tens of thousands of pilgrims and ascetics gather there. Above the temple, in the forest of Mrigasthali, a shrine to Gorakhnath links the site to the next part of the story.

The Nath Yogis: Where Nepal Shaped Hatha Yoga

The single strongest link between Nepal and the yoga practised in studios today runs through the Nath tradition. The Naths are a lineage of yogis who trace their teaching from Shiva (Adinatha) through two great masters: Matsyendranath and his disciple Gorakhnath.

The Hatha Yoga Pradipika names them directly. Svatmarama writes that Matsyendra, Goraksha and others knew the science of Hatha, and that he learned it by their grace. He then lists a line of earlier masters beginning with Adinatha and Matsyendra. Most historians agree that Gorakhnath lived some time between the 11th and 13th centuries, though the dates are uncertain, and many later Hatha texts are attributed to him or his followers.

What the Naths gave yoga is much of what we now call “Hatha”: the idea that the body itself can be refined through postures, breath control, cleansing practices, locks (bandhas) and seals (mudras), to prepare the mind for meditation. The six cleansing practices of the shatkarma, for instance, come straight out of this tradition; our guide to yoga and satkarma explains them.

Matsyendranath in the Kathmandu Valley

In Nepal, these yogis aren’t distant figures in old books; they are part of the festival calendar. The most famous example is Rato Machhindranath, the “red Matsyendranath” of Patan and Bungamati.

The best-known legend tells of a twelve-year drought in the valley. Gorakhnath, offended at being ignored when he came seeking alms, sat down to meditate on the serpents who bring the rain, and the rain stopped. The Licchavi king Narendra Deva and his companions went to fetch Gorakhnath’s teacher, Matsyendranath, from Kamarupa in present-day Assam. When Gorakhnath heard his guru had come, he stood up to greet him, the serpents were released, and the rain returned.

That story is still re-enacted every year. For weeks before the monsoon, a towering chariot carrying Rato Machhindranath is pulled through the streets of Patan, and the chariot is rebuilt in full at Bungamati every twelve years. The festival is one of the longest in the valley.

The deity also shows how Nepal blends traditions. Hindus worship him as Matsyendranath, the yogi. Newar Buddhists worship the very same image as Karunamaya, a form of Avalokiteshvara, the bodhisattva of compassion. Few places on earth show yoga and Buddhism sharing a single altar so naturally.

Gorakhnath and the name “Gorkha”

Gorakhnath’s mark on Nepal goes further still. According to tradition, the hill town of Gorkha, seat of the Shah kings who later unified Nepal, takes its name from him. A small cave temple below Gorkha Durbar is said to be where he meditated, and it is still a place of pilgrimage. The word “Gurkha”, the name of the famous soldiers, comes from Gorkha. So, by that tradition, the name of a medieval yogi travelled from a hillside cave to every corner of the world.

Who the Naths are today

The Nath tradition is still alive. Nath yogis are often called Kanphata, “split-ear”, after the large earrings that initiates wear through the cartilage of the ear. Many keep a sacred fire (dhuni), wear ash and ochre, and greet each other with “Alakh”, a call to the formless absolute.

The main seat of the order today is the Gorakhnath temple in Gorakhpur, just across the border in India, but Nath shrines and monasteries are scattered through Nepal’s hills and the Terai. If you meet Nath sadhus at Pashupatinath during Maha Shivaratri, you are meeting a lineage that helped write the rules of the Hatha yoga you practise.

Lumbini: Where the Buddha Was Born

Yoga and Buddhism grew from the same soil. The ascetics, or shramanas, of ancient northern South Asia practised meditation, breath control and renunciation long before these traditions were given separate names.

Lumbini, the birthplace of the Buddha, lies in the plains of southern Nepal. A stone pillar raised by the emperor Ashoka in the 3rd century BCE marks the spot, and its inscription identifies Lumbini as the place where the Buddha was born. UNESCO inscribed the site as a World Heritage property in 1997. The exact years of the Buddha’s life are still debated, but most historians place them in the 5th or 6th century BCE.

Early Buddhist texts record that after Prince Siddhartha left home, he studied meditation with two teachers, Alara Kalama and Uddaka Ramaputta. He mastered the deep absorption states they taught, but left both because those states did not end suffering. That journey shows how developed meditation already was in his lifetime. The methods that would later be called yoga and the methods that became Buddhism were being explored side by side.

For yoga practitioners, Lumbini is a reminder that meditation, not posture, sits at the centre of these traditions. The Buddha’s teaching on the Four Noble Truths and the Noble Eightfold Path became one of the great meditative systems of Asia. Its Himalayan forms are still alive in the valley’s monasteries; our guide to monasteries in Nepal explains how to visit them respectfully.

The Upanishadic Thread: King Janaka and Mithila

In the plains of south-eastern Nepal lies Janakpur, which tradition identifies with the capital of the ancient kingdom of Videha and its philosopher-king, Janaka. Janakpur is best known as the birthplace of Sita in the Ramayana, but Janaka also matters to yoga.

In the Brihadaranyaka Upanishad, one of the oldest Upanishads, King Janaka of Videha hosts the sage Yajnavalkya and questions him about the self, death and liberation. These dialogues contain some of the earliest teachings on the inner self (atman) that later yoga philosophy built on. Janaka is also the student in the Ashtavakra Gita, a later and much-loved text on non-dual awareness.

Whether the historical Videha capital lay exactly where Janakpur stands today can’t be proven. But the tradition places one of yoga philosophy’s founding conversations in what is now Nepal, and the people of Mithila still honour it.

Tantra and Vajrayana in the Kathmandu Valley

From around the second half of the first millennium CE, tantric traditions, both Hindu and Buddhist, flourished in the Kathmandu Valley. They used mantra, visualisation, breath and subtle-body practices, and they deeply influenced Hatha yoga’s map of energy channels (nadis) and centres (chakras).

The Newar Buddhists of the valley kept Sanskrit Buddhist and Vajrayana traditions alive for centuries, and many Sanskrit Buddhist manuscripts survived in Nepal after they had disappeared elsewhere in South Asia.

South of Kathmandu, at Pharping, two caves are linked to Padmasambhava (Guru Rinpoche), the 8th-century tantric master revered as having brought Vajrayana to Tibet. Tradition holds that he practised in the Yanglesho and Asura caves before he crossed the Himalaya, and Tibetan pilgrims still press their foreheads to a handprint in the rock of the Asura cave. Pharping is one of the most important Buddhist pilgrimage sites in the valley, and it makes a peaceful half-day trip from Kathmandu.

This tantric layer is where much of yoga’s language of mantra comes from. If you’ve wondered why classes begin with a syllable, our guide to Om chanting explains its meaning and roots.

Where Patanjali and the Yoga Sutras Fit

Many articles call Patanjali “the father of yoga” or “the father of modern yoga”. Neither is quite right. Patanjali didn’t invent yoga; he gathered and systematised ideas that were already old, drawing on Samkhya philosophy, Buddhist meditation and earlier ascetic practice. And modern postural yoga owes far more to Hatha yoga and 20th-century teachers than to the Yoga Sutras, which say very little about postures.

The date is also less certain than many blogs suggest. Older estimates placed Patanjali as early as the 2nd century BCE. Recent scholarship, especially the work of the Indologist Philipp Maas, places the Yoga Sutras and their earliest commentary around 400 CE. Most scholars now favour a date somewhere in the first few centuries CE.

What Patanjali did give yoga is its classic definition, yogas chitta vritti nirodhah (yoga is the stilling of the movements of the mind), and the eight limbs, from ethical restraints to meditative absorption. Our guide to Ashtanga yoga and the eight limbs walks through them, and our article on the philosophy of Hatha yoga explains how the Nath tradition built on them.

A Timeline of Yoga’s Threads Through Nepal

PeriodWhat happenedNepal connection
First millennium BCEUpanishads teach the inner self and meditationKing Janaka of Videha, traditionally linked with Janakpur
c. 5th–6th century BCE (debated)Siddhartha Gautama is born, studies meditation and becomes the BuddhaBorn at Lumbini in southern Nepal
3rd century BCEEmperor Ashoka marks the Buddha’s birthplace with an inscribed pillarAshoka pillar at Lumbini
c. 400 CE (most likely)Patanjali’s Yoga Sutras are compiledClassical yoga philosophy spreads across the region
466–645 CEEarliest dated Shaiva inscriptions in the Kathmandu Valley; Pashupata ascetics appearPashupatinath emerges as a major Shaiva centre
8th centuryPadmasambhava practises tantric meditationYanglesho and Asura caves, Pharping
c. 11th–13th centuryMatsyendranath and Gorakhnath’s Nath lineage shapes Hatha yogaRato Machhindranath festival; Gorakhnath shrines at Gorkha and Mrigasthali
15th centurySvatmarama writes the Hatha Yoga Pradipika, honouring Matsyendra and GorakshaNath ascetics active across Nepal’s hills
2014The UN declares 21 June the International Day of YogaCelebrated in Kathmandu and across Nepal every year

Myths About Yoga’s Origins Worth Letting Go

  • “Yoga was invented in Nepal” (or “only in India”). Yoga grew across a shared cultural region long before today’s borders. Nepal holds key places in that story, not the whole of it.
  • “Yoga is proven to be 5,000 years old.” The oldest firm textual evidence for yoga as a practice is much later. The Indus “yogi seal” is an open question, not proof.
  • “Patanjali is the father of modern yoga.” He systematised yoga philosophy. Modern posture practice comes mostly from Hatha yoga and 20th-century teachers.
  • “The Yoga Sutras were written in 200 BCE.” That’s one older estimate. Current scholarship mostly favours the early centuries CE, with around 400 CE a strong candidate.
  • “Hatha yoga means gentle yoga.” In its original texts, Hatha is a demanding discipline of posture, breath, cleansing and meditation. The “gentle” label is a modern studio convention.

Yoga in Nepal Today

Nepal’s yoga traditions never died out. Sadhus still gather at Pashupatinath, Nath ascetics still keep their shrines, and the valley’s monasteries still hold morning prayers. What has changed is who comes to learn.

Since the late 20th century, Kathmandu and Pokhara have become places where travellers come not only to trek but to study yoga and meditation. Many arrive for a short retreat and leave with a lasting practice. Others come to train as teachers, drawn by the chance to learn yoga close to where its lineages took root, often at a lower cost than in the West.

Every year on 21 June, the International Day of Yoga brings mass practice sessions to parks and public squares across Nepal, from Kathmandu to the Terai.

The best way to experience this living tradition is to practise in it: rise early, chant with a group, sit in silence as the valley wakes up, and then visit the places where the story happened.

A Yoga Pilgrimage in Nepal: Places to Visit

If you want to see these threads for yourself, here are the places that matter most, with rough travel times from central Kathmandu. Road times vary a lot with traffic and season.

PlaceWhy it matters to yogaGetting there from Kathmandu
Pashupatinath and MrigasthaliOldest major Shiva shrine in the valley; sadhus; Gorakhnath shrine in the forest aboveIn the city, about 20–40 minutes by taxi
Patan and BungamatiHome of Rato Machhindranath; the chariot festival before the monsoonAbout 30–60 minutes by road
PharpingPadmasambhava’s meditation caves; Vajrayana monasteriesAbout 1–1.5 hours by road
Budhanilkantha and ShivapuriThe reclining Vishnu; forest trails to Nagi Gompa nunnery and the Vipassana centre at the park edgeAbout 45–75 minutes by road, north of the city
GorkhaGorakhnath cave temple below Gorkha Durbar; the town named after himUsually 5–6 hours by road
LumbiniBirthplace of the Buddha; Ashoka pillar; international monasteriesAbout 1 hour by air to Bhairahawa, then a short drive; or a long day by road
JanakpurAssociated with King Janaka and Sita; Janaki MandirAbout 30 minutes by air; or a long day by road

A good plan for first-time visitors: spend a few days practising in the valley, visit Pashupatinath, Patan and Pharping as day trips, then add Lumbini if you have time.

When to Go: Festivals That Bring the History to Life

Several of these places come fully alive at particular times of year. Festival dates follow the lunar calendar, so they move each year; check the dates before you travel.

FestivalUsual seasonWhereWhat you’ll see
Maha ShivaratriFebruary or MarchPashupatinathThousands of sadhus, including Nath yogis, gathered around fires; all-night worship of Shiva
Rato Machhindranath JatraBegins around April–May and can run for weeksPatan and BungamatiThe towering chariot pulled through Patan; the Bhoto Jatra ceremony at the end
Buddha JayantiApril or May (full moon)Lumbini, Swayambhunath, BoudhanathCelebrations of the Buddha’s birth, awakening and passing
Janai PurnimaAugust (full moon)Gosaikunda and Kumbheshwar, PatanPilgrims at the sacred lakes; sacred threads renewed

Practical tips for visiting sacred sites

  • Know the access rules. The inner courtyard of Pashupatinath’s main temple is open only to Hindus. Everyone can walk the grounds and watch from the terraces across the river.
  • Be respectful at the ghats. Pashupatinath is Nepal’s main cremation site. Watch quietly, and don’t photograph grieving families.
  • Dress modestly and remove shoes where others do. At Buddhist sites, walk clockwise around stupas and prayer wheels.
  • Ask before photographing sadhus. Some will expect a small donation; others prefer not to be photographed at all.
  • Go with someone who knows. A local teacher or guide can explain what you’re seeing, and that turns sightseeing into understanding.

What This History Means for Your Practice

Knowing where yoga comes from isn’t just interesting background. It changes how you practise.

  • Posture was never the goal. From the Upanishads to the Buddha to the Naths, every tradition in this story aimed at a still, clear mind. Asana was a means of preparing the body for that stillness. Ending each practice with a few minutes of sitting honours that.
  • Breath and body go together. The Nath yogis treated breath control and cleansing as seriously as postures. Adding even five minutes of pranayama to your practice brings it closer to Hatha yoga as it was taught.
  • Lineage matters. These traditions were passed from teacher to student, not learned from a book. A good teacher still makes a difference no app can replace.
  • Traditions can share. In the Kathmandu Valley, Hindus and Buddhists honour the same deities and walk around the same stupas. Yoga doesn’t require you to choose a religion; it asks you to practise sincerely.

Learning Yoga Where Its Lineages Took Root

Nepal Yoga Institute is based in Budhanilkantha, at the northern edge of the Kathmandu Valley. Our residential ashram sits below Shivapuri Nagarjun National Park, the forested hills where generations of sadhus and meditators have walked. Mornings begin with chanting and pranayama, days follow a simple ashram rhythm, and the city’s pilgrimage sites are within reach for weekend visits.

Our teaching follows the traditional Hatha and Ashtanga approach, with philosophy taught alongside practice, so students understand the lineage behind each posture and breath. You can read more about life at our yoga ashram in Nepal.

Frequently Asked Questions About the Origin of Yoga in Nepal

1. Did yoga originate in Nepal or India?

Yoga grew across ancient northern South Asia, a region that included parts of today’s Nepal and India long before the modern border existed. Neither country “invented” it alone. Nepal holds several key places in its history, including Pashupatinath, Lumbini and the Nath yogi lineages.

2. Who is considered the first yogi?

In yogic tradition, Shiva is the first yogi, called Adinatha or Adiyogi. The Hatha Yoga Pradipika opens by honouring Adinatha as the teacher of Hatha yoga. This is a sacred tradition rather than a historical claim.

3. Who were Matsyendranath and Gorakhnath?

They were the founding masters of the Nath tradition, which shaped Hatha yoga. Matsyendranath is traditionally Gorakhnath’s guru. In Nepal, Matsyendranath is honoured as Rato Machhindranath in Patan, and the town of Gorkha is traditionally named after Gorakhnath.

4. Is Gorkha really named after Gorakhnath?

That is the traditional explanation, and a cave temple to Gorakhnath sits below Gorkha Durbar. Some local accounts give other origins for the name, so it’s best described as a strong tradition rather than a proven fact.

5. How old is Pashupatinath temple?

The oldest dated evidence of Shiva worship in the Kathmandu Valley comes from Licchavi-era inscriptions dated 466–645 CE, which already show Pashupatinath as a major centre. Chronicles claim an older origin, but that can’t be confirmed. The present main temple building is much later.

6. Was the Buddha a yogi?

Before his awakening, Siddhartha studied meditation with two teachers, Alara Kalama and Uddaka Ramaputta, and practised severe ascetic disciplines. Buddhism and yoga grew from the same contemplative culture, though they developed different philosophies and goals.

7. Where was the Buddha born?

At Lumbini in southern Nepal, near the Indian border. An inscribed pillar raised by Emperor Ashoka in the 3rd century BCE identifies the site, and UNESCO listed it as a World Heritage property in 1997.

8. When were the Yoga Sutras written?

Dates range from the 2nd century BCE to the 5th century CE. Current scholarship mostly favours the early centuries CE, with a strong case for around 400 CE.

9. Is Patanjali the father of yoga?

Not exactly. Patanjali organised existing yoga philosophy into the Yoga Sutras and gave it a classic definition and the eight limbs. Yoga as a practice is older, and modern posture-based yoga comes mainly from the Hatha tradition.

10. What is Hatha yoga’s connection to Nepal?

Hatha yoga took shape largely through the Nath yogis, whose founding masters Matsyendranath and Gorakhnath are deeply woven into Nepal’s festivals, shrines and place names. Nath ascetics have lived and practised in Nepal’s hills for centuries.

11. Why do Hindus and Buddhists worship the same deity at Bungamati?

The deity of Bungamati and Patan is honoured by Hindus as Matsyendranath, the yogi, and by Newar Buddhists as Karunamaya, a form of the bodhisattva Avalokiteshvara. It reflects the Kathmandu Valley’s long tradition of shared sacred sites.

12. What are the best places in Nepal to learn about yoga’s history?

Start with Pashupatinath, Patan and Bungamati, and Pharping, all within easy reach of Kathmandu. With more time, add Lumbini and Gorkha. Visiting with a teacher or guide who knows the traditions makes each site far more meaningful.

13. Is Nepal a good place to study yoga today?

Yes. Nepal offers living traditions, quiet ashram settings in the hills and costs that are usually lower than in the West. Kathmandu and Pokhara both have established schools offering retreats and teacher training.

14. When is the International Day of Yoga?

It falls on 21 June every year. The United Nations declared it in 2014, and it is celebrated with public yoga sessions across Nepal.

Yoga’s story in Nepal isn’t something you only read about. You can walk it: from the sadhus’ terraces at Pashupatinath to the caves of Pharping and the quiet garden at Lumbini. If you’d like to practise where so much of this history unfolded, we’d be glad to welcome you to Budhanilkantha.