The Brahmaviharas directly counteract the five hindrances by cultivating mental states that oppose distraction, restlessness, and ill-will.
The five hindrances (nivarana) are mental obstacles that block meditation and insight: desire for sense pleasure, aversion or ill-will, sloth and torpor, restlessness and worry, and doubt. These are described in the Samyutta Nikaya and form the foundation of Buddhist understanding of mental obstruction. They function like clouds obscuring the sun—they don't destroy the meditator's capacity for concentration, but they prevent it from functioning clearly. Each hindrance creates a specific quality of mental disturbance: desire generates chasing after objects, aversion generates pushing away, torpor generates heaviness, restlessness generates agitation, and doubt generates confusion and hesitation.
The Brahmaviharas (divine or boundless abodes) are four qualities of heart cultivated in meditation: loving-kindness (metta), compassion (karuna), sympathetic joy (mudita), and equanimity (upekkha). These practices appear throughout the Pali Canon, notably in the Metta Sutta and the Brahmaviharas Sutta. Rather than being passive emotions, they are active mental qualities developed through deliberate practice. Loving-kindness involves extending wishes for wellbeing to all beings. Compassion responds to suffering. Sympathetic joy celebrates others' happiness. Equanimity maintains balance and non-attachment. Together, they create a unified mental state characterized by warmth, openness, and clarity.
Aversion and doubt create contraction and resistance in the mind. When a meditator practices loving-kindness, they systematically cultivate acceptance and goodwill toward themselves and others, including difficult people. This directly undermines aversion's tendency to reject and push away. Doubt typically manifests as questioning whether practice is worthwhile or whether one can succeed. Loving-kindness counters this by generating confidence and positive intention toward the practice itself. The Visuddhimagga, Buddhaghosa's comprehensive meditation manual, describes how loving-kindness practice can even dissolve ingrained patterns of self-judgment and rejection that fuel both aversion and doubt. By repeatedly returning to the phrase "may I be well, may I be happy," the meditator trains the mind toward acceptance rather than resistance.
Restlessness and worry create mental agitation and scattered attention. Compassion, by focusing attention on genuine suffering and the wish to alleviate it, gives the mind a meaningful anchor. Rather than allowing the mind to scatter across trivial concerns, compassion directs energy toward something substantial. This provides both settling and purposeful engagement. Sloth and torpor create heaviness, dullness, and lack of motivation. Sympathetic joy (mudita) is its natural antidote—by genuinely celebrating others' good fortune and happiness, the meditator generates uplifting, brightening mental energy. This joy energizes the mind and counters the depression and passivity of sloth. The Brahmaviharas Sutta notes that these states naturally arise when practitioners recognize that all beings desire happiness, just as they do.
Equanimity (upekkha) represents mature balance and works subtly to address all five hindrances simultaneously. Where the other three Brahmaviharas provide active remedies, equanimity provides spacious non-reactivity. Equanimity allows the meditator to observe hindrances arising without being hijacked by them. When desire arises, equanimity prevents grasping. When aversion arises, equanimity prevents the struggle against it. When doubt arises, equanimity permits the doubt to exist without demanding certainty. This doesn't mean suppressing hindrances but developing the mental space around them. Theravada and Mahayana traditions both emphasize that equanimity is not indifference but rather wise, compassionate non-attachment.
Most Buddhist traditions recommend cultivating Brahmaviharas specifically to overcome hindrances during formal meditation. When desire arises during sitting, practitioners shift to loving-kindness practice. When restlessness dominates, they move toward sympathetic joy. When doubt or torpor emerges, compassion or equanimity becomes the focus. The relationship is not mechanical but organic—by generating the opposite mental quality, the hindrance naturally loses power. This approach appears consistently across Theravada manuals like the Visuddhimagga and Tibetan practices described in texts like the Bodhisattva's Way of Life. The cultivation of Brahmaviharas ultimately trains the mind to recognize that the hindrances and the remedies both arise from how we relate to experience. By developing genuine warmth and openness, practitioners create the conditions for both insight and sustained concentration.