An optical connector comprising a male connector that supports one end of
an optical transmission medium, and a female connector composed to be
engageable with the male connector. The female connector includes a
photoelectric conversion module having a function that mutually converts
an electrical signal and an optical signal, and a first housing that
accommodates the photoelectric conversion module and has an opening that
communicates with the photoelectric conversion module accommodated, and
the male connector has at least one portion that is inserted in the
housing of the female connector through the opening, a plug having a
function to optically connect the optical transmission medium and the
photoelectric conversion module and provided at one end of the optical
transmission medium, and a second housing that has an enclosure section
provided around the plug while maintaining a space from the plug, and
accommodates the plug.