Right abdominal pain under the ribs may be caused by fatty liver, cholecystitis, gallbladder polyps, etc. It can be treated by low-fat diet, taking quinolone antibiotics, laparoscopic cholecystectomy and so on. 1. Fatty liver: when there is excessive accumulation of fat in the liver cells due to various reasons, the liver peritoneum swells and the hepatic ligaments are pulled, which causes vague distension and pain in the right abdomen under the ribs. It is suggested to relieve the symptoms through low-fat diet, strengthening exercise and avoiding staying up all night. 2. Cholecystitis: due to the proliferation of chronic inflammation of the gallbladder wall, the gallbladder wall thickening caused by bile drainage abnormalities, resulting in damage to liver function and right abdominal subcostal pain, can be taken with the doctor levofloxacin and other drugs for treatment. 3. Gallbladder polyps: Because of the infection of gallbladder polyps, it will stimulate the peripheral nerves on the wall of the gallbladder, which will also cause vague swelling and pain in the right abdomen under the ribs. It can be treated by laparoscopic cholecystectomy in regular hospitals. Patients with symptoms of right abdominal subcostal swelling and pain should go to the hospital in time for examination and early treatment under the guidance of a professional physician, do not self-medication, so as to avoid aggravation of the condition.