A healthcare professional can diagnose a hernia through several methods, including a physical exam and imaging tests. Physical Examination Your doctor will perform a physical examination to look for a visible or palpable bulge in the affected area, especially when you cough or bear down. They may also ask about your symptoms and medical history. Imaging Tests In some cases, your doctor may order imaging tests to confirm the diagnosis and determine the severity of the hernia. These tests may include: Ultrasound: An ultrasound uses sound waves to create images of the internal structures, allowing your doctor to visualize the hernia and assess its size and location. CT scan: A computed tomography (CT) scan combines multiple X-ray images to create detailed, cross-sectional pictures of the body. This can help your doctor determine the extent of the hernia and detect any complications. MRI: Magnetic resonance imaging (MRI) uses a magnetic field and radio waves to generate detailed images of the body’s internal structures. This can provide your doctor with additional information about the hernia and surrounding tissues.