Disclosed is a mammography device capable of recognizing a target person, the mammography device including: a body unit; an arm frame connected to the body unit, and rotating in a clockwise or counterclockwise direction; an X-ray generator placed at a top of the arm frame, and emitting X-rays; a mammography plate provided at a position corresponding to the X-ray generator, and obtaining an X-ray image of a breast of a target person; a compression unit placed between the X-ray generator and the mammography plate, and moving vertically to compress a target part; a sensor unit placed inside the mammography plate, and detecting whether the target person is present; and a control unit controlling an operation of the arm frame on the basis of whether the target person is detected by the sensor unit. Accordingly, a safety accident that may occur in a mammography process using the mammography device is reduced.