sn 20.7
SN

The Peg (Ani Sutta)

First published: February 26, 2026

What you learn

This sutta uses the vivid metaphor of a roof peg to illustrate how greed, hatred, and delusion are the fundamental supports that hold together the entire structure of suffering. You'll discover how these three unwholesome roots function as the essential "pegs" that keep the house of samsara intact, and how their removal leads to the collapse of all suffering.

Where it sits

This teaching appears in the Samyutta Nikaya's collection of brief similes (Opamma Samyutta), which uses everyday objects and situations to illuminate profound dhamma principles. It complements other suttas that analyze the three roots of unwholesome action from different angles.

Suggested use

Approach this sutta as a contemplative tool for understanding the foundational nature of the three poisons in your own experience. Use the roof peg image during meditation to investigate how greed, hatred, and delusion function as the structural supports for your personal patterns of suffering.

Guidance

Start here. Read the original text in the other tabs.

SN 20.7 — The Peg (Ani Sutta)

sn20.7:gu:0001

Guidance (not part of the sutta)

sn20.7:gu:0002
What This Discourse Is Really About
sn20.7:gu:0003

The Buddha teaches how deeply rooted mental defilements can be dislodged through persistent spiritual effort. Deeply embedded unwholesome mental habits require sustained, skillful effort to uproot. The cultivation of wholesome mental states naturally displaces unwholesome ones through repeated practice and gradual weakening of negative patterns.

sn20.7:gu:0004

This teaching addresses a fundamental challenge on the spiritual path: how to deal with persistent negative mental patterns that resist elimination through willpower alone. The Buddha's solution is neither suppression nor indulgence, but rather the cultivation of wholesome mental states that naturally displace the unwholesome ones. Positive qualities such as mindfulness, loving-kindness, or wisdom, when repeatedly cultivated, gradually weaken and eventually eliminate their negative counterparts.

sn20.7:gu:0005
Key Teachings
sn20.7:gu:0006
  • Replacement, not suppression: Unwholesome mental states are best overcome by cultivating their wholesome opposites, not by fighting them directly
  • Persistence is essential: Spiritual progress requires repeated, patient effort over time
  • Deep conditioning requires skillful means: Surface-level attempts won't dislodge deeply rooted mental habits—sustained practice is necessary
  • Natural displacement: When wholesome states are properly cultivated, unwholesome states fall away naturally
  • Practical methodology: The Buddha provides a concrete strategy rather than mere moral exhortation
sn20.7:gu:0007
Common Misunderstandings
sn20.7:gu:0008

Thinking this means violent suppression of thoughts: This teaching might suggest forcefully eliminating negative thoughts, but it actually emphasizes gentle, persistent cultivation of positive alternatives. The process requires patience and gradual development, not aggressive mental warfare.

sn20.7:gu:0009

Believing one session of practice should eliminate deep habits: People often expect immediate results, but the sutta clearly indicates that dislodging old patterns takes time and repetition. Deep mental conditioning requires sustained effort until it naturally loosens and dissolves.

sn20.7:gu:0010
Try This Today
sn20.7:gu:0011

Choose one recurring negative mental pattern you've noticed (anger, worry, self-criticism, etc.). Instead of fighting it directly, identify its positive opposite (loving-kindness for anger, present-moment awareness for worry, self-compassion for criticism). Each time you notice the unwholesome state arising, gently redirect your attention to actively cultivating its wholesome counterpart. Don't judge yourself when the old pattern returns—simply return to developing the new, positive pattern with patient persistence. Practice this redirection at least five times throughout the day, treating each instance as an opportunity to strengthen the wholesome mental state.

sn20.7:gu:0012
If This Landed, Read Next
sn20.7:gu:0013

Vitakkasanthana Sutta (MN 20 - The Removal of Distracting Thoughts): Provides five specific techniques for dealing with unwholesome thoughts, offering a detailed approach that complements this general principle of replacement.

sn20.7:gu:0014

Nagaravindeyya Sutta (SN 35.199 - The City): Explains how mindfulness guards the sense doors, showing how to prevent unwholesome states from taking root in the first place—the perfect complement to learning how to remove them once established.

sn20.7:gu:0015

Related Suttas