Another reason liver disease can cause swelling is increased pressure in the portal vein, a condition known as portal hypertension. This pressure can interfere with normal blood flow and contribute to fluid buildup in the legs and abdomen. People with advanced liver disease may also develop ascites, a condition in which excess fluid collects inside the abdominal cavity.
However, liver disease is only one possible cause of swollen legs. Heart failure, kidney disease, chronic venous insufficiency, blood clots, infections, certain medications, pregnancy, and lymphatic disorders can all cause similar symptoms. This is why proper medical evaluation is important instead of assuming the cause based on swelling alone.