Yama and Niyama: The Ten Foundations of Yogic Discipline

Written and reviewed by The Kriya Yogi · Updated 28 September 2026

Before postures, before breath, before meditation, Patanjali places ethics. The five yamas — non-harming, truthfulness, non-stealing, moderation and non-grasping — and the five niyamas — purity, contentment, discipline, self-study and surrender — are the first two limbs of the eightfold path. The tradition treats them not as optional morality but as the ground without which the higher limbs cannot stand. This guide walks through all ten, what they mean, and how they are lived.

The short answers

  • The yamas and niyamas are the first two of Patanjali's eight limbs.
  • The five yamas are restraints: ahimsa, satya, asteya, brahmacharya, aparigraha.
  • The five niyamas are observances: saucha, santosha, tapas, svadhyaya, Ishvara pranidhana.
  • Patanjali calls the yamas the 'great vow', valid in all conditions (Sutra 2.31).
  • The tradition holds that the higher limbs fail without this foundation.

The Ethical Ground of Yoga

The Yoga Sutras open their practical teaching with the eight limbs, and the first two are not physical at all. Yama and niyama — restraint and observance — come before asana and pranayama. The order is deliberate: a mind in conflict with itself, harming, grasping and restless, cannot settle into meditation no matter how flexible the body becomes.

Patanjali calls the yamas the 'great vow' (mahavratam) — universal, not limited by class, place, time or circumstance (Sutra 2.31). They are not rules for monks only.

The Five Yamas

Ahimsa — non-harming. The first and, the tradition says, the root of all the others. Not merely avoiding violence, but abandoning the wish to harm — in act, word and thought. Sutra 2.35 says that in the presence of one established in ahimsa, enmity ceases.

Satya — truthfulness. Speech and thought in accord with reality, spoken for the good of others. The tradition pairs it with ahimsa: truth that wounds needlessly is not satya in the full sense.

Asteya — non-stealing. Not taking what is not freely given — objects, but also credit, time and attention.

Brahmacharya — moderation. The conservation and wise direction of vital energy; celibacy for renunciants, fidelity and measure for householders.

Aparigraha — non-grasping. Not hoarding, not clinging. Sutra 2.39 says that when non-grasping is steady, knowledge of the 'how and why' of life arises — freedom from the anxiety of possession.

The Five Niyamas

Saucha — purity. Cleanliness of body and clarity of mind. The tradition links it to a natural turning away from what is stale and clouded.

Santosha — contentment. Not passive resignation, but an active resting in what is. Sutra 2.42 says supreme happiness comes from contentment.

Tapas — discipline. The transformative heat of willing effort, the engine of purification.

Svadhyaya — self-study. Study of the sacred texts and, equally, honest observation of oneself.

Ishvara pranidhana — surrender. Offering the fruits of action to the divine; the release of the grip of the ego on outcomes.

Living the Ten

The tradition does not ask for perfection on day one. The yamas and niyamas are practised as directions, not achievements — and Sutra 2.34 offers a practical tool: when contrary thoughts arise, dwell on their opposites and on the suffering that acting on them brings.

Why Yamas Precede Niyamas

The sequence matters. The yamas govern one's conduct toward others — the outward-facing half of ethics — while the niyamas govern one's relationship with oneself. Classical commentary reads this ordering as practical: a person still causing harm, lying or grasping in their dealings with others has little stable ground from which to attempt inner disciplines like contentment or self-study. Ahimsa in particular is treated as the trunk from which the other nine branch; satya, asteya, brahmacharya and aparigraha are, in several commentarial readings, simply ahimsa applied to speech, property, energy and possession respectively.

The Niyamas as a Ladder Toward Surrender

The five niyamas are often read as an ascending sequence rather than five unrelated items. Saucha clears the instrument; santosha stabilises the emotional ground; tapas supplies the energy for sustained effort; svadhyaya turns that energy toward understanding; and Ishvara pranidhana finally releases the sense of personal ownership over the results of all this work. Read this way, the niyamas trace a movement from housekeeping to humility — beginning with the fairly ordinary task of tidiness and ending with the far more demanding act of letting go of the ego's claim on spiritual progress itself. Over years, the ten cease to be rules and become character.

Approaching it with care

  1. Learn the ten by name

    Five yamas, five niyamas. Write them down; simply knowing the map changes how you read your own behaviour.

  2. Work with one at a time

    Choose a single yama or niyama for a month — ahimsa in speech, say, or santosha at meals — and observe it daily.

  3. Use the opposite thought

    When you catch yourself breaking your chosen vow, pause and deliberately dwell on the opposite, as Sutra 2.34 suggests.

Cautions worth reading

  • Do not weaponise the yamas against yourself or others; they are directions for growth, not sticks for judgement.
  • The ten interlock — working on one in isolation while flagrantly ignoring the rest tends to stall.

What scholars and evidence say

The yamas and niyamas are ethical disciplines from a philosophical tradition, not medical interventions. That said, their broad content — non-violence, honesty, moderation, contentment, self-reflection — aligns closely with what modern psychology associates with wellbeing and stable relationships.

Questions people ask

+ What are the 5 yamas and 5 niyamas?
The yamas: ahimsa (non-harming), satya (truthfulness), asteya (non-stealing), brahmacharya (moderation), aparigraha (non-grasping). The niyamas: saucha (purity), santosha (contentment), tapas (discipline), svadhyaya (self-study), Ishvara pranidhana (surrender).
+ Do I need to follow them before doing yoga postures?
The tradition presents them as the foundation, but in practice they are developed alongside physical practice, not as a gate you must pass first.
+ Are the yamas like the Ten Commandments?
Superficially similar, but different in spirit: they are vows the practitioner takes on for their own liberation, not commandments imposed by an external authority.
+ Which should a beginner start with?
Ahimsa is traditionally first — beginning with non-harming toward yourself, which immediately softens how you practise everything else.

Sources

  • Patanjali, Yoga Sutras 2.30–2.45, with Vyasa's Bhashya
  • Hatha Yoga Pradipika, chapter 1
  • Bhagavad Gita, chapters 16 and 17

These are living traditions, best approached with a teacher or community where possible. Nothing here is medical advice; check with a clinician before starting a new movement or meditation practice if you have a health condition.