A medical equipment includes an optical connector that detachably connects a plug to a receptacle provided in an equipment main body to optically connect a plug-side optical fiber fixed to the plug and a receptacle-side optical fiber fixed to the receptacle. The plug and the receptacle have plural engagement pairs each having a protrusion that protrudes in an insertion direction of the plug and an engagement part that is adapted to be engaged with the protrusion. Engagement beginning positions of the engagement pairs where the protrusions and the engagement parts begin to engage are different along the insertion direction. Each engagement pair has a narrower engagement gap between the protrusion and the engagement part than that between the protrusion and the engagement part of any pair which begin to engage earlier as the plug is inserted than the protrusion and the engagement part of each engagement pair.