Diagnosis typically involves a combination of medical history, physical examination, and imaging tests like ultrasound or MRI. Blood tests to check liver function and levels of liver enzymes are also commonly used. In some cases, a liver biopsy might be needed to confirm the diagnosis.