An endoscope system includes a valve configured to keep an internal space of an endoscope airtight, an air pump configured to open and close the valve by applying a negative pressure and a positive pressure, a pressure sensor configured to detect a pressure at a time of the negative pressure and the positive pressure being applied, and a control section configured to receive a detection signal from the pressure sensor, and perform drive control of the air pump.