5-Hydroxymethylcytosine is a DNA pyrimidine nitrogen base. It is formed from the DNA base cytosine by adding a methyl group and then a hydroxy group. It is important in epigenetics because the hydroxymethyl group on the cytosine can possibly switch a gene on and off.