Tests and diagnosis

By Mayo Clinic Staff

Your doctor will likely determine what's causing your gas and gas pains based on your medical history, a review of your dietary habits and a physical exam. During the exam, your doctor may check to see if your abdomen is distended and listen for a hollow sound when your abdomen is tapped. A hollow sound usually indicates the presence of excess gas.

Depending on your other symptoms, your doctor may recommend further tests in order to rule out conditions that are more serious, such as partial bowel obstruction.

Apr. 30, 2011