Gene-based association analysis identified genome-wide significant association between variants in CCDC42 and heroin addiction. Here, CCDC42 is linked to heroin dependence.