Doctors Note Logo

Published on: 8/20/2026

Why do I experience leg pain when sitting but not while walking?

Leg pain that occurs when sitting but disappears while walking is often caused by pressure on the sciatic nerve. Prolonged sitting—especially with poor posture, crossed legs, or on hard surfaces—can compress this nerve as it runs from your lower back through your hips and down each leg. Walking relieves the pressure, which is why the pain often improves with movement. Other possible causes include piriformis syndrome, herniated discs, or hip joint issues.

Because leg pain can stem from many different conditions—some minor and some more serious—it's important to identify the root cause before deciding on next steps. A free, instant, online symptom check can help you better understand what may be behind your discomfort and guide you toward the right care. It only takes a few minutes and could save you time, worry, and unnecessary guesswork.

Reviewed for medical accuracy: 07/15/2026

answer background

Quick answers

Frequently Asked Questions

4 answers

The most common questions people search after this page

Concerned about your symptoms?

Explanation

When you sit, you might put pressure on the sciatic nerve, which can cause pain in your leg. This is known as sciatic nerve entrapment or compression syndrome. Here are some possible reasons:

  1. Vascular Compression: Sometimes, a blood vessel can press against the sciatic nerve when sitting, causing pain. This pressure might not happen when you are walking.

  2. Nerve Entrapment: The sciatic nerve might get trapped or pinched in certain positions, leading to pain. Changing your position, like standing or walking, can relieve this pressure.

  3. Rehabilitation and Relief: Exercises or therapy might help reduce the pain by improving how you sit and move. This can help make the nerve less irritated.

If you have leg pain when sitting, it might help to try different sitting positions or move around more often. To better understand what might be causing your specific symptoms, try our free AI symptom checker for personalized insights. If the pain continues, talking with a healthcare provider might be a good idea.

(References)

  • Hu MH, Wu KW, Jian YM, Wang CT, Wu IH, & Yang SH. (2010). Vascular compression syndrome of sciatic nerve caused by .... Annals of vascular surgery, 20472387.

  • Son BC, Kim DR, Jeun SS, & Lee SW. (2015). Decompression of the sciatic nerve entrapment caused by .... Journal of Korean Neurosurgical Society, 25733994.

  • Kinoshita T, Nishimura Y, Umemoto Y, Koike Y, Kouda K, Ogawa T, et al. (2021). Case Report: Rehabilitation for Lower Extremity Pain Due .... Frontiers in pediatrics, 35071144.

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.