For the first time, a model that simulates methane emissions from northern peatlands is incorporated directly into a dynamic global vegetation model. The model, LPJ-WHyMe (LPJ Wetland Hydrology and Methane), was previously modified in order to simulate peatland hydrology, permafrost dynamics and peatland vegetation. LPJ-WHyMe simulates methane emissions using a mechanistic approach, although the use of some empirical relationships and parameters is unavoidable. The model simulates methane production, three pathways of methane transport (diffusion, plant-mediated transport and ebullition) and methane oxidation. A sensitivity test was conducted to identify the most important factors influencing methane emissions, followed by a parameter fitting exercise to find the best combination of parameter values for individual sites and over all sites. A comparison of model results to observations from seven sites resulted in normalised root mean square errors (NRMSE) of 0.40 to 1.15 when using the best site parameter combinations and 0.68 to 1.42 when using the best overall parameter combination.