A arrangement for milking animals includes a milking station, a transport conduit, a main milk tank storing milk from the milking station, a connection conduit extending from the transport conduit to the main milk tank, a cleaning liquid arrangement, and a valve arrangement. From the milking station a connection pipe leads to the transport conduit at a connection point. The cleaning liquid arrangement is connected to the transport conduit via the valve arrangement. The valve arrangement is positionable in at least a first position and a second position. In the first position the transport conduit forms a loop such that two flow paths from the connection point to the connection conduit are provided by the transport conduit, and in the second position the loop is interrupted such that one flow path only from the connection point to the connection conduit is provided by the transport conduit.