The invention relates to a friction-spun phase-change antistatic composite yarn and a preparation method thereof. The method comprises the following steps of 1, sequentially impregnating a polyester yarn in a mixture of polyethylene glycol (PEG) and carbon nanotubes, and a polyvinyl butyral (PVB) solution to obtain a polyester-PEG-carbon nanotube-PVB composite yarn; and 2, taking the polyester-PEG-carbon nanotube-PVB composite yarn as a core yarn and common synthetic fibers as wrapping fibers, and performing friction spinning to prepare the polyester-PEG-carbon nanotube-PVB-synthetic fiber composite yarn. The composite yarn has the advantages that 1, the composite yarn is high in phase change enthalpy value, good in heat storage effect, high in heat transfer efficiency and good in antistatic property; 2, the preparation method is simple, economical and rapid; 3, the service life is long, and the thermal cycle performance is stable; 4, the phase change temperature is adjustable; and 5,the raw material applicability is good, and the problem that a core yarn is difficult to prepare by ring spinning after non-uniform PEG sizing can be solved.