यम नियमyama niyama

Yamas and niyamas: yoga's ethics, the first two limbs

Before posture or breath, Patanjali starts with how you live. The five yamas and five niyamas explained one by one, what the Yoga Sutras say each one brings, and how to practise them in an ordinary week.

Most yoga classes start with the body. Patanjali starts somewhere else. The first two of his eight limbs aren’t postures or breathing exercises at all: they’re ethics. Before you sit, before you breathe, the Yoga Sutras ask how you live.

That isn’t moralising. It’s practical. A mind busy with lies, grudges, greed and guilt can’t settle, however long you sit. The yamas (restraints) and niyamas (observances) clear the ground so the inner practice can work.

The five yamas: how you treat the world

अहिंसासत्यास्तेयब्रह्मचर्यापरिग्रहा यमाः

ahiṃsā-satyāsteya-brahmacaryāparigrahā yamāḥ

Non-harm, truthfulness, not stealing, sexual restraint and not grasping are the yamas.

Swami Vivekananda: “Non-killing, truthfulness, non-stealing, continence, and non-receiving, are called Yama.”

Yoga Sutras 2.30

Patanjali adds that when they’re kept everywhere, regardless of birth, place, time or circumstance, they become the great vow (mahāvrata, 2.31). No exceptions for “but it’s my job” or “but they started it”.

Ahiṃsā: non-harm

The root of all the others. Not only not hurting others physically, but in words and in thought too. The oldest commentary, attributed to Vyasa, says the other yamas and niyamas exist to make ahiṃsā complete. The sutra says: around someone established in non-harm, hostility falls away (2.35).

Satya: truthfulness

Speech that matches what you know. The commentary adds a condition: truth should serve the good of others. True words used to wound are not satya. The sutra says: for one established in truth, actions bear their fruit (2.36), so their words come true.

Asteya: not stealing

Not taking what isn’t given. That includes the subtler kinds: credit, time, attention. The sutra says: to one established in non-stealing, all treasures come (2.37).

Brahmacarya: sexual restraint

Literally “moving in Brahman”. Traditionally it means celibacy, and for monks it still does. Many modern teachers of householders read it as moderation and faithfulness: sexual energy used with care, not wasted. The sutra says: it brings vigour (vīrya, 2.38).

Aparigraha: not grasping

Not hoarding, not clinging to possessions or to more than you need. The sutra says: when it’s firm, you come to understand the how and why of your own existence (2.39).

The five niyamas: how you treat yourself

शौचसन्तोषतपःस्वाध्यायेश्वरप्रणिधानानि नियमाः

śauca-santoṣa-tapaḥ-svādhyāyeśvara-praṇidhānāni niyamāḥ

Cleanliness, contentment, discipline, self-study and surrender to the Lord are the niyamas.

Swami Vivekananda: “Internal and external purification, contentment, mortification, study, and worship of God, are the Niyamas.”

Yoga Sutras 2.32

Śauca: cleanliness

Of body, surroundings and food, and of the mind: clearing out envy, pride and resentment. The sutra says: it brings detachment from the body (2.40), then purity of mind, cheerfulness, focus, mastery of the senses and fitness to know the self (2.41).

Santoṣa: contentment

Being at peace with what you have, while still doing your best. Not passivity: the end of constant wanting. The sutra says: from contentment comes unsurpassed happiness (2.42).

Tapas: disciplined effort

Literally “heat”. The willingness to accept some discomfort for something better: getting up early to sit, fasting, keeping a vow when it’s hard. The sutra says: it burns away impurity, bringing mastery of body and senses (2.43).

Svādhyāya: self-study

Traditionally, the study of sacred texts and the repetition of mantra such as Om. It also means studying yourself in the light of those texts. The sutra says: it brings contact with the deity you’re devoted to (2.44).

Īśvara-praṇidhāna: surrender to the Lord

Offering your actions and their results to something larger than yourself. Patanjali names a Lord (Īśvara) without tying it to one religion’s god. The sutra says: from this, samādhi is perfected (2.45). It’s the one niyama that leads straight to the goal.

When you slip: cultivate the opposite

Patanjali is realistic. He knows angry, greedy and dishonest thoughts will come. His advice is one of the most practical lines in the whole text:

वितर्कबाधने प्रतिपक्षभावनम्

vitarka-bādhane pratipakṣa-bhāvanam

When troubled by harmful thoughts, cultivate their opposite.

Swami Vivekananda: “To obstruct thoughts which are inimical to Yoga contrary thoughts will be brought.”

Yoga Sutras 2.33

Resentment rising? Deliberately bring up goodwill. Wanting more? Remember what you already have. The next sutra explains why: harmful thoughts, whether acted on, caused or approved, end in endless pain and ignorance (2.34). Seeing that clearly is itself the opposite thought.

Practising them in an ordinary week

You don’t need to master all ten at once. Try one at a time:

You’ll find, as Patanjali promised, that the mind gets quieter. That quiet is what the posture, the breath and the meditation were looking for all along.

If you only remember one thing: in yoga, ethics come first, not as rules for being good, but because a mind at peace with how it lives is the only mind that can become still.

Where to go next

Questions people ask

What are the five yamas?

Ahimsa (non-harm), satya (truthfulness), asteya (not stealing), brahmacharya (restraint of sexual energy, traditionally celibacy) and aparigraha (not grasping or hoarding). They're listed in Yoga Sutra 2.30.

What are the five niyamas?

Shaucha (cleanliness), santosha (contentment), tapas (disciplined effort), svadhyaya (self-study and study of sacred texts) and ishvara pranidhana (surrender to the Lord). They're listed in Yoga Sutra 2.32.

What is the difference between yamas and niyamas?

The yamas are restraints that govern how you treat others and the world. The niyamas are observances that govern how you treat yourself: your body, mind and inner life.

Does brahmacharya mean celibacy?

Traditionally, yes. Classical commentaries read it as restraint of sexual activity, and for monks it means celibacy. Many modern teachers of householders read it as moderation and faithfulness, using sexual energy with care rather than giving it up.

Sources and further reading

  • Swami Vivekananda, translation and commentary on Patanjali's Yoga Sutras, in Raja Yoga (1896)
  • Patanjali, Yoga Sutras 2.29–2.45, with the Yoga Bhashya attributed to Vyasa
  • Edwin F. Bryant, The Yoga Sutras of Patanjali (North Point Press, 2009)

Keep reading