A system for the treatment of multiphase residues of water, oil and solids for obtaining hydrocarbons and other useful products, wherein said system comprises: (a) a residue feed system made up of a positive displacement pump adapted to a hopper for feeding multiphase residue by pumping and displacing in a controlled way via line towards the interior of a tubular reactor, under inert atmosphere and reduced pressure, keeping a vertical column filled in to work as a vacuum seal; (b) a tubular reactor working in the sealed mode, made up of a single chamber provided with a helicoid carrier and made up of a refractory steel sleeve, three independent heating zones (Z-1, Z-2 and Z-3) being mounted around said sleeve forming reaction zones with a temperature gradient, wherein the upper part of said reactor is provided with at least three exits (45, 46 and 47) for condensable gases while the lower part of the same is provided with an inlet for feeding multiphase residue and an exit for collecting resulting solids; (c) a reduced pressure system made up of a high flow rate vacuum pump, of the industrial blower kind, having the capacity to impart a depression around 400 to 1,000 mbar; (d) an inert gas feed system, for introducing inert gas into tubular reactor via line through inlet so as to render the system inert; (e) a solids collection system for collecting resulting solids, made up of an upper valve, a lower valve, and intermediate silo; (f) a gas condensation system comprising three condensers (61, 62 and 63) under vacuum and connected to the exits (45, 46, 47) of the tubular reactor and connected to bubblers (71, 72 and 73) via line; (g) a system comprising three bubblers (71, 72 and 73) linked to the reduced pressure system via line; (h) a control system to control the vacuum pump of the reduced pressure system, the residence time in the tubular reactor through rotation of the fixed pitch helicoid carrier, the rotation of the pump so as to vary the amount of introduced multiphase residue feed, valves (23 and 24) that control sealing, valves (51 and 52), and valves (61b, 62b and 63b) for the flow rate of products to be collected in condensers (61, 62 and 63); and (i) a post-treatment system for post-treatment of solids collected in silo. (a) a residue feed system made up of a positive displacement pump adapted to a hopper for feeding multiphase residue by pumping and displacing in a controlled way via line towards the interior of a tubular reactor, under inert atmosphere and reduced pressure, keeping a vertical column filled in to work as a vacuum seal; (b) a tubular reactor working in the sealed mode, made up of a single chamber provided with a helicoid carrier and made up of a refractory steel sleeve, three independent heating zones (Z-1, Z-2 and Z-3) being mounted around said sleeve forming reaction zones with a temperature gradient, wherein the upper part of said reactor is provided with at least three exits (45, 46 and 47) for condensable gases while the lower part of the same is provided with an inlet for feeding multiphase residue and an exit for collecting resulting solids; (c) a reduced pressure system made up of a high flow rate vacuum pump, of the industrial blower kind, having the capacity to impart a depression around 400 to 1,000 mbar; (d) an inert gas feed system, for introducing inert gas into tubular reactor via line through inlet so as to render the system inert; (e) a solids collection system for collecting resulting solids, made up of an upper valve, a lower valve, and intermediate silo; (f) a gas condensation system comprising three condensers (61, 62 and 63) under vacuum and connected to the exits (45, 46, 47) of the tubular reactor and connected to bubblers (71, 72 and 73) via line; (g) a system comprising three bubblers (71, 72 and 73) linked to the reduced pressure system via line; (h) a control system to control the vacuum pump of the reduced pressure system, the residence time in the tubular reactor through rotation of the fixed pitch helicoid carrier, the rotation of the pump so as to vary the amount of introduced multiphase residue feed, valves (23 and 24) that control sealing, valves (51 and 52), and valves (61b, 62b and 63b) for the flow rate of products to be collected in condensers (61, 62 and 63); and (i) a post-treatment system for post-treatment of solids collected in silo.