A system for cooling or heating at least a portion of a patient's body, comprising: (a) an esophageal heat transfer device (200; 300) that includes: (i) a plurality of lumens (224, 226; 320 , 322; 406, 408; 510, 512), a lumen of the supply tube of the heat transfer medium (224; 320; 406; 510) of a supply tube of the heat transfer medium (218; 310; 402 ; 502; 608) and a lumen of the return tube of the heat transfer medium (226; 322; 408; 512) of a return tube of the heat transfer medium (222; 312; 404; 504; 610), configured to provide a fluid path for the flow of a heat transfer medium; (ii) a proximal end (204; 302) that includes an inlet port of the heat transfer medium (120; 208; 308; 414) and an outlet port of the heat transfer medium (122; 210; 314; 416); (iii) a distal end (202; 306) configured for insertion into a patient's esophagus; (iv) at least one semi-rigid tube (206; 304) extending between said proximal end (204; 302) and said distal end (202; 306); said at least one semi-rigid tube (206; 304) defining said lumen of the supply tube of the heat transfer medium (224; 320; 406; 510) and said lumen of the return tube of the heat transfer medium (226 ; 322; 408; 512); (v) a heat transfer region configured to contact the esophageal epithelium of a patient; (b) a supply line connected to said input port (120; 208; 308; 414); and (c) a return line connected to said output port (122; 210; 314; 416); characterized in that said return tube of the heat transfer medium (222; 312; 404; 504; 610) is placed inside said supply tube of the heat transfer medium (218; 310; 402; 502; 608); and said heat transfer region has a surface area of at least about 100 cm2; wherein said esophageal heat transfer device (200; 300) is capable of cooling a mass at a speed of about 350 kJ / h to about 530 kJ / h; and wherein said esophageal heat transfer device (200; 300) is not an esophageal balloon-type heat transfer device.Un sistema para enfriar o calentar al menos una porción del cue