An non-isothermal model for the all-vanadium redox flow battery (RFB) is presented. The two-dimensional model is based on a comprehensive description of mass, charge, energy and momentum transport and conservation, and is combined with a global kinetic model for reactions involving vanadium species. Heat is generated as a result of activation losses, electrochemical reaction and ohmic resistance. Numerical simulations demonstrate the effects of changes in the operating temperature on performance. It is shown that variations in the electrolyte flow rate and the magnitude of the applied current substantially alter the charge/discharge characteristics, the temperature rise and the distribution of temperature. The influence of heat losses on the charge/discharge behaviour and temperature distribution is investigated. Conditions for localised heating and membrane degradation are discussed.