a memory card connector is offered which has a locking function and which permits both a memory card having a locking recess in its side surface and a memory card having no locking recess in its side surface to be inserted and withdrawn . the connector comprises a connector body having a tapering guide groove , a slider provided with a slide groove perpendicular to the direction of sliding motion , a locking pawl engaged in the tapering guide groove of the connector body via a guide pin , and a first coil spring mounted to the slider . this slider is slidably mounted to the connector body via a second coil spring to form an alternate mechanism . the locking pawl is slidably fitted in the slide groove of the slider and can engage the locking recess formed in one side surface of the memory card . the first coil spring biases the locking pawl inward at all times .