A connector includes a housing defining a male connector insertion section into which a male connector is inserted from the outside and an elastic valve body having a slit and blocking the male connector insertion section. The elastic valve body includes a top face having the slit and a bottom face located opposite to the top face. The housing includes a holding section having contact with the top face and the bottom face of the elastic valve body to hold the elastic valve body. The holding section surrounds the slit when the valve body is viewed from the top face. The diameter of a bottom face side holding section having contact with the bottom face is smaller than the diameter of a top face side holding section having contact with the top face.