Compounds of structural formula I are modulators of the androgen receptor (AR) in a tissue selective manner. These compounds are useful in the enhancement of weakened muscle tone and the treatment of conditions caused by androgen deficiency or which can be ameliorated by androgen administration, including osteoporosis, osteopenia, glucocorticoid-induced osteoporosis, periodontal disease, bone fracture, bone damage following bone reconstructive surgery, sarcopenia, frailty, aging skin, male hypogonadism, postmenopausal symptoms in women, atherosclerosis, hypercholesterolemia, hyperlipidemia, obesity, aplastic anemia and other hematopoietic disorders, inflammatory arthritis and joint repair, HIV-wasting, prostate cancer, benign prostatic hyperplasia (BPH), abdominal adiposity, metabolic syndrome, type II diabetes, cancer cachexia, Alzheimer's disease, muscular dystrophies, cognitive decline, sexual dysfunction, sleep apnea, depression, premature ovarian failure, and autoimmune disease, alone or in combination with other active agents.