A card reader that transports a card having a magnetic strip with a drive means to read and write information on the card that includes prehead for detecting the insertion of the card by searching the presence of the magnetic information recorded on the magnetic strip, and a card detecting switch for detecting the card. When the card detecting switch determines that a card is present, the prehead searches the magnetic information. When the card detecting switch does not detect a card, the card is distinguished as a specially-shaped card.