About three out of four people with knee osteoarthritis report poor sleep or insomnia, so if your knees are keeping you up at night, you’re dealing with one of the most common consequences of the condition. The good news: a combination of positioning changes, pre-bed habits, and simple pain management strategies can make a real difference. Here’s what actually works.
Why Knee Arthritis Hurts More at Night
During the day, you’re moving around, which keeps your knee joints lubricated and loose. When you lie still for hours, that movement stops. Fluid can pool around inflamed tissue, and the joint stiffens. The inflammation itself involves your body’s immune signaling molecules irritating the nerve endings inside and around the joint. Without the distraction of daily activity, your brain also has less competing input, which makes pain feel more intense in a quiet, dark room.
Research tracking osteoarthritis patients over eight years found that about 10% experienced consistently poor sleep throughout the study period, while another 9% saw their sleep worsen over time. But roughly 12% actually improved, which suggests the problem responds to intervention rather than being something you simply have to live with.
Best Sleeping Positions for Knee Pain
Your sleeping position determines how much pressure lands on your knee joint. Small adjustments with pillows can change the angle and load enough to reduce pain significantly.
Back Sleepers
Place a pillow under your knees. This takes tension off the joint by keeping a slight bend rather than forcing your legs flat. Some occupational therapists also recommend a thin pillow under the small of your back to keep your spine aligned. If pain is severe, try a wedge pillow under your upper body at about a 45-degree angle, with a rolled pillow under your knees. This elevates the legs slightly relative to your torso, which can reduce swelling.
Side Sleepers
Place one or two pillows between your knees. This keeps your hips, knees, and ankles stacked in a neutral line so your top leg doesn’t pull your knee joint inward. Lie on the side that hurts less. A small pillow tucked under the curve of your waist can prevent your spine from sagging, which indirectly affects how your lower body distributes weight. Experiment with one, two, or even three pillows between your legs to find the thickness that feels right.
Pre-Bed Pain Relief That Works
Heat Therapy
Applying heat to your knee for 20 to 30 minutes before bed is one of the simplest ways to reduce stiffness and ease into sleep. Heat relaxes the muscles around the joint and increases blood flow, which helps with the aching, deep-tissue pain that’s typical of arthritis. A heating pad, warm towel, or microwavable heat wrap all work. Just avoid falling asleep with a heating pad on, since prolonged direct heat can burn skin.
Cold therapy (15 to 20 minutes with an ice pack wrapped in a cloth) is better if your knee is actively swollen or feels warm to the touch. Some people alternate: ice first to calm inflammation, then heat to loosen the joint before climbing into bed.
Topical Anti-Inflammatory Gels
Topical anti-inflammatory gels applied directly to the knee are as effective as oral versions for osteoarthritis pain relief and joint stiffness, according to a meta-analysis of eight clinical trials. The practical advantage at bedtime is significant: topical versions cause far fewer stomach problems (a common issue with oral anti-inflammatories taken long-term), so you can use them nightly with less concern. The trade-off is a higher chance of mild skin irritation at the application site. The American College of Rheumatology gives topical anti-inflammatories a strong recommendation for knee osteoarthritis specifically.
Topical Capsaicin
Capsaicin cream, made from the compound that gives chili peppers their heat, is conditionally recommended for knee osteoarthritis. It works by gradually desensitizing the nerve endings in your skin. It takes a week or two of consistent use before you’ll notice much benefit, and it burns a bit at first. Apply it well before bed and wash your hands thoroughly afterward.
Gentle Movement Before Bed
A few minutes of gentle stretching before sleep can reduce the stiffness that builds overnight. You don’t need a full workout. The goal is just to move the joint through its comfortable range so it’s less likely to seize up once you’re lying still.
One effective stretch: lie on your back, reach both hands behind one thigh, and gently pull that leg toward your chest until you feel a stretch in your hip and glute. Hold for one to two minutes, then switch sides. This opens the hip and takes indirect pressure off the knee. You can also press gently on the inside of your raised knee with your palm to deepen the hip stretch. If your knees are very stiff, walk around the house for a few minutes first to warm up before stretching. Done consistently, even simple stretches like these provide noticeable relief over time.
Your Mattress and Bedroom Setup
A mattress that doesn’t relieve pressure at your joints will make every other strategy less effective. You want something that cushions your knees and hips (especially if you’re a side sleeper) while still supporting your spine. Medium-firm mattresses tend to strike this balance for most people with arthritis. A mattress that’s too soft lets your body sink unevenly, and one that’s too firm creates pressure points right where you hurt.
Keep your bedroom cool. A room temperature around 65 to 68°F supports deeper sleep in general, and overheating can increase inflammation-related discomfort. If your knee tends to swell at night, elevating the foot of your bed slightly with a folded blanket or pillow under the mattress (not just under your legs) can help fluid drain away from the joint.
Supplements That Target Both Sleep and Pain
Melatonin, the hormone your brain naturally produces to signal sleep, has shown benefits beyond just helping you fall asleep. In a clinical trial of arthritis patients, 3 mg of melatonin taken daily for 60 days significantly improved sleep quality while also reducing pain scores and overall disease activity compared to placebo. The dual effect makes it particularly useful when pain and poor sleep are feeding each other, since less sleep lowers your pain threshold, and more pain disrupts your sleep.
Daytime Habits That Affect Nighttime Pain
What you do during the day has a direct impact on how your knee feels at night. The American College of Rheumatology strongly recommends exercise, weight management, and self-management programs as foundational treatments for knee osteoarthritis. These aren’t just general wellness suggestions. Excess body weight multiplies the force on your knee with every step: losing even 10 to 15 pounds can meaningfully reduce nighttime pain.
Low-impact exercise like walking, swimming, or tai chi (which also carries a strong recommendation) keeps the joint mobile and strengthens the muscles that stabilize your knee. Stronger muscles absorb more shock, which means less irritation to the joint by the time you get into bed. Cognitive behavioral therapy is conditionally recommended as well, particularly for people whose pain and sleep problems have become a reinforcing cycle. It teaches techniques for managing the anxiety and hypervigilance that can develop when you start dreading bedtime because of pain.
A knee brace worn during the day can also reduce the cumulative stress on your joint, so there’s less inflammation to deal with at night. Bracing is strongly recommended for pain on the inner or outer side of the knee, and conditionally recommended for pain behind or around the kneecap.

