To arbitrarily unlock a card at an arbitrary position on a card transporting path by preventing the adverse influence of mismatching between the moving speed of a card placing base and the feeding speed of rollers.
The card transporting mechanism transports a card 1 by means of a card locking member 2 which moves in a card running direction while the rear end face 1a of the card 1 in the card running direction is brought into contact with the member 2. The member 2 is attached to a carriage 3 which can move in the card running direction in such manner that the member 2 can move between a position P1 at which the member can come into contact with the rear end face 1a of the card 1 and another position P2 at which the member 2 does not come into contact with the card 1. The card locking member 2 is moved between the positions P1 and P2 by means of a running and driving member 4 for running and moving the card 1. In addition, a inhibiting section 5 which inhibits the movement of the member 2 to the position P2 at the position P1 is provided.