Knee pain that wakes you at night is a specific problem, and it has specific solutions. The short answer: sleep on your back or side with a pillow between your knees, keep the joint slightly bent rather than locked straight, and choose a mattress that supports your spine without letting your hips sink. These changes reduce the pressure and twisting that trigger nighttime pain for many people.
What makes night pain different is that you cannot adjust your position while you are asleep. During the day you shift constantly without thinking about it. At night, a bad position can be held for hours. That is why the fix is usually about setup, not willpower.
Why Does Knee Pain Get Worse At Night?
Several things converge after dark. First, you stop moving. Joint stiffness builds when a knee stays in one position for a long stretch, and that stiffness can turn into pain. Second, inflammatory conditions often follow the body’s natural rhythm. Levels of cortisol, a hormone that helps suppress inflammation, drop during the night, so pain from inflammatory arthritis tends to be worse in the early morning hours.
Third, pressure matters. When you lie on your side, the bottom knee can press against the mattress or against the other knee. If you sleep on your back with legs flat, the knee may rest in full extension, which is uncomfortable for many people with arthritis or after injury. A slightly bent knee is usually the most comfortable position.
There is also a less obvious factor. Pain signals compete with sleep in the brain. Poor sleep lowers your pain threshold, so the same amount of joint irritation feels worse the next night. This creates a loop: pain disrupts sleep, and poor sleep makes pain feel stronger. Breaking that loop is part of the treatment, not a side note.
What Is The Best Sleeping Position For Bad Knees?
Back sleeping with a pillow under the knees is often the easiest on the joint. Placing a pillow or rolled towel under the knees keeps them slightly bent. That takes tension off the structures around the joint and can reduce morning stiffness.
If you cannot sleep on your back, side sleeping works well with one adjustment: put a pillow between your knees. This keeps your hips, pelvis, and spine aligned and stops the top knee from rolling inward or pressing on the bottom one. The pillow should be thick enough to fill the gap between your legs. A thin pillow will not do the job.
Stomach sleeping is the hardest position for knee pain. It forces the neck to twist and usually keeps one or both knees either straight or rotated. If you wake up on your stomach, try a pillow under your hips or lower legs to reduce the strain.
- Back sleepers: pillow under the knees, one under the head
- Side sleepers: pillow between the knees, plus one to keep the spine neutral
- Stomach sleepers: pillow under the hips or shins; consider training yourself to shift to your side
Changing sleep position is not easy. Most people revert to their old habits within minutes of falling asleep. Give it a few weeks, and use pillows as physical barriers that make the new position the path of least resistance.
How Do You Set Up Your Bed For Knee Pain?
Mattress firmness matters more than most people realize. A mattress that is too soft lets your hips sink lower than your knees, which twists the pelvis and puts uneven load on the joint. A mattress that is too firm creates pressure points on the hip and shoulder, which can push you into awkward positions during the night.
Medium-firm is the most commonly recommended range for people with joint pain. That is a general recommendation, not a guarantee. Individual bodies vary, and no single mattress works for everyone.
Other adjustments that help:
- A knee pillow designed to stay in place, or a firm pillow that holds its shape
- A mattress topper if your current bed is too firm
- Warm bedding. Cold can increase stiffness in arthritic joints
- Keeping the bedroom dark and cool for sleep quality, but keeping the knee itself warm with loose pajama pants or a light blanket
Heated mattress pads or a warm shower before bed can help some people with stiffness. Heat relaxes muscles around the joint and can make falling asleep easier. The evidence for heat improving joint pain itself is modest, but the comfort effect is real.
What Can You Do Before Bed To Reduce Night Pain?
What you do in the two hours before sleep affects how the night goes. Gentle movement is usually better than complete rest. A short walk, some light stretching, or a few slow range-of-motion exercises can reduce stiffness without flaring the joint.
Strength work matters too, just not right before bed. The muscles around the knee, especially the quadriceps, help stabilize the joint. Weak quads are common in people with knee osteoarthritis, and stronger quads are associated with less pain and better function in many studies. Do strengthening earlier in the day so you are not activating sore muscles at bedtime.
Ice versus heat depends on what you have. If the knee is swollen or feels hot, ice for about 15 to 20 minutes can reduce swelling. If it is stiff and achy without swelling, heat often feels better. Some people use ice before bed and heat in the morning.
Watch what you take. Over-the-counter pain relievers can help, but check with a clinician before using them regularly for sleep. Some, like ibuprofen and naproxen, are not appropriate for everyone, particularly people with kidney problems, stomach ulcers, or heart conditions. Acetaminophen is gentler on the stomach but can affect the liver at high doses. No medication should be started for nightly use without medical guidance.
When Should You See A Doctor About Night Knee Pain?
Night pain that consistently wakes you is worth evaluating. Most knee pain from osteoarthritis or overuse does not typically wake people from sleep once they are asleep. Pain that does wake you, especially if it is severe, is a reason to get checked.
See a clinician if you have:
- Pain that wakes you most nights despite position changes
- Swelling, redness, or warmth in the knee
- Fever along with knee pain
- Sudden inability to bear weight
- Locking, catching, or giving way of the knee
- Night pain that is getting worse over weeks
These signs can point to conditions that need treatment beyond home measures, including infection, gout, inflammatory arthritis, or a mechanical problem inside the joint. A physical exam and sometimes imaging can sort out which is which. Do not assume it is just arthritis.
Does Sleep Position Actually Change Knee Pain?
Position changes how much load the joint carries and how much it twists. That part is well established. What is less certain is how much a single position change reduces pain over the long term. Most of the evidence here comes from clinical experience and biomechanics rather than large trials.
What the research does support is the two-way link between sleep and pain. Poor sleep lowers pain tolerance, and pain disrupts sleep. Improving sleep quality tends to improve how pain is experienced. That means the setup changes above are not just comfort measures. They can affect the pain itself.
A pillow between the knees is one of the few interventions with almost no downside. It costs little, carries no risk, and helps many people. If it does not help after a few weeks, it is reasonable to stop and look at other causes.
What If Nothing You Try Helps?
If position changes, mattress adjustments, and pre-bed routines do not reduce night waking, the problem may need a different approach. Physical therapy can address strength, flexibility, and movement patterns that contribute to pain. Some people benefit from bracing or from weight management, since excess body weight increases load on the knees.
For persistent pain, clinicians may discuss injections, prescription medications, or in some cases surgery. These are decisions to make with a doctor, not from a general article. What works for one person may not work for another, and the evidence for each option varies.
One practical point: keep a simple log. Note what time you wake, what position you were in, and what you did before bed. Patterns often emerge within a week or two. That log is also useful information for your clinician.
Frequently Asked Questions
What is the best sleeping position for knee pain?
Back sleeping with a pillow under the knees keeps the joint slightly bent, which is often the most comfortable position. If you sleep on your side, a pillow between the knees keeps your hips and spine aligned and reduces pressure on the joint.
Why does my knee hurt more at night?
Stiffness builds when the joint stays in one position, and natural drops in anti-inflammatory hormones overnight can make pain worse. Poor sleep also lowers your pain threshold, so the same irritation feels stronger.
Should I sleep with a pillow between my knees?
Yes, if you sleep on your side. A pillow between the knees keeps the pelvis aligned and prevents the top knee from pressing on the bottom one. It is a low-risk change that helps many people.
When should I see a doctor for knee pain that wakes me at night?
See a clinician if pain wakes you most nights, or if you have swelling, redness, warmth, fever, or trouble bearing weight. These signs can point to conditions that need treatment beyond home measures.

