Skip to content
Astromantra
Journal2026-11-27Yoga Sutras

Yamas and Niyamas Explained: Yoga's Ethical Foundation

Modern yoga starts with the body. Patanjali starts with character. The first two limbs of the eightfold path — yama (restraints) and niyama (observances), Yoga Sutras 2.30–2.34 — are the ethical foundation everything else stands on. Skip them, the text implies, and you're building meditation on a restless mind of your own making.

The five yamas: what to restrain

The yamas are abstentions — things to not do. Patanjali lists five (2.30) and calls them the mahavrata, the "great vow," binding in all circumstances regardless of who you are or where you live (2.31):

The five niyamas: what to cultivate

If yama is the fence, niyama is the garden — positive disciplines (2.32):

Why ethics comes first

Sutra 2.33–34 gives the practical method for when you fail: pratipaksha bhavana — cultivate the opposite. When harmful thoughts arise, deliberately dwell on their consequences and their opposites. It's cognitive reframing, 1,700 years before the term existed.

The logic of the sequence is worth sitting with. Patanjali doesn't moralize — he never says the yamas please God or earn merit. His argument is purely functional: you cannot still a mind you keep agitating. Every lie told, every harm done, every grasping thought becomes another vritti — another fluctuation — for the later limbs to quiet. Ethics isn't the decoration of yoga. It's the first technique.

It belongs to our Yoga Sutras teaching, which follows the subject through three depths, from a first map to a complete treatise. The thread continues in Dharana, Dhyana, Samadhi: The Three Stages of Meditation and The Five Kleshas in Patanjali's Yoga Sutras Explained.

More essays