The invention relates to a machine capable of automatically producing complex pipes for irrigation. This machine consists of two parts: - the first part automatically producing the secondary capillary pipes 12; - the second part producing complex irrigation pipes consisting of a primary feed pipe 9 and the previous secondary capillary pipes fitted at regular intervals. The machine, according to the invention, permits the manufacture of pipes intended for watering (sprinkling), drop by drop, especially for market-gardening plants under protective cover.