Lupus erythematosus (LE) is a heterogeneous disease ranging from skin-restricted manifestations to a progressive multisystem disease. The specific skin lesions include chronic cutaneous, subacute cutaneous and acute cutaneous LE. Both genetic and environmental factors are involved in the development of LE. However, reports on the genetic background of cutaneous lupus erythematosus (CLE) forms, namely discoid (DLE) and subacute cutaneous lupus erythematosus (SCLE), are sparse. We investigated whether the known systemic LE (SLE) susceptibility genes also predispose to CLE. Altogether, 219 Finnish patients with DLE or SCLE and 356 healthy controls were recruited. Single nucleotide polymorphisms tagging reported risk genes were genotyped. Tyrosine kinase 2 (TYK2) rs2304256 was associated with increased risk of DLE (P = 0.012, OR = 1.47, 95% CI = 1.01-1.98). Expression of TYK2 was demonstrated by immunohistochemistry in macrophage-like cells and neutrophils and interferon regulatory factor 5 (IRF5) in macrophage- and fibroblast-like cells of DLE, SCLE and SLE skin. IRF5 rs10954213 showed association with DLE (P = 0.017, OR = 1.40, 95% CI = 1.06-1.86) and SCLE (P = 0.022, OR = 1.87, 95% CI = 1.09-3.21). A haplotype of cytotoxic T-lymphocyte-associated protein 4 (CTLA4) showed association with DLE (P = 0.0065, OR = 2.51, 95% CI = 1.25-5.04). Our results show that the TYK2, IRF5 and CTLA4 genes previously associated with SLE also confer risk for DLE and SCLE, suggesting that different LE subphenotypes may share pathogenetic pathways.