Here, we report that HHV-8 seropositivity is associated with prostate cancer in men harboring the IFNL4 rs368234815-ΔG germline variant, suggesting a gene–environment interaction that increases prostate cancer risk. Here, IFNL4 is linked to prostate cancer.