Diagnosis typically involves a combination of patient history, physical examination, and diagnostic imaging. Ultrasound, CT scans, and MRI can help identify the presence and extent of varices. Endoscopic procedures are also useful, particularly for detecting gastrointestinal varices. In pregnant women, non-invasive imaging methods are preferred to minimize risks to the fetus.