The causes of knee pain and swelling range from noninflammatory types of arthritis such as osteoarthritis, which is a degeneration of the cartilage of the knee, to inflammatory types of arthritis, such as rheumatoid arthritis or gout. Treatment depends on the specific type of arthritis.