Disclosed herein is a mammography device for X-ray photographing an object to be inspected. The mammography device includes: a device body movable in a vertical axis direction and rotatable around a first horizontal axis so as to photograph an object to be inspected by a craniocaudal view and a mediolateral oblique view; a generator fixed to one end portion of the device body and irradiating an X-ray; a support part for the object to be inspected including a detector fixed to the other end portion of the device body and facing the generator; a first moving unit moving the device body in the vertical axis direction; a rotating unit rotating the device body around the first horizontal axis; and a controller controlling the first moving unit and the rotating unit, wherein the controller performs a control so that the rotating unit rotates the device body and the first moving unit moves the device body together with the rotation of the device body in order to position a center of an upper surface of the support part for the object to be inspected on the same horizontal surface.