Basal cell carcinoma (BCC) of the skin is the most common neoplasm among the Caucasian population of the Western world. Inflammation may result in oxidative stress and contribute to promotion and progression of tumors, including BCC. The role of cytokines, which are inflammatory modulators, in the biology of tumors has been extensively studied and it is well known that they are aberrantly produced by cancer cells, macrophages and other phagocytic cells. Genetic polymorphisms are known in several cytokine genes, which result in altered expression. In the present association study, we investigated the association of 14 functional polymorphisms in 11 cytokines genes with BCC risk in 529 BCC cases and 532 healthy controls. We have also tested the possible interactions between the genetic variants and three known risk factors for BCC: skin complexion, sun effect and skin response to sun exposure. We did not observe any statistically significant association between SNPs and BCC risk. However, we found that, in a subgroup of subjects more prone to skin burns, carriers of at least one copy of the G allele of rs1800629 (TNF) had an increased risk of BCC [odds ratio (OR) = 2.40, 95% confidence interval (CI) 1.38-4.16, P = 0.0005]. Moreover, in subjects less prone to sunburns, we observed that carriers of the C allele of rs1143627 (IL1B) showed a decreased risk (OR = 0.53, 95% CI 0.34-0.82, P = 0.0019). In conclusion, we found that two polymorphisms in inflammatory genes interacting with environmental risk factors could modulate BCC risk.