Runner's knee (patellofemoral pain)
The most common cause of front-of-knee pain in active people.
"Runner's knee" is patellofemoral pain: vague pain around or behind the kneecap, typically aggravated by knee-loading activities - running, stairs, squats. A clinical review calls it the most common cause of anterior knee pain.
There is no single cause to hunt. The review attributes it to altered stress on the patellofemoral joint from intrinsic knee factors, changes elsewhere in the movement chain, or training errors, and notes the exact mechanism is unknown - a mix of anatomical, biomechanical, behavioural and psychological factors.
On the usual suspects: generalised quadriceps weakness has the more consistent evidence of association. Findings on the size or strength of one inner-quad muscle (VMO) have been inconsistent - some studies found isolated wasting, others did not. Evidence on its activation timing is also mixed: an association showed up in runners with certain patellar-tracking patterns but not across the board. Foot overpronation appears as a risk factor in some prospective studies but not others.
Treatment in that review is conservative and ideally individualised to each person's risk factors - which makes it a clinician's job, not an article's. Knee pain that comes with swelling, locking or giving-way is a different pattern; see a doctor promptly for that.