Multiway mixing valve (1; 50) for hot water preparation systems and/or heating systems comprising a valve housing (3; 51) and at least five connections (A, B, C, D, E), which are connectable to one another via a switching element (5; 53), which is supported in the valve housing (3; 51) and comprises flow channels (17, 19, 21, 29, 31; 57, 59, 61, 63), wherein three first connections (A, B, D) are associated with a first switching level (I; I') of the switching element (5; 53) and two second connections (C, E) are associated with one or more second switching levels (II; II') of the switching element (5; 53) that differ from the first switching level (I; I'), characterised in that the switching element (5; 53) is formed in conjunction with the connections (A, B, C, D, E) such that by rotating the switching element (5; 53) about at least one angular range of an axis of rotation (L; L'), the following mixed states can be triggered, preferably successively triggered: a) connection of a first (A) of the first connections to a second (B) of the first connections, b) simultaneous connection of the first (A) of the first connections to the second (B) of the first connections and of a first (C) of the second connections to the second (B) of the first connections, c) connection of the first (C) of the second connections to the second (B) of the first connections, d) simultaneous connection of the first (C) of the second connections to the second (B) of the first connections and of a third (D) of the first connections to the second (B) of the first connections, e) connection of the third (D) of the first connections to the second (B) of the first connections and f) connection of the third (D) of the first connections to a second (E) of the second connections, wherein a first stop position is formed for the switching element (5; 53), in which position the mixed state a) is present, and/or a second stop position is formed in which the mixed state f) is present, whereby interconnection of three heat sinks with a heat source can be achieved, wherein with the mixed state f) priority switching can be realised for the exclusive charging of a heat store, wherein in this case no admixture to the other heat sinks is undertaken. a) connection of a first (A) of the first connections to a second (B) of the first connections, b) simultaneous connection of the first (A) of the first connections to the second (B) of the first connections and of a first (C) of the second connections to the second (B) of the first connections, c) connection of the first (C) of the second connections to the second (B) of the first connections, d) simultaneous connection of the first (C) of the second connections to the second (B) of the first connections and of a third (D) of the first connections to the second (B) of the first connections, e) connection of the third (D) of the first connections to the second (B) of the first connections and f) connection of the third (D) of the first connections to a second (E) of the second connections, wherein a first stop position is formed for the switching element (5; 53), in which position the mixed state a) is present, and/or a second stop position is formed in which the mixed state f) is present, whereby interconnection of three heat sinks with a heat source can be achieved, wherein with the mixed state f) priority switching can be realised for the exclusive charging of a heat store, wherein in this case no admixture to the other heat sinks is undertaken. <EOS>