What causes pain in the upper right thigh?

Pain in the upper right thigh needs to consider osteoporosis, osteoarthritis, osteomyelitis, bone tumor, muscle strain and so on.
1. Osteoporosis: there is usually a decrease in bone formation, an increase in bone resorption and a decrease in bone density, which can cause bone pain and aggravation of pain when walking under weight. It can be diagnosed clearly through bone densitometry examination.
2. Osteomyelitis: mainly manifested as local redness, swelling, pain, accompanied by high fever and chills, and can be clearly diagnosed by blood culture, local histopathological examination and bacterial culture.
3. Bone tumor: it usually has local pain, lump, activity limitation, and may develop into pathological fracture.
4. Muscle strain: muscle strain of the thigh caused by strenuous exercise or a posture for a long time, thigh pain, pain aggravated after walking.
If the pain in the upper right thigh does not get better after resting, it is recommended to go to the hospital in time to clarify the specific causes and then carry out targeted treatment.