Methylation and hydroxymethylation of cytosine moieties in CpG islands of specific genes are epigenetic processes shown to be involved in the development of cervical (pre)neoplastic lesions. We studied global (hydroxy)methylation during the subsequent steps in the carcinogenic process of the uterine cervix by using immunohistochemical protocols for the detection of 5-methylcytosine (5-mC) and 5-hydroxymethylcytosine (5-hmC) in paraffin-embedded tissues of the normal epithelia and (pre)malignant lesions. This approach allowed obtaining spatially resolved information of (epi)genetic alterations for individual cell populations in morphologically heterogeneous tissue samples. The normal ectocervical squamous epithelium showed a high degree of heterogeneity for both modifications, with a major positivity for 5-mC in the basal and parabasal layers in the ectocervical region, while 5-hmC immunostaining was even more restricted to the cells in the basal layer. Immature squamous metaplasia, characterized by expression of SOX17, surprisingly showed a decrease of 5-hmC in the basal compartments and an increase in the more superficial layers of the epithelium. The normal endocervical glandular epithelium showed a strong immunostaining reactivity for both modifications. At the squamocolumnar junctions, a specific 5-hmC pattern was observed in the squamous epithelium, resembling that of metaplasia, with the typical weak to negative reaction for 5-hmC in the basal cell compartment. The reserve cells underlying the glandular epithelium were also largely negative for 5-hmC but showed immunostaining for 5-mC. While the overall methylation status remained relatively constant, about 20% of the high-grade squamous lesions showed a very low immunostaining reactivity for 5-hmC. The (pre)malignant glandular lesions, including adenocarcinoma in situ (AIS) and adenocarcinoma showed a progressive decrease of hydroxymethylation with advancement of the lesion, resulting in cases with regions that were negative for 5-hmC immunostaining. These data indicate that inhibition of demethylation, which normally follows cytosine hydroxymethylation, is an important epigenetic switch in the development of cervical cancer.