The pain under the ribs on the side of the waist is considered to be caused by muscle strain, kidney stones, cholecystitis, pancreatitis, etc. The pain may be caused by a sudden twisting of the body, resulting in pain and swelling. 1. Muscle strain: may be suddenly twisted when the local muscle strain, pain and swelling, activity is limited, through a period of rest symptoms can be reduced, you can follow the doctor’s instructions for external use of blood pain cream, such as Yunnan Baiyao cream, to alleviate the pain. 2. Kidney stones: this part of the pain will also occur, the pain is generally more intense, lasts longer, and is accompanied by urinary obstruction, pain in urination, hematuria, by doing the urinary ultrasound can be clearly diagnosed, to take the extracorporeal shock wave lithotripsy can be relieved. 3. Cholecystitis: If the pain is on the right side, it may be cholecystitis, and radiates to the back of the right shoulder. The diagnosis can be clarified by liver and gallbladder ultrasound. 4. Pancreatitis: If the pain is on the left side, it may be pancreatitis, accompanied by nausea, vomiting and other symptoms. Laboratory blood amylase is elevated. There may be other reasons for subcostal bone pain on the side of the waist, if the pain is obvious, it is recommended to go to the hospital in time.