Diagnosis typically involves a thorough clinical evaluation, including a physical examination and medical history. Imaging studies like ultrasound or mammography may be used to differentiate between gynecomastia and other conditions. Blood tests to measure hormone levels can also be informative. In some cases, a biopsy may be necessary to exclude malignancy.