The liver is located in the upper right portion of the abdominal cavity, just beneath the diaphragm. It sits on top of the stomach, right kidney, and intestines, mostly protected by the lower right rib cage. It lies below the lungs and takes up much of the space in the right upper abdomen