Androgen binding to the androgen receptor (AR) in the cytoplasm induces the AR to translocate to the nucleus, where it regulates the expression of target genes. Here, we found that androgens rapidly activated a plasma membrane-associated signaling node that enhanced nuclear AR functions. In murine primary osteoblasts, dihydrotestosterone (DHT) binding to a membrane-associated form of AR stimulated plasma membrane-associated protein kinase G type 2 (PKG2), leading to the activation of multiple kinases, including ERK. Phosphorylation of AR at Ser515 by ERK increased the nuclear accumulation and binding of AR to the promoter of Ctnnb1, which encodes the transcription factor β-catenin. In male mouse osteoblasts and human prostate cancer cells, DHT induced the expression of Ctnnb1 and CTNN1B, respectively, as well as β-catenin target genes, stimulating the proliferation, survival, and differentiation of osteoblasts and the proliferation of prostate cancer cells in a PKG2-dependent fashion. Because β-catenin is a master regulator of skeletal homeostasis, these results explain the reported male-specific osteoporotic phenotype of mice lacking PKG2 in osteoblasts and imply that PKG2-dependent AR signaling is essential for maintaining bone mass in vivo. Our results suggest that widely used pharmacological PKG activators, such as sildenafil, could be beneficial for male and estrogen-deficient female patients with osteoporosis but detrimental in patients with prostate cancer.