A physical exam by a health care provider is often enough to diagnose a hernia. Sometimes hernia swelling is visible when you stand upright, and usually, the hernia can be felt if you place your hand directly over it and press down.
Your doctor may use advanced imaging technology, such as ultrasound or CT scan, to look for certain types of hernias or related complications that need to be treated.