An image reader has an image sensor; a carriage; a positioning portion formed at a predetermined position in a longitudinal direction of the image sensor with respect to a reference position of the image sensor; a connector portion to which an electric cable is connected and which is provided between an end of the carriage and one end in the longitudinal direction of a case of the image sensor; and an engaging portion formed in the carriage. In the image recording apparatus, since the positioning portion is engaged with the engaging portion, it is possible to use a common carriage for a plurality of types of image sensors, and an operation of connecting the electric cable becomes simple.