A valve unit of a medical endoscope, which valve unit serves as an insufflation valve and a purging valve with a common valve slide which is arranged by way of a distal control section in a receiving bore of a valve housing such that it can be displaced, an air inlet channel which is connected to a compressed air source and a purging liquid inflow channel which is connected to a liquid supply opening into the receiving bore, and an air outlet channel and a purging liquid outlet channel emanating from said receiving bore, which channels lead to a distal end of the endoscope, the valve slide being provided with a proximal actuating section which projects axially beyond a retaining ring which encloses the valve slide, which actuating section is connected at its end to an actuating button, the actuating button being supported firstly on the retaining ring via a compression spring, and secondly an annular projection of the valve slide interacting as a stop which acts in the axial direction with the retaining ring, sealing rings being provided on the distal control section of the valve slide, which sealing rings project radially beyond the valve slide and are guided in a sliding manner on an inner circumferential face of the receiving bore, in order to seal control spaces of the valve unit with respect to one another, characterized in that at least one outer circumferential face is of smooth-walled configuration in the region of the distal control section, apart from radially projecting guide sections which are possibly provided on said outer circumferential face, and wherein the sealing rings are connected in an integrally joined manner to the smooth-walled outer circumferential face.