Why your knees hurt at night when you sleep on your side

Short answer: Two things happen to your knees once you settle onto your side. Cleveland Clinic notes that joints stay lubricated when you move them, and lubricate less when you are still, so a knee that felt tolerable while you were walking around can ache once you have been motionless for an hour. On top of that, lying on your side puts the knees against one another, so one joint carries the weight of the leg above it as direct contact pressure. For that second problem Cleveland Clinic suggests a small pillow between the knees when you sleep on your side, or a pillow under the knees when you sleep on your back.

What side lying actually does to the knees

On your back, the two legs sit apart and neither knee touches the other. Roll onto your side and that changes. The knees come together, and the upper leg rests on the lower one. Cleveland Clinic's guidance on knee pain at night makes this the practical reason for its side-sleeping advice: it suggests a small pillow between the knees so the knees are not pressing together and causing additional pain.

The contact is on the inner side of each knee, because that is the surface that faces the other leg. That is worth holding onto, because it explains why so many people describe night knee pain as sitting on the inside of the joint rather than the front or the back.

There is a second, quieter effect. Sleep Foundation, writing about knee pillows, describes the upper leg tending to collapse forward when nothing is between the knees, which twists the lower back out of alignment; it says a knee pillow helps keep the hips stacked and the spine aligned, and creates a supportive barrier that cushions the knees and distributes the weight of the legs more evenly. So the pillow is doing two jobs at once — separating the knees, and stopping the top leg falling across the body.

Movement, lubrication, and why night is different

The thing that makes night knee pain feel unfair is that you are doing nothing. Cleveland Clinic's explanation is that this is precisely the problem. Dr Stearns is quoted saying that when you are moving your joints, they are also staying lubricated, and when you are not moving, they do not lubricate as much.

That framing matters for what you do next. If stillness is part of the mechanism, then a set-up that locks you into one position all night is not obviously an improvement. The Arthritis Foundation makes the same point from the other direction: it warns against prolonged immobility, quoting the view that if you do not move, joints can be very stiff, and advising against devices that confine you to one position overnight. It also suggests bedding in a smooth material such as cotton, silk or microfibre so you can move freely, because friction that inhibits movement can lead to morning stiffness.

Where the pain sits, and what that points to

Knee pain at night is not one thing, and the location is the most useful piece of information you have. Pain on the inner knee has an obvious mechanical explanation in side lying that pain behind the knee does not. The table below only includes rows where a published source describes the location and the position separately, so you can see which part is mechanics and which part is a condition.

None of this is a diagnosis. It is a way of narrowing what you tell a clinician, and of working out whether the pain has anything to do with how you are lying at all.

Where night-time knee pain sits, the mechanical explanation for that location in side lying, and the position change published sources describe. Locations from AAOS OrthoInfo condition pages; position advice from Cleveland Clinic, the Arthritis Foundation and the Royal National Orthopaedic Hospital NHS Trust. Every row is drawn from a source in the list below.
Where the pain sitsWhat side lying does thereWhat published sources say to change
Inner knee (the side facing the other leg)This is the surface the two knees rest on. Cleveland Clinic describes the knees pressing together in side lying as causing additional pain. AAOS OrthoInfo places pes anserine bursitis on the inner, medial side of the knee just below the joint, and about two to three inches below the joint on the shin.Cleveland Clinic suggests a small pillow between the knees when sleeping on your side. The Arthritis Foundation says to place one or more pillows between the knees.
Outer knee, often with the outer hipCleveland Clinic describes the iliotibial band running to the outside of the knee near the bottom of the thigh bone and rubbing against the hip bone higher up; its gluteal tendinopathy page says pain starting at the greater trochanter extends down the outside of the leg to the knee, and lists lying on your side as something that makes it worse.The Royal National Orthopaedic Hospital NHS Trust advises avoiding sleeping on the sore hip and putting a pillow between the knees, or a semi-prone position to avoid direct compression on the affected hip. If both sides hurt, it suggests lying on your back with pillows under the knees.
Front of the knee, around the kneecapAAOS OrthoInfo describes patellofemoral pain as pain at the front of the knee and around the kneecap, brought on by activities that repeatedly bend the knee and by sitting for a long period with the knees bent. Side sleeping holds the knees bent for hours at a time.Cleveland Clinic's back-sleeping advice is a pillow underneath the knees rather than between them, keeping a slight bend rather than a straight or fully folded knee. The Arthritis Foundation gives the same placement for back sleepers.
Front of the kneecap, with swelling you can seeAAOS OrthoInfo describes prepatellar bursitis as inflammation of the bursa at the front of the kneecap, caused by pressure from constant kneeling or a direct blow, with rapid swelling and tenderness to the touch. It states the pain comes with activity, but not usually at night.Because the source specifically says this one is not usually a night pain, a change of position is not the expected fix. AAOS lists it among conditions to have assessed.
Behind the kneeAAOS OrthoInfo describes a Baker's cyst as a lump at the back of the knee where fluid pools in the popliteal space, with a feeling of fullness, stiffness or tightness, and notes the cyst becomes firm when the knee is fully extended and soft when the knee is bent. It lists osteoarthritis, rheumatoid arthritis and meniscus tears as underlying causes.Cleveland Clinic and the Arthritis Foundation both put the pillow under the knees for back sleepers rather than leaving the leg straight. Neither source describes a position that treats the cyst itself; AAOS frames it as a sign of another knee problem.
Both knees, a general ache with no clear spotCleveland Clinic attributes this to stillness rather than contact: joints stay lubricated when you move them and lubricate less when you do not.The Arthritis Foundation advises against being confined to one position overnight and suggests smooth bedding — cotton, silk or microfibre — so you can move freely, because friction that inhibits movement can lead to morning stiffness.

Between the knees, or under them

The two placements are not interchangeable, and the published advice separates them cleanly by position. Cleveland Clinic's night knee pain guidance suggests a small pillow between the knees for side sleeping. For back sleeping it puts the pillow underneath the knees rather than between them, so the knees keep a slight bend rather than being held straight.

The Arthritis Foundation gives the same split: when sleeping on your back, place pillows beneath your knees; when sleeping on your side, place one or more pillows between your knees. It adds that it is worth trying more than one pillow to find what is comfortable. Cleveland Clinic's general sleeping-position article also describes using a pillow as a bolster under the knees for back sleepers.

Sleep Foundation describes the side-lying placement as directly between the knees with the legs slightly bent rather than fully extended, and notes that some knee pillows are long enough to support the knees and ankles together. It also mentions the same alternative for back sleepers: a pillow under the knees to relieve lower back tension.

The top leg, the hip and the outside of the knee

If the ache is on the outside rather than the inside, the hip is usually in the story. Cleveland Clinic describes the iliotibial band as a tendon running to the outside of the knee near the bottom of the thigh bone, and rubbing against the hip bone at the greater trochanter higher up. Its page on gluteal tendinopathy says the pain often starts at the greater trochanter at the top of the thigh bone and extends down the outside of the leg to the knee or lower leg, and lists lying on your side among the things that make it worse.

The Royal National Orthopaedic Hospital NHS Trust patient guide is more specific about what to do at night. It advises that if you prefer to sleep on your side, avoid sleeping on the sore hip and put a pillow between your knees. It offers a semi-prone position — halfway between lying on your front and your side — as a way of avoiding direct compression on the affected hip, and says that if both hips are painful, one option is sleeping on your back with pillows under the knees. It also notes an eggshell mattress topper can help because it reduces the amount of compression through the hips, and advises minimising time spent with the ankles or legs crossed.

That last point is the same mechanism as the knee pillow, in daylight. Letting the top leg fall across the body closes the gap between the legs; the pillow keeps it open.

What a knee pillow can and cannot do

What the sources claim for it is narrow and mechanical. It stops the knees resting on one another, per Cleveland Clinic. It stops the top leg dropping forward and rotating the pelvis, per Sleep Foundation. That is the whole of it.

What no source in this set does is give a height, a firmness, or a material. Sleep Foundation describes the placement and the purpose, not a measurement. So the honest guidance is that the pillow should fill the gap between your knees at the width your own hips create, and that the test is whether the top leg stays roughly level with the lower one rather than sloping down towards the mattress.

It also does not fix a joint. If the underlying problem is arthritis or a tendon, the pillow is changing the loading, not the condition. Cleveland Clinic frames its side-sleeping advice as being for people who already have arthritic knees.

When to stop adjusting the bed

Healthy knees do not usually hurt at night. Cleveland Clinic's line is direct: see a healthcare provider if knee pain disrupts your day-to-day functioning or your ability to sleep, because that typically indicates an underlying condition that needs diagnosis and treatment.

The article lists a wide range of things that produce night knee pain — osteoarthritis, rheumatoid arthritis, prepatellar bursitis, tendonitis, patellofemoral pain, gout, Osgood-Schlatter disease and direct injuries including meniscus tears. Several of those have nothing to do with how you lie. A pillow that helps is useful information; a pillow that changes nothing is also useful information, and is worth mentioning when you go.

Common questions

Does a pillow between the knees actually do anything?

Two specific things, according to the sources. Cleveland Clinic's reason is contact: it keeps the knees from pressing together. Sleep Foundation's reason is alignment: without it the upper leg tends to collapse forward, and the pillow helps keep the hips stacked and the spine aligned. Neither claims it treats a knee condition.

Should the pillow go between my knees or under them?

It depends on how you lie, and the sources are consistent on this. Cleveland Clinic and the Arthritis Foundation both put the pillow between the knees for side sleeping, and under the knees for back sleeping. Under the knees keeps a slight bend rather than holding the leg straight; between the knees separates the joints and stops the top leg dropping across.

How thick should a knee pillow be?

No source in this set gives a height or a firmness. Sleep Foundation describes the placement — directly between the knees with the legs slightly bent rather than fully extended — and the purpose, which is keeping the hips stacked. The practical reading of that is that it should fill the gap your own hips create, so the top leg does not slope down towards the mattress.

Why does my knee hurt at night when it was fine all day?

Cleveland Clinic's explanation is that joints stay lubricated while you are moving them and lubricate less when you are not. It also notes that daytime activity contributes to night-time discomfort. So the pain arriving after you settle is not unusual, but the article is clear that knee pain disrupting your sleep is a reason to get it looked at.

My pain is on the outside of the knee, not the inside. Is that still a position problem?

Possibly, but the hip is likely to be involved. Cleveland Clinic describes the iliotibial band running from the hip to the outside of the knee, and says gluteal tendinopathy pain starting at the greater trochanter extends down the outside of the leg to the knee, with lying on your side listed as something that makes it worse. The Royal National Orthopaedic Hospital NHS Trust advises not sleeping on the sore hip and putting a pillow between the knees.

Is side sleeping bad for knees?

The sources do not say that. Cleveland Clinic gives side sleeping as its suggestion for arthritic knees, with the pillow added. What it identifies as the problem is the knees resting against one another, not the position itself.

When should I see someone about knee pain at night?

Cleveland Clinic's threshold is straightforward: see a healthcare provider if the pain disrupts your day-to-day functioning or your ability to sleep, because that usually points to an underlying condition needing diagnosis. Its list of possible causes includes osteoarthritis, rheumatoid arthritis, bursitis, tendonitis, gout and meniscus tears, most of which no pillow will resolve.

Where this fits

This page is one row of a larger reference. The night-time symptom reference maps 50 night-time symptoms to the sleeping position associated with each, the likely mechanical cause, what published sources say to change, and the sign that means seeing a clinician instead. For 13 of those 50, no published source describes any bedding change at all.

Also relevant here: how to place a knee pillow so it actually holds, hip pain from the same side-lying load.

Sources

How this page is written. Sleep Align is an independent research site run by one person. There is no clinician on staff, nothing here is a diagnosis, and no product is tested on anyone. Every claim above traces to a published source listed and linked, and where the evidence is thin or absent this page says so rather than filling the gap. If a symptom persists, changes, or comes with any of the warning signs described, that is a question for a clinician and not for a pillow.
Free to use with attribution. This page and its table may be quoted, reproduced or redrawn under CC BY 4.0 with a link back.

Suggested citation: Sleep Align (2026). Why your knees hurt at night when you sleep on your side Retrieved from https://sleepalign.org/knee-pain-at-night-side-sleeping/

The knee pillow is the lever here, not the head pillow Published sources point at what goes between your knees rather than what is under your head. The placement guide covers how to set it up.

Read the knee pillow guide