Pain in the upper back of the thigh may be caused by irritation of the nerve roots coming from the lumbar and sacral spine. These nerve roots join to form a large sciatic nerve, which runs down from the lower back to the back of the leg. People may experience symptoms of sciatica in different ways.