An optical fiber connector socket is disclosed, which includes an insulated shell and a fastener. The insulated shell has a plug slot. A first opening and a second opening individually are formed on two opposite sides walls of the plug slot. A flexible hook is disposed corresponding to the second opening in the plug slot. The flexible hook is separated from an inner wall of the insulated shell. The fastener can slide along an axis of the plug slot between a lock position and a release position. The fastener extends to form a blocking piece between the flexible hook and the insulated shell. When the fastener is at the lock position, two sides of the blocking piece individually press against an inner edge of the second opening and the flexible hook. When the fastener is at the release position, the blocking pieces corresponds to the first opening.