A method for producing insulated pipes comprising an inner pipe, a casing layer and insulation material, where the insulated pipe has an improved protection of the insulation material, the method comprising the steps of: a) providing a pipe system comprising: - an inner pipe with a longitudinal axis extending from a first end of the inner pipe to a second end of the inner pipe, the inner pipe comprising a middle section, a first end section at the first end of the inner pipe, and a second end section at the second end of the inner pipe; - a layer of inner coating covering the inner pipe, the layer of inner coating comprising one or more inner coating sub layers; - one or more layers of insulation material covering the layer of inner coating such that: • the insulation layer covers the middle section of the inner pipe covered by the inner coating, and • the ends of the insulation layer tapers towards the end sections (105a, 105b), and • the end sections (105a, 105b) comprises a section with an exposed layer of inner coating; b) positioning a jaw around the exposed layer of inner coating at the first end section of the inner pipe; c) heating the exposed layer of inner coating using the jaw to a temperature near or above the welding temperature of the materials which the inner coating and a casing layer (108, 110) are made of; d) removing the jaw; e) covering the exposed layer of inner coating and the insulation layer with a layer of casing extruded from a casing extruder; f) positioning a jaw (204") around the exposed layer of inner coating at the second end section of the inner pipe; g) heating the exposed layer of inner coating using the jaw (204") to a temperature near or above the welding temperature of the materials which the inner coating and the casing layer (108, 110) are made of; h) removing the jaw (204"), and i) covering the exposed layer of inner coating (104") at the second end section of the inner pipe with a layer of casing extruded from the casing extruder. a) providing a pipe system comprising: - an inner pipe with a longitudinal axis extending from a first end of the inner pipe to a second end of the inner pipe, the inner pipe comprising a middle section, a first end section at the first end of the inner pipe, and a second end section at the second end of the inner pipe; - a layer of inner coating covering the inner pipe, the layer of inner coating comprising one or more inner coating sub layers; - one or more layers of insulation material covering the layer of inner coating such that: • the insulation layer covers the middle section of the inner pipe covered by the inner coating, and • the ends of the insulation layer tapers towards the end sections (105a, 105b), and • the end sections (105a, 105b) comprises a section with an exposed layer of inner coating; - an inner pipe with a longitudinal axis extending from a first end of the inner pipe to a second end of the inner pipe, the inner pipe comprising a middle section, a first end section at the first end of the inner pipe, and a second end section at the second end of the inner pipe; - a layer of inner coating covering the inner pipe, the layer of inner coating comprising one or more inner coating sub layers; - one or more layers of insulation material covering the layer of inner coating such that: • the insulation layer covers the middle section of the inner pipe covered by the inner coating, and • the ends of the insulation layer tapers towards the end sections (105a, 105b), and • the end sections (105a, 105b) comprises a section with an exposed layer of inner coating; • the insulation layer covers the middle section of the inner pipe covered by the inner coating, and • the ends of the insulation layer tapers towards the end sections (105a, 105b), and • the end sections (105a, 105b) comprises a section with an exposed layer of inner coating; b) positioning a jaw around the exposed layer of inner coating at the first end section of the inner pipe; c) heating the exposed layer of inner coating using the jaw to a temperature near or above the welding temperature of the materials which the inner coating and a casing layer (108, 110) are made of; d) removing the jaw; e) covering the exposed layer of inner coating and the insulation layer with a layer of casing extruded from a casing extruder; f) positioning a jaw (204") around the exposed layer of inner coating at the second end section of the inner pipe; g) heating the exposed layer of inner coating using the jaw (204") to a temperature near or above the welding temperature of the materials which the inner coating and the casing layer (108, 110) are made of; h) removing the jaw (204"), and i) covering the exposed layer of inner coating (104") at the second end section of the inner pipe with a layer of casing extruded from the casing extruder.