An image scanning unit optically scans an image of a predetermined scanning area that includes a platen glass on which a document is put. A document cover is capable of rotation and covers the platen glass. A first movable member moves in a direction substantially perpendicular to the platen glass in accordance with opening and closing of the document cover. A second movable member moves in a direction substantially parallel to the platen glass in accordance with movement of the first movable member when the first movable member contacts. A cover status detecting unit obtains the image from the image scanning unit and detects a status of the document cover on the basis of an image of the second movable member in the scanning area.