Yamas Versus Niyamas: What Separates Restraints from Observances
Restraint towards others, discipline within yourself

Kushal K
29 Nov 2026 • 5min
The difference between yamas and niyamas comes down to direction. Yamas are restraints: five ways of holding back from harming others and the world. Niyamas are observances: five habits of discipline you cultivate within yourself. Together they are the first two limbs of the eight-limbed path that Patanjali sets out in the Yoga Sutras, and they come before posture, breath control or meditation. This is why a yoga teacher may talk about honesty before talking about asanas.
Where they sit in the eight limbs
The path is called ashtanga, meaning eight limbs. The limbs are yama, niyama, asana, pranayama, pratyahara, dharana, dhyana and samadhi. They are not a ladder you finish one rung at a time.
Today many people know Ashtanga yoga as a vigorous posture system. In the Yoga Sutras, the word describes this whole eightfold path, and posture (asana) is only its third part.
Yama and niyama come first because the rest stands on them. A mind busy with deceit, resentment or craving rarely settles into stillness, however well the body is arranged. The later limbs, such as dhyana (sustained, unbroken attention, usually translated as meditation), are easier to approach once conduct is in order.
The five yamas: what you restrain
The yamas govern how you meet the world outside you. The usual list has five:
- Ahimsa: non-harming in action, speech and thought
- Satya: truthfulness
- Asteya: not taking what is not yours
- Brahmacharya: moderation of energy and appetite, often rendered as continence
- Aparigraha: not clinging to or hoarding possessions
Each is phrased as a refusal. The yamas ask what you will not do. Ahimsa is usually treated as the root of the other four, since lying, stealing and grasping all injure someone in some way.
You practise the yamas in your dealings with family, colleagues, strangers and animals.
The five niyamas: what you cultivate
The niyamas turn attention inwards, to the quality of your own life. They are:
- Shaucha: purity and cleanliness, of body and mind
- Santosha: contentment
- Tapas: disciplined effort, literally heat
- Svadhyaya: self-study, including the study of scripture
- Ishvara pranidhana: surrender to the Divine, or to something greater than the self
Where yamas hold you back, niyamas ask you to do something regularly. Rising at a fixed hour, keeping a clean space, reading a few verses each day and sitting quietly all count. They shape character slowly, which is why they are called observances rather than rules.
The difference in short
- Direction: yamas face outwards, towards others. Niyamas face inwards, towards yourself.
- Form: yamas are abstentions. Niyamas are commitments.
- Where they are tested: yamas in relationships, niyamas in solitude.
- How they are lost: a yama can be broken in a single moment of cruelty or dishonesty. A niyama is built up or worn away over weeks of steady or unsteady effort.
The line between them is not rigid. Shaucha has a social side, since keeping your surroundings clean affects everyone. Aparigraha is as much an inner loosening of grip as an outer rule about belongings. Treat the two groups as a guide to emphasis, not a wall.
How the two groups work together
The two sets support each other. Satya needs santosha, because people usually lie out of dissatisfaction or fear. Tapas gives strength to ahimsa, because choosing the harder, kinder response takes effort.
Practising only the yamas can leave a person correct but dry. Practising only the niyamas can leave a person disciplined but self-absorbed.
Why the lists differ
Patanjali's list is the one most widely taught in yoga today. Other traditions, including some Hatha yoga texts, give longer or different lists of restraints and observances. When two sources disagree on the ten, that is a difference of lineage, not an error by either.
Trying them in daily life
You do not need to master all ten at once. Choose one yama and one niyama and watch them for a week. For example, you might pick satya, speaking plainly without exaggeration, and svadhyaya, reading a short passage each morning.
Notice where the practice comes easily and where it strains. Keep a small note of the moments you slipped, without scolding yourself. When you next sit for breath practice or meditation, see whether your mind feels any different.
Common questions
Should I practise yamas before niyamas?
Traditional teaching generally says to begin with the yamas, since they steady conduct and relationships, and then add the niyamas. In practice most people work on both together. If you must choose, ahimsa is the usual starting point, because the other yamas are said to grow from it.
Do I need to do asana to follow the yamas and niyamas?
No, you do not need an asana practice to follow the yamas and niyamas. They are part of the Yoga Sutras and apply to anyone, with or without a posture practice. Many people live by them in how they speak, spend and rest, without ever stepping on a mat.
Why do some books list different yamas and niyamas?
Lists differ because different lineages teach different lists. Patanjali's ten are the most widely taught, but some Hatha yoga texts list different or more restraints and observances. If a book names other items, check which tradition it follows before treating it as a mistake.
Related Articles
The Role of Guru in Meditation: Do You Really Need One?
A guide on the path, not a gate before it
Svadhyaya: Self-Study and Scripture Reading in Yoga
Know Yourself Through Sacred Study
The Lotus in Yoga and Hinduism: Symbol of Purity Rising from Mud
Rooted in mud, open to the light
Yukta Ahara Vihara: Moderation in Food, Sleep and Effort
The measure that makes practice last
Siddhasana: The Accomplished Pose in Yogic Tradition
The seated meditation pose of the hatha yoga texts, and how to sit in it
Sahana Vavatu: Meaning of the Teacher-Student Peace Chant
Shared protection through sacred learning


