Knee pain when squatting may be caused by cold knees, osteoarthritis, meniscus injury, etc. It can be relieved by applying hot compresses, taking anti-inflammatory and analgesic drugs, non-steroidal anti-inflammatory drugs and other medications. 1. Cold knees: patients may not pay attention to the warmth of the legs, prolonged low temperature will lead to contraction of leg muscles and blood vessels, causing knee pain. You can use a warm water bag or a hot towel to apply warm compresses to the joint area to relieve knee pain when squatting. 2. Osteoarthritis: Patients may suffer from degenerative joint disease gradually due to ageing, and may suffer from joint pain, stiffness and activity dysfunction. It can be relieved by taking anti-inflammatory and analgesic drugs, such as diclofenac sodium and celecoxib, etc. People who are allergic to such drugs should be cautious. 3. Meniscus injury: patients may be due to ageing, resulting in joint hyperplasia, degeneration, joint space narrowing, meniscus wear and tear, rupture of the meniscus, there will be soft legs, joint popping, squatting knee pain and other symptoms. This can be relieved by taking non-steroidal anti-inflammatory drugs, such as ibuprofen extended-release capsules and meloxicam. If knee pain when squatting occurs, it is recommended to visit the hospital in time to identify the cause of the disease, take medication under the guidance of the doctor, and carry out targeted treatment.