The invention relates to a method of preparing and using a library of template polynucleotides suitable for use as templates in solid-phase nucleic acid amplification and sequencing reactions to determine the methylation status of the cytosine bases in the library. In particular, the invention relates to a method of preparing and analysing a library of template polynucleotides suitable for methylation analysis.