<p>An optical plug the coming off of which, caused by an erroneous operation, is prevented and in which an error operation preventing mechanism is provided. In an optical plug (20A) having an erroneous operation preventing mechanism (30A) which is operated to prevent the erroneous operation of a release lever (24) for releasing the engagement of a plug body (21) and an electronic device, an erroneous operation preventing member (31A) which can be moved to an erroneous operation preventing position for preventing the erroneous operation of the release lever (24) and the height (H2) of the region of the movement of which is set to be lower than the height (H1) of the release lever (24) relative to the plug body (21) is provided in the erroneous operation preventing mechanism (30A).</p>