Arthritis pain tends to flare at night because of a biological shift that works against you while you sleep. Your body’s strongest natural anti-inflammatory, cortisol, drops to its lowest levels in the evening and stays low through the night, while inflammatory signals ramp up. That timing mismatch is why joints that felt manageable during the day can throb, ache, or stiffen once you’re in bed. The good news: several practical strategies can interrupt this cycle and help you sleep through the night.
Why Arthritis Hurts More at Night
Your immune and hormonal systems follow a 24-hour clock. During the evening and overnight hours, your body increases production of pro-inflammatory hormones, including melatonin and prolactin, which trigger a cascade of inflammatory signals in your joints. At the same time, cortisol production drops sharply. Since cortisol is the body’s most powerful built-in anti-inflammatory, its absence leaves that rising inflammation essentially unchecked. The result is a peak in joint swelling, stiffness, and pain that builds overnight and often hits hardest in the early morning hours, before cortisol climbs back up.
This isn’t something wrong with your body. It happens in healthy people too. But when you already have inflamed joints, the nightly cortisol dip amplifies the pain you feel. Understanding this timing helps explain why some of the strategies below work: they’re designed to counteract that overnight inflammatory surge or reduce the mechanical stress on joints while you’re lying still for hours.
Position Your Joints to Reduce Pressure
How you arrange your body in bed matters more than most people realize. Lying in one position for hours puts sustained pressure on inflamed joints, and poor alignment can compress nerves or stretch tissues in ways that increase pain. Strategic pillow placement can make a significant difference.
For hip pain, side sleepers should lie on the hip that hurts less and place one or more pillows between the knees. This keeps the top leg from pulling the hip joint out of alignment. If you sleep on your back, a pillow or rolled blanket beneath your knees takes pressure off both hips, and a small roll under the curve of your lower back can add extra support.
For knee pain, the same approach applies. Back sleepers benefit from a pillow under the knees to keep them slightly bent rather than locked straight. Side sleepers should experiment with one, two, or even three pillows stacked between the knees until the spacing feels right.
For neck arthritis, pillow thickness is key. Back sleepers need a thin pillow that keeps the spine in a neutral line rather than pushing the head forward. Side sleepers need a thicker pillow so the neck stays level with the head instead of bending sideways. A U-shaped travel pillow or a rolled towel tucked around the neck can also work well.
Choose the Right Mattress Firmness
A mattress that’s too firm won’t let your shoulders and hips sink in enough, creating pressure points and stiffness. A mattress that’s too soft lets those areas sink too far, pulling your spine out of alignment. Research consistently points to medium-firm as the best option. In a controlled study of 313 adults with chronic pain upon waking, those who slept on medium-firm mattresses reported greater improvement in both pain and disability compared to those on firm mattresses. A separate study found that switching from standard spring mattresses to medium-firm ones improved back pain, shoulder pain, and spinal stiffness regardless of the sleeper’s age, weight, or body size.
The goal is a mattress that keeps your spine in roughly the same curve it has when you’re standing upright. Memory foam and latex tend to do this well because they conform to your body’s shape, but the firmness level matters more than the material.
Try Heat or Cold Before Bed
Applying heat or cold to painful joints before you get into bed can reduce the pain you carry into the night. Heat relaxes muscles, increases blood flow, and eases stiffness. Cold reduces swelling and numbs sharp pain. A 20-minute application is a well-studied duration for both approaches.
For osteoarthritis with stiffness as the main complaint, a warm pack or heated blanket draped over the joint for 20 minutes before sleep tends to work best. For joints that feel swollen and hot, a cold pack wrapped in a towel is more appropriate. Some people alternate both. The key is consistency: making this part of your nightly wind-down routine so you’re starting the night with less baseline pain.
Do Gentle Range-of-Motion Exercises
Joints that haven’t moved in a while produce less of the fluid that lubricates and cushions them. A short set of gentle movements before bed can help keep that fluid circulating so your joints don’t seize up overnight. These exercises should be slow and pain-free, not stretching to your limit.
Harvard Health recommends four movements you can do even when joints are sore:
- Hands: Open your hand with fingers straight, then bend at the middle knuckles to touch your fingertips to the top of your palm. Repeat 10 times per hand. Then reach your thumb across to touch the base of your pinky finger and stretch it back out, 10 times.
- Shoulders: Lie on your back with arms at your sides. Slowly raise one arm overhead, keeping it close to your ear and your elbow straight, then lower it. Repeat 10 times per arm.
- Knees: Sit in a chair high enough to swing your legs freely. Straighten one leg, hold a few seconds, then bend it back as far as comfortable. Repeat 10 times per leg.
- Hips: Lie on your back with legs straight and about six inches apart, toes pointed up. Slide one leg out to the side and back, keeping toes pointed at the ceiling. Repeat 10 times per leg.
This routine takes about five to ten minutes and works well paired with heat therapy right afterward.
Time Your Pain Medication Wisely
When you take anti-inflammatory medication can be just as important as what you take. Research on circadian timing shows that NSAIDs like ibuprofen and naproxen are most effective when taken during active daytime hours, particularly in the morning or early afternoon. Their absorption and anti-inflammatory effects are strongest during this window. Taking them in the evening actually increases the risk of stomach irritation and kidney strain while delivering less pain relief.
This creates a practical dilemma if your worst pain is at night. Rather than taking a dose right before bed (when it’s least effective and most likely to cause side effects), a better approach is to take your medication earlier in the day so its effects carry into the evening. If you’re on a longer-acting NSAID like naproxen, a morning dose can still be providing relief at bedtime. Talk with your pharmacist or doctor about adjusting your timing rather than increasing your dose.
Wear Compression Gloves Overnight
If arthritis pain concentrates in your hands and fingers, lightweight compression gloves designed for overnight wear can help. These gloves provide mild, steady pressure that increases circulation, reduces swelling, and keeps the joints warm. The Arthritis Foundation has specifically recognized compression gloves made from soft, breathable cotton as comfortable enough for all-night use. They won’t eliminate pain, but many people find they wake up with noticeably less stiffness and achiness in the fingers and knuckles.
Be Cautious With Melatonin Supplements
This one surprises many people. Melatonin supplements are a popular sleep aid, but their relationship with arthritis is complicated and potentially harmful. Your body’s own melatonin is one of the hormones that triggers the nighttime inflammatory surge in the first place. Research on whether supplemental melatonin helps or worsens arthritis is genuinely contradictory. Some lab studies show melatonin reducing inflammatory markers in joint tissue. But multiple animal studies have found that extra melatonin worsens joint damage, increases inflammatory signals, and accelerates disease progression in models of rheumatoid arthritis. Removing the body’s melatonin-producing gland actually delayed arthritis onset and reduced severity in those same studies.
The science isn’t settled enough to say melatonin supplements are definitively harmful for arthritis. But given the conflicting evidence, if you have inflammatory arthritis and you’re taking melatonin to sleep, it’s worth discussing alternatives with your care team, especially if your nighttime symptoms have worsened since you started taking it.
Build a Consistent Pre-Sleep Routine
None of these strategies work as well in isolation as they do combined into a predictable nightly routine. A practical sequence might look like this: take your anti-inflammatory medication with dinner rather than at bedtime, do five to ten minutes of gentle range-of-motion exercises an hour before bed, apply heat or cold to your worst joints for 20 minutes, put on compression gloves if your hands are affected, and arrange your pillows for proper joint alignment before turning out the light.
Consistency matters because your body’s inflammatory cycle is driven by its internal clock. A regular bedtime helps keep that clock stable, which in turn makes the timing of your pain more predictable and your interventions more effective. Over a few weeks, this kind of routine can meaningfully reduce how often pain wakes you up and how stiff you feel in the morning.

