DeskFit DeskFit
Back & Posture

Knee pain from sitting too long: why it happens and what helps

Stiff, achy knees after a long stretch at your desk? Here is why sitting can make your knees hurt and simple ways to ease it.

Stewart Gauld
·
November 27, 2026
·
7
min read
Knee pain from sitting too long: why it happens and what helps

You stand up after a long meeting or a solid block of focused work and your knees complain. There's a dull ache around the kneecap, a bit of stiffness, maybe a click or two as you take your first steps. Knee pain from sitting too long is common among desk workers, and in most cases it isn't a sign of serious damage.

This guide explains why sitting with your knees bent can make them ache, who's more likely to notice it, and what you can do about it today: at your desk, with a few gentle exercises, and in your daily routine. You'll also find clear signs that mean it's time to get your knee checked.

Why your knees ache after sitting

The most common reason is a condition called patellofemoral pain syndrome. It sounds technical, but it simply means pain at the front of the knee, around or behind the kneecap (the patella), where it glides over the end of your thigh bone (the femur). It's sometimes nicknamed "moviegoer's knee" because a long film is a classic trigger.

Mayo Clinic lists pain after sitting for a long time with your knees bent as one of its main symptoms. Other typical signs include:

  • A dull ache at the front of the knee, around or behind the kneecap
  • Pain going up or, especially, down stairs
  • Pain when squatting, kneeling, running or jumping
  • Stiffness or discomfort when you first stand up after sitting
  • A popping or crackling feeling in the knee, which on its own and without pain is usually harmless

When your knee is bent, the kneecap presses more firmly into its groove on the thigh bone. Holding that bent position for an hour or more, without moving, keeps the pressure on the same spot. Straightening and moving the knee regularly helps share the load around the joint.

Not all knee pain from sitting is patellofemoral pain. Stiffness when you get up can also come from other causes, such as osteoarthritis, which becomes more common as we get older. That's one reason to get persistent pain looked at rather than guessing.

What makes it more likely

Sitting is usually the trigger, not the whole story. Patellofemoral pain tends to show up when the muscles around the knee and hip aren't sharing the work well. Common contributing factors include:

  • Weak thigh and hip muscles. Your quadriceps (front of the thigh) and the muscles around your hips help guide the kneecap. When they're weak, the kneecap may not track as smoothly.
  • Tight muscles. Tight hamstrings, quads or the tissues on the outside of the thigh can change how the kneecap is pulled. A Cambridge University Hospitals NHS physiotherapy leaflet names tight muscles pulling the kneecap sideways, and weak muscles not holding it in place, as common causes.
  • A sudden jump in activity. Starting a running plan, a new class or a hiking holiday after months at a desk can overload knees that aren't used to it.
  • Long, still sits. Hours in one position, especially with your feet tucked under the chair, keeps the knee deeply bent.
  • Being female. Mayo Clinic notes that women are about twice as likely as men to develop patellofemoral pain.

Many of these are linked to a desk-based day. Long hours of sitting can leave your hips tight and your leg muscles underused, which is why knee pain often turns up alongside tight hip flexors from sitting.

Woman sitting on an office chair doing a seated knee extension, one leg straightened out in front with toes pointing up
A seated knee extension works the muscles on the front of your thigh without leaving your desk.

Desk changes that take pressure off your knees

A few small changes to how you sit can make a real difference.

  1. Set your chair height. Aim for your feet flat on the floor with your knees roughly level with or slightly below your hips. If your knees sit higher than your hips, they're more sharply bent. Our guide on how to adjust office chair height walks you through it.
  2. Use a footrest if your feet don't reach. Dangling feet or feet hooked on the chair base keep your knees in awkward positions. A footrest, a sturdy box or a stack of books works.
  3. Clear the space under your desk. Bins, boxes and bags stop you stretching your legs out. Give yourself room to change position.
  4. Avoid long spells with your feet tucked back. Sitting with your feet pulled under your chair, or perched on your toes, bends the knee more than it needs to. Every so often, slide your feet forward and let your legs straighten.
  5. Get up regularly. Stand, walk to fill your water bottle, or take a call on your feet. Breaking up sitting every 20 to 30 minutes helps your whole body, not just your knees. The 20-minute rule is an easy way to build the habit.
Your knees like to move. Holding them bent for hours, then asking them to spring into action, is what tends to hurt, so break up long sits and build strength around the joint.

Gentle exercises for knee pain from sitting

Physiotherapy for patellofemoral pain usually focuses on strengthening the thigh and hip muscles and easing any tight areas. These simple moves are a good starting point. Go only as far as is comfortable, move slowly, and stop if any exercise makes your pain worse. Mild muscle effort is fine; sharp knee pain is not.

1. Seated knee extension

Sit tall towards the front of your chair with both feet flat. Slowly straighten one knee until your leg is out in front of you, toes pointing up, and gently tighten the muscle on the front of your thigh. Hold for 3 to 5 seconds, then lower slowly. Do 8 to 10 on each leg.

2. Sit to stand

Sit near the front of a sturdy chair with your feet hip-width apart. Lean forward slightly and stand up, pushing through your whole foot, then sit back down slowly and with control. Keep your knees in line with your toes rather than letting them fall inwards. Start with 5 to 8 and use your hands on your thighs or the armrests if you need them.

3. Standing quad stretch

Stand beside your desk and hold it for balance. Bend one knee and bring your heel towards your bottom, holding your ankle or trouser leg. Keep your knees close together and stand tall. Hold for 20 to 30 seconds and swap sides. If holding your ankle is uncomfortable, loop a towel around it or skip this one.

4. Seated hamstring stretch

Sit towards the front of your chair. Straighten one leg out in front with your heel on the floor and toes pointing up. Keeping your back straight, hinge forward gently from your hips until you feel a stretch down the back of your thigh. Hold for 20 to 30 seconds, then swap legs.

A short routine like this once or twice a day, plus regular movement breaks, is a sensible place to start.

Man standing beside his desk doing a gentle quad stretch, holding one ankle behind him with a hand on the desk for balance
Hold the desk for balance during a standing quad stretch, and keep your knees close together.

Easing a sore knee at home

If your knee is already sore, some simple self-care can help settle it. The NHS suggests:

  • Resting the knee a little and easing back on the activities that clearly aggravate it, such as long sits, deep squats or lots of stairs, for a while
  • Using an ice pack, or a bag of frozen peas wrapped in a tea towel, on the knee for up to 20 minutes every 2 to 3 hours
  • Taking paracetamol, or using ibuprofen gel or tablets, if you need pain relief (check with a pharmacist if you're unsure what's suitable for you)

Relative rest doesn't mean keeping the knee still. Gentle walking and the exercises above usually help. If pain keeps coming back, a physiotherapist can check how your knee and hip are moving and give you a programme to match.

When to see a doctor or physio

Most knee pain from sitting improves with a few changes. See a GP or physiotherapist if:

  • Your knee pain doesn't improve within a few weeks
  • It's getting harder to bend or straighten your knee
  • Pain keeps returning or stops you doing everyday activities
  • You have numbness, tingling or weakness in your leg

Get urgent medical advice (call your GP, a health line such as 111 in the UK or Healthline on 0800 611 116 in New Zealand, or emergency services if it's severe) if:

  • Your knee is very painful, or the pain followed an injury such as a fall or twist
  • You can't move your knee or put any weight on it
  • Your knee is badly swollen or has changed shape
  • Your knee locks, gives way or clicks painfully
  • You have a high temperature, or the knee is red, hot or swollen, which can be a sign of infection
  • Your calf is painful, swollen, warm or red, especially after a long journey or a period of not moving much

The bottom line

Knee pain from sitting too long usually comes from keeping your knees bent and still for hours, often alongside weak or tight muscles around the hip and thigh. Set your chair so your knees aren't sharply bent, give your legs room to move, get up every 20 to 30 minutes, and build strength with a few gentle exercises. If pain doesn't settle within a few weeks, or you notice any of the warning signs above, get it checked.

This post is general information, not medical advice. If you have ongoing, severe or worsening symptoms, see a doctor or physiotherapist.

← All posts

Reading about it is step one.

DeskFit gets you up every 20 minutes and won't let you skip the reps. Claim your 7-day free trial, then only $49.99 per year.

Get DeskFit
© 2026 DeskFit Limited. All rights reserved.
Terms and ConditionsPrivacy Policy