Our large-scale case-cohort study provides some evidence for a possible interaction of TCF7L2 variants and an incretin-specific genetic risk score with coffee consumption in relation to the risk of type 2 diabetes. Here, TCF7L2 is linked to type 2 diabetes mellitus.