Diagnosis typically involves a combination of medical history, physical examination, and diagnostic tests. Tests may include an endoscopy, where a flexible tube with a camera is used to view the esophagus, and a biopsy, where a small tissue sample is taken for analysis. Imaging tests such as a CT scan, MRI, or PET scan may also be used to determine the extent of the disease.