Practitioner-reviewed Updated Jun 2026 3 clinical studies

Difficulty Sleeping Due to Pain

痛不得眠 · tòng bù dé mián

The quality of the pain that keeps you awake - whether it’s a stabbing, distending, or bloated sensation - reveals exactly which organ system is out of balance, and treating that root can break the cycle of pain and sleeplessness. Many patients notice improvement within a few weeks, though chronic patterns may take longer to resolve.

6 Patterns
14 Herbs
7 Formulas
12 Acupoints
About this page · what it is and isn't

What this is. A plain-English synthesis of how classical TCM and modern clinical research describe difficulty sleeping due to pain. Patterns and herbs come from canonical TCM sources; clinical claims are cited in the Evidence section.

What it isn't. A diagnosis. Me&Qi is an editorial team, not a licensed clinic. The pattern quiz is a thinking tool — pulse and tongue still need a person in the room. Anything in the Safety section should send you to a doctor, not a herb.

Last reviewed Jun 2026.

Educational content about Traditional Chinese Medicine — not medical advice. See a qualified practitioner for diagnosis and treatment.

Difficulty sleeping due to pain is not a single condition in TCM - it's a symptom that can arise from several distinct underlying patterns. Whether your pain is a dull ache, a sharp stabbing sensation, or a bloated discomfort, each type tells a different story about what's keeping you awake. Below, we explore the six most common TCM patterns that link pain and sleeplessness, from stress-related Liver heat to deep-seated Blood stasis. Understanding which pattern fits your experience is the first step toward restful nights.

How TCM understands difficulty sleeping due to pain

In TCM, sleep depends on the Heart housing the Shen (spirit) peacefully. Pain, wherever it occurs, disrupts the smooth flow of Qi and Blood, which can agitate the Shen and make sleep impossible. The type of pain, its location, and what makes it better or worse are crucial clues. A distending, stress-related pain in the ribs points to the Liver; a fixed, stabbing pain that worsens at night suggests Blood stasis; a heavy, oppressive chest pain with phlegm indicates Phlegm-Fire; and a dull, nagging ache may stem from a deficiency of Qi or Yin.

Each pattern reflects a different organ system imbalance. For example, the Liver governs the smooth flow of Qi - when emotional stress causes stagnation, it can generate Heat that rises to disturb the Heart. The Spleen transforms food into Qi and Blood; if it’s weakened by poor diet or overwork, it cannot nourish the Heart, leaving the Shen unanchored. The Kidneys store Yin, and when that reservoir runs low, empty Heat flares up at night, causing both aching pain and restless sleep.

Because pain-induced insomnia can arise from so many different roots, TCM does not have a one-size-fits-all treatment. Instead, a practitioner will identify the dominant pattern - or combination of patterns - by examining your tongue, pulse, and detailed symptom picture. This is why two people with the same Western diagnosis of “chronic pain and insomnia” may receive completely different herbal formulas and acupuncture point selections.

From the classical texts

「胸痹不得卧,心痛彻背者,栝蒌薤白半夏汤主之。」

"Chest Bi with inability to lie down, and heart pain that penetrates to the back, is treated with Gualou Xiebai Banxia Tang. This illustrates the classic link between chest pain and insomnia."

Jin Gui Yao Lue (Synopsis of the Golden Chamber) , Chapter on Chest Bi and Heart Pain · More references

How a TCM practitioner diagnoses difficulty sleeping due to pain

Inside the consultation

When pain makes sleep impossible, a TCM practitioner starts by asking what the pain feels like and where it lives. A dull ache tells a different story than a sharp, stabbing sensation, and pain that moves around points in one direction while a fixed, relentless spot points in another. The timing and what makes it better or worse are equally important clues.

If the pain is a distending, pressure-like sensation in the chest and ribs that flares with stress, and you feel irritable with a bitter taste in your mouth, the picture suggests Liver Qi Stagnation that transforms into Heat. The tongue is often red with a yellow coat, and the pulse feels wiry and rapid, reflecting the pent-up heat disturbing the Heart spirit.

When the pain is a fixed, stabbing sensation that worsens at night, Blood Stagnation is the likely culprit. The complexion may look dark or dull, and the tongue often shows purple spots. The pulse tends to be wiry or choppy, signaling that blood is not flowing smoothly and is directly agitating the mind.

A heavy, oppressive pain in the chest with palpitations and sticky phlegm points to Phlegm-Fire harassing the Heart. The tongue appears red with a greasy yellow coating, and the pulse is slippery and rapid. This pattern creates a sense of mental fog and restless agitation that makes falling asleep feel impossible.

If the pain is centered in the upper abdomen with bloating, belching, and acid reflux after meals, Food Stagnation in the Stomach is likely the root. The tongue coating becomes thick and greasy, and the pulse is slippery. The Stomach’s discomfort directly disrupts the Heart spirit, causing restless sleep and frequent waking.

For a dull, nagging pain accompanied by palpitations, poor memory, and a washed-out complexion, the focus shifts to Heart and Spleen Deficiency. The tongue is pale with a thin white coat, and the pulse is weak and thready. This pattern reflects a lack of Qi and blood to anchor the spirit, leaving sleep shallow and unrefreshing.

When aching pain settles in the lower back and bones, and you notice night sweats, warm palms and soles, and a dry mouth, Empty-Heat from Yin Deficiency is the underlying issue. The tongue is red with little or no coating, and the pulse is thin and rapid. The depleted Yin fluids allow heat to flare upward and disturb sleep.

TCM Patterns for Difficulty Sleeping Due to Pain

In TCM, the aim is to address the root cause, not just the symptom — it calls that root cause a “pattern.” The same difficulty sleeping due to pain can come from several different patterns, each treated differently. The quickest way to find yours is the quiz below.

Find your pattern

Tap any sign that fits how yours feels.

Private · stays in your browser
  1. 1Your signs
  2. 2What makes it worse
  3. 3What helps

Which signs match your experience?

0 selected this step
Distending or burning pain in the ribs Worse with stress and anger Irritability and explosive anger Bitter taste in the mouth Red face and eyes
Worse with Emotional stress, anger, or frustration, Greasy, spicy, or fried foods, Alcohol and coffee, Late-night screen time
Better with Cooling foods like cucumber and celery, Gentle stretching or yoga, Stress management and relaxation, Quiet, calm environment
Fixed, stabbing pain that does not move Pain that worsens at night Dark or dusky facial complexion Pain that is worse with pressure
Worse with Cold exposure, Prolonged inactivity, Emotional stress, anger, or frustration, Eating raw or cold foods, Nighttime
Better with Warm compress on painful area, Gentle movement, Rest and quiet, Warm cooked foods
Chest oppression or fullness Palpitations or a racing feeling in the chest Copious thick yellow sticky phlegm, rattling in the throat Mental restlessness, agitation, and insomnia Flushed red face and red eyes
Worse with Greasy, spicy, or fried foods, Emotional stress, anger, or frustration, Hot, stuffy weather, Alcohol and coffee
Better with Quiet, calm environment, Light, easily digested meals, Cooling drinks like chrysanthemum tea
Epigastric bloating and distending pain that worsens after eating Sour, rotten-smelling belching and acid reflux Aversion to food and its smell, loss of appetite Restless sleep with frequent waking and a feeling of fullness
Worse with Overeating or rich, greasy food, Eating late at night, Lying down immediately after meals, Stress while eating
Better with Light, easily digested meals, Gentle walking, Warmth on the abdomen, Vomiting (relieves distension)
Dull, nagging chest discomfort or palpitations Vague abdominal bloating and poor appetite Overthinking, worry, and forgetfulness Fatigue, dizziness, and a sallow complexion
Worse with Overthinking and worry, Eating raw or cold foods, Irregular meals or skipping meals, Overwork and exhaustion
Better with Eating small, warm meals, Rest and quiet, Gentle walking, Quiet, calm environment
Aching, deep pain in the lower back and knees Pain and restlessness worse at night Heat in the palms, soles, and chest (five-palm heat) Night sweats Dry mouth and throat, thirst for small sips
Worse with Greasy, spicy, or fried foods, Overwork and exhaustion, Hot, dry weather, Emotional stress, anger, or frustration
Better with Quiet, calm environment, Sipping warm water or herbal tea, Gentle stretching or yoga, Moistening foods (pear, lily bulb)

Treatment

Four ways to address difficulty sleeping due to pain in TCM — explore each, or take the quiz to see what fits you first.

Formulas traditionally used for difficulty sleeping due to pain

7 formulas across the patterns above. The right one depends on your pattern — start with the quiz if you're unsure which fits.

Jia Wei Xiao Yao San Augmented Free and Easy Wanderer Powder · Míng dynasty, 1529 CE
Slightly Cool
Courses the Liver and Resolves Constraint Clears Heat from the Liver and Blood Nourishes Blood

A widely used classical formula for emotional stress, irritability, and hormonal imbalances. It soothes the Liver, clears internal heat from pent-up frustration, strengthens digestion, and nourishes the Blood. It is especially valued for menstrual irregularities, menopausal symptoms, anxiety, and mood swings that arise from a combination of stress and underlying weakness.

Patterns
Shop · from $23
Xue Fu Zhu Yu Tang Drive Out Stasis in the Mansion of Blood Decoction · Qīng dynasty, 1830 CE
Slightly Warm
Invigorates Blood and Dispels Stasis Moves Qi and Alleviates Pain Opens the Chest and Disperses Stagnation

A classical formula designed to improve blood circulation in the chest, relieve pain, and ease emotional tension. It is widely used for chronic chest pain, stubborn headaches, insomnia, and irritability caused by poor blood flow and stagnation in the upper body.

Patterns
Shop · from $23
Shen Tong Zhu Yu Tang Body Pain Stasis-Expelling Decoction · Qīng dynasty, 1830 CE
Slightly Warm
Invigorates Blood and Dispels Stasis Unblocks the Channels and Alleviates Pain Moves Qi and Alleviates Pain

A classical formula for chronic body pain that has not responded to other treatments. It promotes blood circulation and opens the body's channels to relieve stubborn pain in the shoulders, arms, lower back, legs, or throughout the whole body, especially when caused by blood stagnation combined with Wind and Dampness.

Patterns
Shop · from $24
Huang Lian Wen Dan Tang Coptis Gallbladder-Warming Decoction · Qīng dynasty, 1868 CE
Cool
Clears Heat and Transforms Phlegm Clears Liver and Gallbladder Heat Harmonizes the Stomach and Stops Vomiting

A classical formula used to clear Heat and resolve Phlegm that is disturbing the mind and digestive system. It is commonly used for insomnia, restlessness, nausea, and a bitter taste in the mouth caused by the accumulation of Phlegm-Heat in the Gallbladder and Stomach. Think of it as a formula that calms both an agitated mind and an upset stomach by addressing the underlying combination of inflammatory Heat and sticky Phlegm.

Patterns
Shop · from $71
Bao He Wan Preserve Harmony Pill · Yuán dynasty (元朝), ~1347 CE
Slightly Warm
Promotes Digestion and Resolves Food Stagnation Harmonizes the Stomach Moves Qi

A gentle, time-tested formula for the uncomfortable, heavy feeling after overeating or consuming rich, greasy foods. It helps break down accumulated food, relieves bloating, acid reflux, nausea, and belching, and restores normal digestive movement. Often described as 'digestive first aid' in Chinese medicine, it works by clearing the blockage rather than masking symptoms.

Patterns
Shop · from $23
Gui Pi Tang Restore the Spleen Decoction · Sòng dynasty, 1253 CE (original); Míng dynasty additions by Xue Ji
Warm
Tonifies Qi Nourishes Blood Strengthens the Spleen

A classical formula that strengthens the Spleen and nourishes the Heart to address fatigue, poor appetite, insomnia, forgetfulness, palpitations, and anxiety caused by weakness of both the Heart and Spleen. It is also widely used for bleeding disorders such as heavy or prolonged menstrual periods, easy bruising, or blood in the stool that result from the Spleen being too weak to keep blood in its proper channels.

Patterns
Shop · from $23
Huang Lian E Jiao Tang Coptis and Ass-Hide Gelatin Decoction · Eastern Hàn dynasty, c. 200 CE
Cool
Nourishes Yin and descends Fire Clears Heart Fire Promotes Heart-Kidney Communication

A classical formula for people who suffer from severe insomnia and restless agitation caused by an imbalance where the body's cooling, calming resources (Yin) are depleted, allowing internal Heat to flare up. It works by cooling excess Heat in the Heart while deeply replenishing the body's Yin fluids, restoring the natural balance between the Heart and Kidneys that allows for restful sleep.

Patterns
Typical timeline for difficulty sleeping due to pain

Excess patterns like Liver Qi stagnation or food stagnation often improve within 2-4 weeks. Blood stasis and Phlegm-Fire may take 4-6 weeks to resolve. Deficiency patterns, where the body needs to rebuild Qi and Blood or Yin, typically require 6-12 weeks of consistent treatment. Acupuncture is usually given once or twice weekly, and herbs are taken daily.

Treatment principles

Across all patterns, the core treatment principle is to calm the Shen (spirit) and relieve pain, but the method varies dramatically depending on the root cause. For excess patterns, the focus is on clearing pathogenic factors - soothing Liver Qi, transforming Phlegm, moving stagnant Blood, or harmonizing the Stomach. For deficiency patterns, the priority is to nourish what is lacking - tonifying Heart and Spleen Qi and Blood, or enriching Kidney Yin to anchor the spirit. Because pain and insomnia often involve overlapping patterns, treatment is always customized to the individual's unique presentation.

What to expect from treatment

Treatment typically involves a combination of acupuncture once or twice a week and a daily herbal formula. During the first few sessions, many patients experience immediate relaxation and a temporary reduction in pain, which may lead to a better night's sleep. Over the following weeks, as the herbal medicine takes effect and the underlying imbalance shifts, the improvements become more consistent. Your practitioner will adjust your formula and point prescription as your symptoms evolve. It’s common to feel gradual progress rather than an overnight cure, especially with chronic conditions.

General dietary guidance

To support restful sleep and reduce pain, eat a balanced diet that avoids creating internal Heat, Phlegm, or stagnation. Favor cooling, easily digestible foods like leafy greens, cucumber, celery, and pear. Drink chrysanthemum or peppermint tea if you tend toward irritability and heat. Avoid heavy, greasy, or fried foods, excessive alcohol, and large meals within three hours of bedtime. A small, warm, light snack like a bowl of millet congee can be soothing if hunger disturbs your sleep.

Combining TCM with conventional treatment

TCM can generally be used alongside conventional pain management and sleep aids, but coordination is essential. Inform both your TCM practitioner and your prescribing doctor about all treatments you are receiving. Blood-moving herbs may interact with anticoagulants, and sedative herbs can amplify the effects of sleep medications. Your TCM practitioner may suggest a slight time gap between taking herbs and pharmaceuticals. Never stop or reduce your prescribed medications without consulting your doctor first. If you experience any unusual symptoms, report them immediately.

*These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease.

Safety & special considerations

Seek urgent medical care — not a TCM practitioner — if you have:
  • Sudden, severe pain that is unlike anything you’ve felt before — This could indicate a serious condition such as a ruptured organ, aneurysm, or acute injury requiring immediate evaluation.
  • Pain accompanied by chest tightness, shortness of breath, or sweating — These may be signs of a heart attack or pulmonary embolism - call emergency services right away.
  • Pain with a high fever, stiff neck, confusion, or sensitivity to light — Possible meningitis or serious infection - seek urgent medical attention.
  • Pain after a traumatic injury with loss of function, numbness, or deformity — Fractures, dislocations, or nerve damage need immediate Western medical assessment.
  • Worsening pain that does not respond to any treatment and is accompanied by unexplained weight loss — This could signal an underlying malignancy or systemic disease that requires investigation.

Audience-specific guidance — open what applies to you

Evidence & references

Acupuncture has the most robust evidence for insomnia, with a 2012 Cochrane review concluding that acupuncture may be more effective than sham acupuncture and as effective as medication for improving sleep quality, though the quality of evidence was moderate. However, studies specifically focused on pain-related insomnia are fewer and often small. Many trials combine acupuncture with usual care for chronic pain and note secondary improvements in sleep, but the direct effect on pain-induced insomnia is not always isolated.

Chinese herbal medicine formulas such as Xue Fu Zhu Yu Tang and Gui Pi Tang have been studied in Chinese-language RCTs for insomnia with positive results, but these studies rarely meet Western standards for blinding and placebo control. The evidence is therefore promising but not yet conclusive. Future research should focus on well-designed trials that specifically target the mechanism of pain disrupting sleep, using validated pain and sleep outcome measures.

Key clinical studies

Bottom line for you

This Cochrane systematic review included 33 trials and found that acupuncture may be more effective than sham acupuncture and as effective as medication for improving sleep quality, with fewer side effects. It did not specifically analyze pain-related insomnia but provides moderate-quality evidence for acupuncture's general efficacy.

Acupuncture for insomnia

Cheuk DKL, Yeung WF, Chung KF, Wong V. Acupuncture for insomnia. Cochrane Database of Systematic Reviews 2012, Issue 9. Art. No.: CD005472.

10.1002/14651858.CD005472.pub3
Bottom line for you

This meta-analysis of 46 RCTs demonstrated that acupuncture significantly improved sleep quality compared to no treatment and sham acupuncture, with effects sustained at follow-up. It supports acupuncture as a viable option for insomnia, though pain-related subtypes were not the primary focus.

Acupuncture for primary insomnia: a systematic review and meta-analysis

Zhang Y, et al. Acupuncture for primary insomnia: a systematic review and meta-analysis. Sleep Medicine Reviews. 2019;48:101210.

Bottom line for you

This trial found that auricular acupuncture improved both sleep quality and pain intensity in patients with chronic low back pain, suggesting a dual benefit. It provides direct evidence that addressing pain with acupuncture can lead to better sleep outcomes.

Effect of auricular acupuncture on sleep quality in patients with chronic low back pain: a randomized controlled trial

Chen X, et al. Effect of auricular acupuncture on sleep quality in patients with chronic low back pain: a randomized controlled trial. Acupuncture in Medicine. 2018;36(4):222-229.

Classical text references

One quote is featured above in the Understanding section — the rest are listed here for the classically inclined.

「诸痛痒疮,皆属于心。」

"All pain, itching, and sores belong to the Heart. This principle explains why pain disturbs the Heart spirit and leads to insomnia."

Huang Di Nei Jing (Yellow Emperor's Inner Classic), Su Wen
Chapter 74

Frequently asked questions

Common questions about using Traditional Chinese Medicine for difficulty sleeping due to pain.

Continue exploring

Where to go next from here.