Osteoporosis is diagnosed through a combination of medical history, physical examination, and imaging tests. The most common test used is the Dual-Energy X-ray Absorptiometry (DEXA) scan, which measures bone mineral density. Blood tests to assess calcium and vitamin D levels may also be conducted.