An optical connector comprising: an optical fiber (F, F') including a glass fiber and a resin coating surrounding the glass fiber; a ferrule having a flange outside the ferrule and a through-hole inside the ferrule , the ferrule holding, in the through-hole, a portion of the glass fiber exposed from the resin coating at an end of the optical fiber (F, F'); a plug frame accommodating the ferrule ; and an elastic member abutting the flange and biasing the ferrule forward in a direction of an axis of the through-hole, wherein the flange has a flat surface on an outer periphery thereof, and the plug frame has a guide surface configured to unrotatably align the ferrule biased by the elastic member at a predetermined position in contact with the flat surface of the flange , and when the ferrule is moved rearward in the direction of the axis of the through-hole relative to the predetermined position, the flat surface is separated from the guide surface to bring the ferrule into a floating state relative to the plug frame ; wherein the flat surface is a face parallel to the axis of the through-hole, the guide surface is a face in an inner peripheral surface of the plug frame and parallel to a biasing direction of the elastic member, and wherein the plug frame has a tapered surface in the inner peripheral surface of the plug frame at a position opposite the guide surface such that an inner space becomes gradually narrower forward in the direction of the axis of the through-hole; characterised in that the flange is held between the tapered surface and the guide surface when the flat surface is in contact with the guide surface at the predetermined position. an optical fiber (F, F') including a glass fiber and a resin coating surrounding the glass fiber; a ferrule having a flange outside the ferrule and a through-hole inside the ferrule , the ferrule holding, in the through-hole, a portion of the glass fiber exposed from the resin coating at an end of the optical fiber (F, F'); a plug frame accommodating the ferrule ; and an elastic member abutting the flange and biasing the ferrule forward in a direction of an axis of the through-hole, wherein the flange has a flat surface on an outer periphery thereof, and the plug frame has a guide surface configured to unrotatably align the ferrule biased by the elastic member at a predetermined position in contact with the flat surface of the flange , and when the ferrule is moved rearward in the direction of the axis of the through-hole relative to the predetermined position, the flat surface is separated from the guide surface to bring the ferrule into a floating state relative to the plug frame ; wherein the flat surface is a face parallel to the axis of the through-hole, the guide surface is a face in an inner peripheral surface of the plug frame and parallel to a biasing direction of the elastic member, and wherein the plug frame has a tapered surface in the inner peripheral surface of the plug frame at a position opposite the guide surface such that an inner space becomes gradually narrower forward in the direction of the axis of the through-hole; characterised in that the flange is held between the tapered surface and the guide surface when the flat surface is in contact with the guide surface at the predetermined position. <EOS>