Shloka
Quick answer: The shloka is the classic Sanskrit verse of two 16-syllable lines, the metre of the Ramayana and Mahabharata. Learn its structure, legend, and lessons.
A shloka is the classic verse unit of Sanskrit poetry: a couplet of two sixteen-syllable lines, each divided into two padas, quarters, of eight syllables, with only a few positions in each quarter fixed as light or heavy. In its narrow sense the word names this specific metre, the anushtubh; in loose modern usage shloka has come to mean almost any Sanskrit verse or devotional stanza recited in worship.
By volume, the shloka may be the most productive verse form in human history. The Mahabharata alone is traditionally counted at around a hundred thousand shlokas, the Ramayana at twenty-four thousand, and law books, star charts, and medical treatises all chose the same metre, because its mix of firm frame and roomy interior made it the perfect vehicle for saying anything at length.
How It Works
Each half-verse of sixteen syllables breaks into two eight-syllable padas. Most syllable slots are free, but the rhythm tightens near each pada's cadence: in the standard pathya form, the second pada's fifth, sixth, and seventh syllables run light-heavy-heavy, wait for it, while the fourth pada runs light-heavy-light, giving the couplet its characteristic swing and settle. No rhyme is expected; the music is all quantity and cadence.
An English gesture at that swing, in my own lines: 'The river asked the mountain's leave, and never got it, and still went; / the mountain kept its ancient no, and wore the river like a crown.'
Where You Will See It
Tradition credits the form's birth to grief. The sage Valmiki, watching a hunter kill one of a pair of mating cranes, cursed him in words that fell spontaneously into measured quarters, and the story derives shloka from shoka, sorrow; the Ramayana he then composed fixed the metre as the epic standard. The Bhagavad Gita is mostly shlokas; so are the core texts of Hindu law, philosophy, grammar, and astronomy, and the everyday prayers millions recite at dawn.
How to Use It in Your Own Poems
The shloka's transferable design is the loose-tight line: leave most of the line metrically free, but fix the cadence, so every verse lands the same way no matter how it travels. Try quatrains of eight-syllable lines where only the final three syllables follow a set stress pattern. The Valmiki legend carries a second lesson worth keeping: strong feeling wants form, and form is what lets grief become something others can carry. Poems built on that conviction tend to reach judges and readers alike.
What poets can take from this
- Build stanzas of four eight-syllable quarters to feel the shloka's proportions.
- Fix only the cadence of each line and leave the rest free, the anushtubh's secret.
- Use the form for narrative and teaching material; it is built for sustained content.
- Do not add rhyme; let cadence and parallelism do the binding.
- Recite a few Sanskrit shlokas aloud, even without understanding, to absorb the swing.
Try it yourself
Write a poem of six four-line stanzas, eight syllables per line, in which every line ends on the pattern unstressed-stressed. Tell the story of a curse spoken in grief, and let the metre steady the anger.
Questions
What is a shloka?
Strictly, it is the Sanskrit anushtubh couplet: two sixteen-syllable lines, each of two eight-syllable quarters with fixed cadences. Loosely, the word now covers Sanskrit devotional verses in general.
Why is the shloka linked to sorrow?
A famous legend says the sage Valmiki uttered the first shloka in grief after seeing a crane killed, and Sanskrit tradition connects shloka to shoka, the word for sorrow.
Which texts are written in shlokas?
The Mahabharata, the Ramayana, and the Bhagavad Gita are the giants, along with countless works of law, medicine, astronomy, and daily prayer that adopted the same metre.
By the Writory editorial team, reviewed by working poets. Updated July 2026.
Enter a Writory poetry contest
Enter the September contest and have your own poem read and scored. That first entry makes you a Writorian.