The objective of this paper is to model the dynamics and validate the results of nitrous oxide (N2O) emissions from three Swedish nitrifying/denitrifying, nitritation and anammox systems treating real anaerobic digester sludge liquor. The Activated Sludge Model No. 1 is extended to describe N2O production by both heterotrophic and autotrophic denitrification. In addition, mass transfer equations are implemented to characterize the dynamics of N2O in the water and the gas phases. The biochemical model is simulated and validated for two hydraulic patterns: (1) a sequencing batch reactor; and (2) a moving-bed biofilm reactor. Results show that the calibrated model is partly capable of reproducing the behaviour of N2O as well as the nitritation/nitrification/denitrification dynamics. However, the results emphasize that additional work is required before N2O emissions from sludge liquor treatment plants can be generally predicted with high certainty by simulations. Continued efforts should focus on determining the switching conditions for different N2O formation pathways and, if full-scale data are used, more detailed modelling of the measurement devices might improve the conclusions that can be drawn.