A multi-way valve including at least one main housing through parts of which a medium can flow, and an actuator which is accommodated in the main housing to be rotatable about a central axis. The main housing has at least two connection points to admit and discharge the medium and forms an actuator receptacle which has a peg that is concentric to the central axis. The actuator includes a control element and a substantially cylindrical section which accommodates at least a portion of the peg and has at least one through-hole to fluidically connect at least two connection points. The peg has at least one abutment for the actuator such that a sealing surface is formed in the region of at least one of the connection points. Protrusions and recesses are arranged to correspond to each other and which jointly form a joint between the actuator and the actuator receptacle.