The examined HNF1B variants have a highly specific effect on prostate cancer risk with no apparent association with any of the other studied cancer types. Here, HNF1B is linked to cancer.