NOVELTY - Obtaining diesel fuel from agricultural organic wastes, involves burning combustible gas in combustion device, heating gaseous combustion products (GCP) in heat accumulation device, heat-transferring in gaseous medium, performing pyrolysis to form of syngas, directing the obtained syngas for heating in heat accumulation device, recycling remainder syngas such that portion of obtained syngas is diverted to the catalytic synthesis of liquid hydrocarbons of Fischer-Tropsch technology, and performing hydro-isomerization of obtained hydrocarbons for biodiesel forming.    USE - The method is useful for obtaining diesel fuel from agricultural organic wastes (claimed).    DETAILED DESCRIPTION - Method for obtaining diesel fuel from agricultural organic wastes, involves burning combustible gas in combustion device with formation of heated to a temperature of 800-1600 degrees C, preferably 1200-1400 degrees C, allowing gaseous combustion products (GCP) to pass through heat accumulation device for heating, heat transferring in gaseous medium, performing pyrolysis to form of syngas, directing the obtained syngas for heating in heat accumulation device, recycling remainder syngas through heat accumulation device, pyrolysis reactor and back into heat accumulation device, such that substrate of regular cell structure is used as heat accumulation device, produced from a ceramic and metal heat-resistant materials, portion of obtained syngas is diverted to the catalytic synthesis of liquid hydrocarbons of Fischer-Tropsch technology, and the reactor of hydro-forming and hydro-cracking is conducted, and performing hydro-isomerization of obtained hydrocarbons for biodiesel forming. An INDEPENDENT CLAIM is included for device for performing the above-cited method, which comprises combustion chamber, heat accumulation device, pyrolysis reactor, system of circulation of heated gaseous medium, heat accumulation device, splitter, unit for separation of gas flows, reactor of liquid hydrocarbons synthesis by Fischer-Tropsch technology, and a reactor for performing hydro-cracking and obtaining diesel fuel.