A method for torrefaction of lignocellulosic biomass and combustion of generated torrefaction gases comprising the steps of: a) torrefaction of a pre-dried lignocellulosic biomass in a torrefaction reactor such that torrefied biomass and torrefaction gases are obtained; b) withdrawal of torrefaction gases from the torrefaction reactor to an ejector burner by means of an under pressure created by a primary stream of air flowing through the ejector burner and into a first burning zone; c) flowing a secondary stream of air into the first burning zone to partially combust the withdrawn torrefaction gases at sub-stoichiometric oxygen rates such that hot flue gases are obtained; d) dividing the hot flue gases obtained in step c) into a first stream of hot flue gases and a second stream of hot flue gases by diverting a first stream of hot flue gases from the first burning zone to a gas mixing unit; e) diverting the second stream of hot flue gases to a second burning zone; f) flowing a tertiary stream of air, at or over stoichiometric oxygen rates, into the second burning zone to further combust the second stream of hot flue gases to obtain a stream of further combusted flue gases; g) diverting the stream of further combusted flue gases to a heat recovery unit wherein the temperature of the stream of further combusted flue gases obtained in step f) is decreased such that a stream of cold flue gases is obtained; h) diverting a part of the cold flue gases obtained in step g) to the gas mixing unit such that the stream of cold flue gases mixes with the first stream of hot flue gases such that a stream of partially cooled flue gases is obtained; and i) diverting the stream of partially cooled flue gases obtained in step h) into the torrefaction reactor such that the pre-dried lignocellulosic biomass comes into direct contact with the said stream of partially cooled flue gases such that the pre-dried lignocellulosic biomass is directly heated by the stream of partially cooled flue gases, wherein the cold flue gases obtained in step g) is directed to the gas mixing unit via a fan arranged in between the heat recovery unit and the gas mixing unit. a) torrefaction of a pre-dried lignocellulosic biomass in a torrefaction reactor such that torrefied biomass and torrefaction gases are obtained; b) withdrawal of torrefaction gases from the torrefaction reactor to an ejector burner by means of an under pressure created by a primary stream of air flowing through the ejector burner and into a first burning zone; c) flowing a secondary stream of air into the first burning zone to partially combust the withdrawn torrefaction gases at sub-stoichiometric oxygen rates such that hot flue gases are obtained; d) dividing the hot flue gases obtained in step c) into a first stream of hot flue gases and a second stream of hot flue gases by diverting a first stream of hot flue gases from the first burning zone to a gas mixing unit; e) diverting the second stream of hot flue gases to a second burning zone; f) flowing a tertiary stream of air, at or over stoichiometric oxygen rates, into the second burning zone to further combust the second stream of hot flue gases to obtain a stream of further combusted flue gases; g) diverting the stream of further combusted flue gases to a heat recovery unit wherein the temperature of the stream of further combusted flue gases obtained in step f) is decreased such that a stream of cold flue gases is obtained; h) diverting a part of the cold flue gases obtained in step g) to the gas mixing unit such that the stream of cold flue gases mixes with the first stream of hot flue gases such that a stream of partially cooled flue gases is obtained; and i) diverting the stream of partially cooled flue gases obtained in step h) into the torrefaction reactor such that the pre-dried lignocellulosic biomass comes into direct contact with the said stream of partially cooled flue gases such that the pre-dried lignocellulosic biomass is directly heated by the stream of partially cooled flue gases,