A washing machine (1) has a washing tub (5) containing a rotary perforated drum (6), and a washing/rinsing-liquid dispenser (8), fluidly connectable to a water source. The liquid dispenser includes a housing (9) and a drawer (10), removably associated to the housing (9), provided with one or more compartments (11a, 11b) adapted to be filled with washing and/or rinsing products. A water line (13) fluidly connects the washing/rinsing-liquid dispenser (8) and the tub (5). The water line (13) has one or more single-piece elements (13, 13a. 13b) including a first conduit (25), fluidly connecting the one or more compartments (11a, 11b) and the tub (5), and a second conduit (27), fluidly separated from the first conduit (25), fluidly connectable, upstream, with the water source, and fluidly connected, downstream, with the tub (5)). The first and second conduits (25, 27) are provided in a single-piece construction.