The invention discloses the technical field of carbon fiber composite materials, and discloses a method for forming a carbon fiber pipe. The method comprises the following steps of: preparing a core mould, namely preparing the core mould for wrapping carbon fiber one-way preimpregnation belts, wherein the core mould comprises a metal core rod and a rubber material wrapping the metal core rod; paving and coating the carbon fiber one-way preimpregnation belts, namely after coating a release agent on the surface of the core mould, paving and coating a plurality of layers of carbon fiber one-way preimpregnation belts according to different angles; closing the die, namely positioning the core mould in which the carbon fiber one-way preimpregnation belts are paved and coated and putting into a female die, closing the die, and fastening; and curing, cooling and demoulding, namely putting the die which is closed into a drying oven, curing, cooling with a furnace, and demoulding to form the required finished piece. The method for forming the carbon fiber pipe has the advantages of simple process, high production efficiency, low manufacturing cost, uniform wall thickness of the product, high quality and stability and the like.