Magnesium alloys are characterised by their low density, high specific strength and stiffness. But, the potential application of Mg is limited by its low room-temperature ductility & formability. Formability can be improved by developing an ultrafine grained (UFG) structure. Equal channel angular pressing (ECAP) is a well known process that can be used to develop an ultrafine grained microstructure. The aim of this study was to investigate the flow behaviour of AZ31B magnesium alloy after ECAP. The specimen was subjected to three passes of ECAP with a die angle of 120° using processing route Bc. The processing temperature was 523 K for the first pass and 423 K for the subsequent two passes. The microstructure characterisation was done. Compression tests of ECAPed and annealed specimens were carried out at strain rates of 0.01-1s -1 and deformation temperatures of 200-300°C using computer servo-controlled Gleeble-3800 system. The value of activation energy Q and the empirical materials constants of A and n were determined. The equations relating flow stress and Zener-Hollomon parameter were proposed. In the case annealed AZ31, the activation energy was determined to be 154 kJ/mol, which was slightly higher than the activation energy of 144 kJ/mol for ECAPed AZ31. © Published under licence by IOP Publishing Ltd.