Keratinocytes can be induced to produce cytokines by exogenous stimuli, such as UVB, and dysregulation of this production has been described in various skin diseases, including cancer. In this study, we compared the effect of UVB on the secretion of several cytokines involved in inflammation by human keratinocytes immortalized or not with human papillomavirus (HPV)16 or HPV38 at the mRNA and protein levels. We show that expression of the HPV E6/E7 oncoproteins influences not only the basal cytokine secretion profile of keratinocytes, but also its modulation upon UVB irradiation. In particular, UVB upregulates interleukin (IL)-6, IL-8 and transforming growth factor (TGF)-beta in HPV-immortalized cells to a higher extent than in control keratinocytes. Moreover, expression of other pro-inflammatory molecules such as S100A8/9 and interferon (IFN)-kappa was downregulated in HPV-immortalized cells. These data support the functional similarity between HPV16 and 38, and suggest an active role of these viruses in modulation of the inflammatory process.