Pain under the ribs may be due to liver disease, biliary tract disease, intercostal neuralgia, rib fracture and so on. 1. Liver diseases: acute and chronic hepatitis, cirrhosis of the liver, etc. can cause pain under the right side of the rib cage, accompanied by abdominal distension, loss of appetite and other symptoms. 2. Biliary tract diseases: gallstones, cholecystitis, biliary obstruction, etc., can be manifested as right subcostal pain, which is often aggravated after a full meal, accompanied by nausea, vomiting and other symptoms. 3. Intercostal neuralgia: damage to the intercostal nerves due to rib fracture and rib inflammation. 4. Fractured ribs: manifested as localized pain, with symptoms aggravated by breathing, coughing and other conditions. Pain below the ribs can also be caused by other reasons, such as chronic pancreatitis, gastric ulcer and so on. When there is pain under the rib cage, you should go to the hospital at the first time, after clarifying the cause of the disease, early diagnosis and early treatment.