Subcostal pain may be related to rib fracture, costochondritis, liver and gallbladder diseases, chronic pancreatitis, gastroduodenal diseases and so on. 1. Rib fracture: If there is a history of trauma, the ribs may be fractured due to external violence. Therefore, if you sneeze or breathe deeply, you should consider whether the ribs are fractured. 2. Costochondritis: Most people with costochondritis will have mild rib enlargement, and pain under the ribs may occur when sneezing and after pressing. 3. Liver and gallbladder diseases: The attack of cholecystitis, liver and gallstones, cirrhosis of the liver and other diseases may also cause pain in the right side of the ribs, which may be accompanied by nausea, vomiting, jaundice, fever and other symptoms. 4. Chronic pancreatitis: Chronic pancreatitis may cause hidden pain in the ribs, and may be accompanied by abdominal pain, anorexia, steatorrhea and other symptoms. 5. Gastroduodenal diseases: such as gastroduodenal ulcer, chronic atrophic gastritis and other diseases can appear in the left side of the subcostal pain, often accompanied by loss of appetite, acid reflux, nausea and other discomforts. It is recommended to go to the hospital to check the symptoms of hidden pain under the ribs, and find out the cause of treatment under the guidance of the doctor.