Several genetic factors are associated with an increased risk of prostate cancer. BRCA1 and BRCA2 gene mutations, commonly linked to breast and ovarian cancers, also play a role in prostate cancer. Additionally, mutations in genes such as HOXB13 have been identified as risk factors. These genetic mutations may be inherited and contribute to the familial clustering of prostate cancer.