
Pain and sleep have a complicated relationship. Pain makes it harder to fall asleep. Poor sleep makes pain feel worse. It's a cycle that's frustrating to break — but thermal therapy (using heat and cold strategically) is one of the most practical tools you have.
This guide covers how heat and cold therapy work, when to use each, and how to build them into an evening routine that actually helps you sleep better.
Heat increases blood circulation to the area it's applied to. This has two main effects:
For sleep specifically, a warm bath or shower in the evening has an added benefit: it temporarily raises your core body temperature. When you get out, your body temperature drops back down — and that drop signals your brain that it's time to sleep. This is one of the more reliably documented sleep-improvement techniques in the research literature.
Cold does the opposite: it constricts blood vessels, reduces blood flow to the area, and decreases nerve conduction speed. The result:
Cold therapy works best on acute (new) injuries and inflammatory conditions. It's less useful for chronic muscle tightness, which responds better to heat.
| Condition | Better Choice | Why |
|---|---|---|
| Sore, tight muscles | Heat | Relaxes muscle fibers and improves circulation |
| Chronic lower back pain | Heat | Reduces muscle tension and spasm |
| Acute injury (first 48–72 hrs) | Cold | Limits inflammation and swelling |
| Joint swelling / inflammation | Cold | Reduces blood flow and inflammatory response |
| General evening relaxation | Heat | Promotes muscle relaxation and the thermal sleep signal |
| Post-exercise soreness (DOMS) | Either / Contrast | Cold limits inflammation; heat aids recovery later |
If you're unsure, heat is usually the right call for anything sleep-related. Cold is more specific to active inflammation and acute injury.
A 10–15 minute warm bath or shower taken 1–2 hours before your target bedtime is one of the most effective pre-sleep interventions available. The water temperature should be warm but not scalding — aim for around 104–108°F if measuring, or simply "comfortable warm."
The mechanism: the bath raises your core body temperature slightly. After you get out, your body loses heat quickly, accelerating the natural temperature drop that signals sleep onset. Multiple studies have found this shortens time to fall asleep and improves sleep quality.
If specific areas are causing pain — lower back, hips, shoulders — applying a heating pad for 15–20 minutes before bed can help reduce tension enough to make lying down more comfortable.
If you have swollen joints or an acute injury, a cold pack on the affected area for 10–15 minutes before bed can reduce discomfort enough to make sleep easier. Use a cloth barrier between ice and skin to prevent ice burn.
Important: Avoid full-body cold treatments (ice baths, cold showers) right before bed. These are stimulating, raise alertness, and work against the wind-down process your body needs.
Thermal therapy can reduce pain enough to help you fall asleep — but if your mattress is part of the problem, you're treating symptoms rather than causes.
Common mattress-related pain patterns:
If nighttime pain is a persistent issue, it's worth examining both your therapy options and your sleep surface. Browse our mattress collection, or visit one of our 5 LA Mattress Store showrooms to try options in person. Our team can help you identify whether a different firmness or mattress type might address the root cause of your discomfort.
For most lower back pain — especially chronic tightness or muscle spasm — heat is the better choice. Cold is more appropriate for acute injuries or inflammation. A heating pad on the lower back for 15–20 minutes before sleep, or a warm bath, is a commonly recommended approach.
15–20 minutes is a standard session length for localized therapy. A warm bath can be shorter — 10–15 minutes is enough to trigger the beneficial temperature-drop effect. Don't apply therapy continuously for long periods.
Yes — this is called contrast therapy. Some people alternate between the two (e.g., 10 minutes heat, 10 minutes cold, repeated 2–3 times). It can reduce muscle soreness effectively, but for evening use, end with heat rather than cold to support the wind-down process.
Research suggests both work well. A warm bath may be slightly more effective since more of the body is immersed, but a warm shower still triggers the core temperature-drop mechanism that aids sleep onset.
Yes, in some cases. Applying heat to an acutely inflamed or swollen joint can increase inflammation and worsen pain. When in doubt about whether to use heat vs. cold, consult a healthcare provider.
It may provide temporary relief, but if your mattress is the underlying cause of your pain, thermal therapy is a workaround rather than a fix. If you consistently wake up with pain that improves after you're up and moving, your mattress may be contributing. Our team at LA Mattress Store can help you evaluate whether a different mattress might address the root issue.
Buying guides and sleep advice — no email signup required.